Dela via


GalleryImageVersionInner Class

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 GalleryImageVersionInner class.

Method Summary

Modifier and Type Method and Description
static GalleryImageVersionInner fromJson(JsonReader jsonReader)

Reads an instance of GalleryImageVersionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

GalleryProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

GalleryImageVersionPublishingProfile publishingProfile()

Get the publishingProfile property: The publishing profile of a gallery image Version.

ReplicationStatus replicationStatus()

Get the replicationStatus property: This is the replication status of the gallery image version.

GalleryImageVersionSafetyProfile safetyProfile()

Get the safetyProfile property: This is the safety profile of the Gallery Image Version.

ImageVersionSecurityProfile securityProfile()

Get the securityProfile property: The security profile of a gallery image version.

GalleryImageVersionStorageProfile storageProfile()

Get the storageProfile property: This is the storage profile of a Gallery Image Version.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

GalleryImageVersionInner withLocation(String location)
GalleryImageVersionInner withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)

Set the publishingProfile property: The publishing profile of a gallery image Version.

GalleryImageVersionInner withSafetyProfile(GalleryImageVersionSafetyProfile safetyProfile)

Set the safetyProfile property: This is the safety profile of the Gallery Image Version.

GalleryImageVersionInner withSecurityProfile(ImageVersionSecurityProfile securityProfile)

Set the securityProfile property: The security profile of a gallery image version.

GalleryImageVersionInner withStorageProfile(GalleryImageVersionStorageProfile storageProfile)

Set the storageProfile property: This is the storage profile of a Gallery Image Version.

GalleryImageVersionInner 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:

jsonReader - The JsonReader being read.

Returns:

An instance of GalleryImageVersionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

GalleryImageVersionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GalleryImageVersionInner.name()

Returns:

the name value.

provisioningState

public GalleryProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

publishingProfile

public GalleryImageVersionPublishingProfile publishingProfile()

Get the publishingProfile property: The publishing profile of a gallery image Version.

Returns:

the publishingProfile value.

replicationStatus

public ReplicationStatus replicationStatus()

Get the replicationStatus property: This is the replication status of the gallery image version.

Returns:

the replicationStatus value.

safetyProfile

public GalleryImageVersionSafetyProfile safetyProfile()

Get the safetyProfile property: This is the safety profile of the Gallery Image Version.

Returns:

the safetyProfile value.

securityProfile

public ImageVersionSecurityProfile securityProfile()

Get the securityProfile property: The security profile of a gallery image version.

Returns:

the securityProfile value.

storageProfile

public GalleryImageVersionStorageProfile storageProfile()

Get the storageProfile property: This is the storage profile of a Gallery Image Version.

Returns:

the storageProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GalleryImageVersionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GalleryImageVersionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public GalleryImageVersionInner withLocation(String location)

Overrides:

GalleryImageVersionInner.withLocation(String location)

Parameters:

location

withPublishingProfile

public GalleryImageVersionInner withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)

Set the publishingProfile property: The publishing profile of a gallery image Version.

Parameters:

publishingProfile - the publishingProfile value to set.

Returns:

the GalleryImageVersionInner object itself.

withSafetyProfile

public GalleryImageVersionInner withSafetyProfile(GalleryImageVersionSafetyProfile safetyProfile)

Set the safetyProfile property: This is the safety profile of the Gallery Image Version.

Parameters:

safetyProfile - the safetyProfile value to set.

Returns:

the GalleryImageVersionInner object itself.

withSecurityProfile

public GalleryImageVersionInner withSecurityProfile(ImageVersionSecurityProfile securityProfile)

Set the securityProfile property: The security profile of a gallery image version.

Parameters:

securityProfile - the securityProfile value to set.

Returns:

the GalleryImageVersionInner object itself.

withStorageProfile

public GalleryImageVersionInner withStorageProfile(GalleryImageVersionStorageProfile storageProfile)

Set the storageProfile property: This is the storage profile of a Gallery Image Version.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the GalleryImageVersionInner object itself.

withTags

public GalleryImageVersionInner withTags(Map tags)

Overrides:

GalleryImageVersionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to