CommunityGalleryImageVersionInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirCommunityGalleryResource - com.
azure. resourcemanager. compute. fluent. models. CommunityGalleryImageVersionInner
- com.
- com.
public final class CommunityGalleryImageVersionInner
extends PirCommunityGalleryResource
Specifies information about the gallery image version that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryImageVersionInner() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
artifactTags()
Get the artifact |
String |
disclaimer()
Get the disclaimer property: The disclaimer for a community gallery resource. |
Offset |
endOfLifeDate()
Get the end |
Boolean |
excludeFromLatest()
Get the exclude |
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Offset |
publishedDate()
Get the published |
Shared |
storageProfile()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Community |
withArtifactTags(Map<String,String> artifactTags)
Set the artifact |
Community |
withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource. |
Community |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
Community |
withExcludeFromLatest(Boolean excludeFromLatest)
Set the exclude |
Community |
withPublishedDate(OffsetDateTime publishedDate)
Set the published |
Community |
withStorageProfile(SharedGalleryImageVersionStorageProfile storageProfile)
Set the storage |
Community |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirCommunityGalleryResource
Methods inherited from java.lang.Object
Constructor Details
CommunityGalleryImageVersionInner
public CommunityGalleryImageVersionInner()
Creates an instance of CommunityGalleryImageVersionInner class.
Method Details
artifactTags
public Map
Get the artifactTags property: The artifact tags of a community gallery resource.
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 version Definition. This property can be used for decommissioning purposes. This property is updatable.
Returns:
excludeFromLatest
public Boolean excludeFromLatest()
Get the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
Returns:
fromJson
public static CommunityGalleryImageVersionInner fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryImageVersionInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Resource location.
Overrides:
CommunityGalleryImageVersionInner.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
CommunityGalleryImageVersionInner.name()Returns:
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
Returns:
storageProfile
public SharedGalleryImageVersionStorageProfile storageProfile()
Get the storageProfile property: Describes the storage profile of the image version.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CommunityGalleryImageVersionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
CommunityGalleryImageVersionInner.type()Returns:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryImageVersionInner.uniqueId()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CommunityGalleryImageVersionInner.validate()withArtifactTags
public CommunityGalleryImageVersionInner withArtifactTags(Map
Set the artifactTags property: The artifact tags of a community gallery resource.
Parameters:
Returns:
withDisclaimer
public CommunityGalleryImageVersionInner withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource.
Parameters:
Returns:
withEndOfLifeDate
public CommunityGalleryImageVersionInner withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withExcludeFromLatest
public CommunityGalleryImageVersionInner withExcludeFromLatest(Boolean excludeFromLatest)
Set the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
Parameters:
Returns:
withPublishedDate
public CommunityGalleryImageVersionInner withPublishedDate(OffsetDateTime publishedDate)
Set the publishedDate property: The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withStorageProfile
public CommunityGalleryImageVersionInner withStorageProfile(SharedGalleryImageVersionStorageProfile storageProfile)
Set the storageProfile property: Describes the storage profile of the image version.
Parameters:
Returns:
withUniqueId
public CommunityGalleryImageVersionInner withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryImageVersionInner.withUniqueId(String uniqueId)Parameters:
Returns:
Applies to
Azure SDK for Java