GalleryImageVersionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. GalleryImageVersionInner
- com.
- com.
- com.
public final class GalleryImageVersionInner
extends Resource
Specifies information about the gallery image version that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
GalleryImageVersionInner() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Gallery |
provisioningState()
Get the provisioning |
Gallery |
publishingProfile()
Get the publishing |
Replication |
replicationStatus()
Get the replication |
Gallery |
safetyProfile()
Get the safety |
Image |
securityProfile()
Get the security |
Gallery |
storageProfile()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gallery |
withLocation(String location) |
Gallery |
withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)
Set the publishing |
Gallery |
withSafetyProfile(GalleryImageVersionSafetyProfile safetyProfile)
Set the safety |
Gallery |
withSecurityProfile(ImageVersionSecurityProfile securityProfile)
Set the security |
Gallery |
withStorageProfile(GalleryImageVersionStorageProfile storageProfile)
Set the storage |
Gallery |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GalleryImageVersionInner
public GalleryImageVersionInner()
Creates an instance of GalleryImageVersionInner class.
Method Details
fromJson
public static GalleryImageVersionInner fromJson(JsonReader jsonReader)
Reads an instance of GalleryImageVersionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GalleryImageVersionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GalleryImageVersionInner.name()Returns:
provisioningState
public GalleryProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
publishingProfile
public GalleryImageVersionPublishingProfile publishingProfile()
Get the publishingProfile property: The publishing profile of a gallery image Version.
Returns:
replicationStatus
public ReplicationStatus replicationStatus()
Get the replicationStatus property: This is the replication status of the gallery image version.
Returns:
safetyProfile
public GalleryImageVersionSafetyProfile safetyProfile()
Get the safetyProfile property: This is the safety profile of the Gallery Image Version.
Returns:
securityProfile
public ImageVersionSecurityProfile securityProfile()
Get the securityProfile property: The security profile of a gallery image version.
Returns:
storageProfile
public GalleryImageVersionStorageProfile storageProfile()
Get the storageProfile property: This is the storage profile of a Gallery Image Version.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryImageVersionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GalleryImageVersionInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public GalleryImageVersionInner withLocation(String location)
Overrides:
GalleryImageVersionInner.withLocation(String location)Parameters:
withPublishingProfile
public GalleryImageVersionInner withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)
Set the publishingProfile property: The publishing profile of a gallery image Version.
Parameters:
Returns:
withSafetyProfile
public GalleryImageVersionInner withSafetyProfile(GalleryImageVersionSafetyProfile safetyProfile)
Set the safetyProfile property: This is the safety profile of the Gallery Image Version.
Parameters:
Returns:
withSecurityProfile
public GalleryImageVersionInner withSecurityProfile(ImageVersionSecurityProfile securityProfile)
Set the securityProfile property: The security profile of a gallery image version.
Parameters:
Returns:
withStorageProfile
public GalleryImageVersionInner withStorageProfile(GalleryImageVersionStorageProfile storageProfile)
Set the storageProfile property: This is the storage profile of a Gallery Image Version.
Parameters:
Returns:
withTags
public GalleryImageVersionInner withTags(Map
Overrides:
GalleryImageVersionInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java