Class Image
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBuilderedit()Map<String,Object>getAdditionalProperties()StringgetOffer()offer specifies the name of a group of related images created by the publisher.StringgetPublisher()publisher is the name of the organization that created the imageStringgetResourceID()resourceID specifies an image to use by IDStringgetSku()sku specifies an instance of an offer, such as a major release of a distribution.StringgetType()type identifies the source of the image and related information, such as purchase plans.StringgetVersion()version specifies the version of an image sku.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetOffer(String offer)offer specifies the name of a group of related images created by the publisher.voidsetPublisher(String publisher)publisher is the name of the organization that created the imagevoidsetResourceID(String resourceID)resourceID specifies an image to use by IDvoidsetSku(String sku)sku specifies an instance of an offer, such as a major release of a distribution.voidsetType(String type)type identifies the source of the image and related information, such as purchase plans.voidsetVersion(String version)version specifies the version of an image sku.ImageBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageBuilder>
-
toBuilder
public ImageBuilder toBuilder()
-
-