SharedGalleryImageVersionInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirResource - com.
azure. resourcemanager. compute. models. PirSharedGalleryResource - com.
azure. resourcemanager. compute. fluent. models. SharedGalleryImageVersionInner
- com.
- com.
- com.
public final class SharedGalleryImageVersionInner
extends PirSharedGalleryResource
Specifies information about the gallery image version that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
SharedGalleryImageVersionInner() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
artifactTags()
Get the artifact |
Offset |
endOfLifeDate()
Get the end |
Boolean |
excludeFromLatest()
Get the exclude |
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
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 |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Shared |
withArtifactTags(Map<String,String> artifactTags)
Set the artifact |
Shared |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
Shared |
withExcludeFromLatest(Boolean excludeFromLatest)
Set the exclude |
Shared |
withPublishedDate(OffsetDateTime publishedDate)
Set the published |
Shared |
withStorageProfile(SharedGalleryImageVersionStorageProfile storageProfile)
Set the storage |
Shared |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirSharedGalleryResource
Methods inherited from java.lang.Object
Constructor Details
SharedGalleryImageVersionInner
public SharedGalleryImageVersionInner()
Creates an instance of SharedGalleryImageVersionInner class.
Method Details
artifactTags
public Map
Get the artifactTags property: The artifact tags of a shared 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 SharedGalleryImageVersionInner fromJson(JsonReader jsonReader)
Reads an instance of SharedGalleryImageVersionInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Resource location.
Overrides:
SharedGalleryImageVersionInner.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
SharedGalleryImageVersionInner.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:
SharedGalleryImageVersionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this shared gallery.
Overrides:
SharedGalleryImageVersionInner.uniqueId()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SharedGalleryImageVersionInner.validate()withArtifactTags
public SharedGalleryImageVersionInner withArtifactTags(Map
Set the artifactTags property: The artifact tags of a shared gallery resource.
Parameters:
Returns:
withEndOfLifeDate
public SharedGalleryImageVersionInner 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 SharedGalleryImageVersionInner 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 SharedGalleryImageVersionInner 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 SharedGalleryImageVersionInner withStorageProfile(SharedGalleryImageVersionStorageProfile storageProfile)
Set the storageProfile property: Describes the storage profile of the image version.
Parameters:
Returns:
withUniqueId
public SharedGalleryImageVersionInner withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this shared gallery.
Overrides:
SharedGalleryImageVersionInner.withUniqueId(String uniqueId)Parameters:
Returns:
Applies to
Azure SDK for Java