Class Image

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Image
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Image is a mirror of azure sdk compute.ImageReference
    See Also:
    Serialized Form
    • Constructor Detail

      • Image

        public Image()
        No args constructor for use in serialization
    • Method Detail

      • getOffer

        public String getOffer()
        offer specifies the name of a group of related images created by the publisher. For example, UbuntuServer, WindowsServer
      • setOffer

        public void setOffer​(String offer)
        offer specifies the name of a group of related images created by the publisher. For example, UbuntuServer, WindowsServer
      • getPublisher

        public String getPublisher()
        publisher is the name of the organization that created the image
      • setPublisher

        public void setPublisher​(String publisher)
        publisher is the name of the organization that created the image
      • getResourceID

        public String getResourceID()
        resourceID specifies an image to use by ID
      • setResourceID

        public void setResourceID​(String resourceID)
        resourceID specifies an image to use by ID
      • getSku

        public String getSku()
        sku specifies an instance of an offer, such as a major release of a distribution. For example, 18.04-LTS, 2019-Datacenter
      • setSku

        public void setSku​(String sku)
        sku specifies an instance of an offer, such as a major release of a distribution. For example, 18.04-LTS, 2019-Datacenter
      • getType

        public String getType()
        type identifies the source of the image and related information, such as purchase plans. Valid values are "ID", "MarketplaceWithPlan", "MarketplaceNoPlan", and omitted, which means no opinion and the platform chooses a good default which may change over time. Currently that default is "MarketplaceNoPlan" if publisher data is supplied, or "ID" if not. For more information about purchase plans, see: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage#check-the-purchase-plan-information
      • setType

        public void setType​(String type)
        type identifies the source of the image and related information, such as purchase plans. Valid values are "ID", "MarketplaceWithPlan", "MarketplaceNoPlan", and omitted, which means no opinion and the platform chooses a good default which may change over time. Currently that default is "MarketplaceNoPlan" if publisher data is supplied, or "ID" if not. For more information about purchase plans, see: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage#check-the-purchase-plan-information
      • getVersion

        public String getVersion()
        version specifies the version of an image sku. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
      • setVersion

        public void setVersion​(String version)
        version specifies the version of an image sku. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
      • edit

        public ImageBuilder edit()
        Specified by:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)