CommunityGalleryImageInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirCommunityGalleryResource - com.
azure. resourcemanager. compute. fluent. models. CommunityGalleryImageInner
- com.
- com.
public final class CommunityGalleryImageInner
extends PirCommunityGalleryResource
Specifies information about the gallery image definition that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryImageInner() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
Architecture |
architecture()
Get the architecture property: CPU architecture supported by an OS disk. |
Map<String,String> |
artifactTags()
Get the artifact |
Disallowed |
disallowed()
Get the disallowed property: Describes the disallowed disk types. |
String |
disclaimer()
Get the disclaimer property: The disclaimer for a community gallery resource. |
Offset |
endOfLifeDate()
Get the end |
String |
eula()
Get the eula property: The end-user license agreement for the current community gallery image. |
List<Gallery |
features()
Get the features property: A list of gallery image features. |
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
Hyper |
hyperVGeneration()
Get the hyper |
Community |
identifier()
Get the identifier property: This is the community gallery image definition identifier. |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Operating |
osState()
Get the os |
Operating |
osType()
Get the os |
String |
privacyStatementUri()
Get the privacy |
Image |
purchasePlan()
Get the purchase |
Recommended |
recommended()
Get the recommended property: The properties describe the recommended machine configuration for this Image Definition. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Community |
withArchitecture(Architecture architecture)
Set the architecture property: CPU architecture supported by an OS disk. |
Community |
withArtifactTags(Map<String,String> artifactTags)
Set the artifact |
Community |
withDisallowed(Disallowed disallowed)
Set the disallowed property: Describes the disallowed disk types. |
Community |
withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource. |
Community |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
Community |
withEula(String eula)
Set the eula property: The end-user license agreement for the current community gallery image. |
Community |
withFeatures(List<GalleryImageFeature> features)
Set the features property: A list of gallery image features. |
Community |
withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyper |
Community |
withIdentifier(CommunityGalleryImageIdentifier identifier)
Set the identifier property: This is the community gallery image definition identifier. |
Community |
withOsState(OperatingSystemStateTypes osState)
Set the os |
Community |
withOsType(OperatingSystemTypes osType)
Set the os |
Community |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacy |
Community |
withPurchasePlan(ImagePurchasePlan purchasePlan)
Set the purchase |
Community |
withRecommended(RecommendedMachineConfiguration recommended)
Set the recommended property: The properties describe the recommended machine configuration for this Image Definition. |
Community |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirCommunityGalleryResource
Methods inherited from java.lang.Object
Constructor Details
CommunityGalleryImageInner
public CommunityGalleryImageInner()
Creates an instance of CommunityGalleryImageInner class.
Method Details
architecture
public Architecture architecture()
Get the architecture property: CPU architecture supported by an OS disk.
Returns:
artifactTags
public Map
Get the artifactTags property: The artifact tags of a community gallery resource.
Returns:
disallowed
public Disallowed disallowed()
Get the disallowed property: Describes the disallowed disk types.
Returns:
disclaimer
public String disclaimer()
Get the disclaimer property: The disclaimer for a community gallery resource.
Returns:
endOfLifeDate
public OffsetDateTime endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
Returns:
eula
public String eula()
Get the eula property: The end-user license agreement for the current community gallery image.
Returns:
features
public List
Get the features property: A list of gallery image features.
Returns:
fromJson
public static CommunityGalleryImageInner fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryImageInner from the JsonReader.
Parameters:
Returns:
Throws:
hyperVGeneration
public HyperVGeneration hyperVGeneration()
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Returns:
identifier
public CommunityGalleryImageIdentifier identifier()
Get the identifier property: This is the community gallery image definition identifier.
Returns:
location
public String location()
Get the location property: Resource location.
Overrides:
CommunityGalleryImageInner.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
CommunityGalleryImageInner.name()Returns:
osState
public OperatingSystemStateTypes osState()
Get the osState property: This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
Returns:
osType
public OperatingSystemTypes osType()
Get the osType property: This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**.
Returns:
privacyStatementUri
public String privacyStatementUri()
Get the privacyStatementUri property: Privacy statement URI for the current community gallery image.
Returns:
purchasePlan
public ImagePurchasePlan purchasePlan()
Get the purchasePlan property: Describes the gallery image definition purchase plan. This is used by marketplace images.
Returns:
recommended
public RecommendedMachineConfiguration recommended()
Get the recommended property: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CommunityGalleryImageInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
CommunityGalleryImageInner.type()Returns:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryImageInner.uniqueId()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CommunityGalleryImageInner.validate()withArchitecture
public CommunityGalleryImageInner withArchitecture(Architecture architecture)
Set the architecture property: CPU architecture supported by an OS disk.
Parameters:
Returns:
withArtifactTags
public CommunityGalleryImageInner withArtifactTags(Map
Set the artifactTags property: The artifact tags of a community gallery resource.
Parameters:
Returns:
withDisallowed
public CommunityGalleryImageInner withDisallowed(Disallowed disallowed)
Set the disallowed property: Describes the disallowed disk types.
Parameters:
Returns:
withDisclaimer
public CommunityGalleryImageInner withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource.
Parameters:
Returns:
withEndOfLifeDate
public CommunityGalleryImageInner withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withEula
public CommunityGalleryImageInner withEula(String eula)
Set the eula property: The end-user license agreement for the current community gallery image.
Parameters:
Returns:
withFeatures
public CommunityGalleryImageInner withFeatures(List
Set the features property: A list of gallery image features.
Parameters:
Returns:
withHyperVGeneration
public CommunityGalleryImageInner withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Parameters:
Returns:
withIdentifier
public CommunityGalleryImageInner withIdentifier(CommunityGalleryImageIdentifier identifier)
Set the identifier property: This is the community gallery image definition identifier.
Parameters:
Returns:
withOsState
public CommunityGalleryImageInner withOsState(OperatingSystemStateTypes osState)
Set the osState property: This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
Parameters:
Returns:
withOsType
public CommunityGalleryImageInner withOsType(OperatingSystemTypes osType)
Set the osType property: This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**.
Parameters:
Returns:
withPrivacyStatementUri
public CommunityGalleryImageInner withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: Privacy statement URI for the current community gallery image.
Parameters:
Returns:
withPurchasePlan
public CommunityGalleryImageInner withPurchasePlan(ImagePurchasePlan purchasePlan)
Set the purchasePlan property: Describes the gallery image definition purchase plan. This is used by marketplace images.
Parameters:
Returns:
withRecommended
public CommunityGalleryImageInner withRecommended(RecommendedMachineConfiguration recommended)
Set the recommended property: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
Parameters:
Returns:
withUniqueId
public CommunityGalleryImageInner withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryImageInner.withUniqueId(String uniqueId)Parameters:
Returns: