GalleryInner Class

public final class GalleryInner
extends Resource

Specifies information about the Shared Image Gallery that you want to create or update.

Constructor Summary

Constructor Description
GalleryInner()

Creates an instance of GalleryInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of this Shared Image Gallery resource.

GalleryIdentifier identifier()

Get the identifier property: Describes the gallery unique name.

GalleryProvisioningState provisioningState()

Get the provisioningState property: The current state of the gallery or gallery artifact.

SharingProfile sharingProfile()

Get the sharingProfile property: Profile for gallery sharing to subscription or tenant.

SharingStatus sharingStatus()

Get the sharingStatus property: Sharing status of current gallery.

SoftDeletePolicy softDeletePolicy()

Get the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.

void validate()

Validates the instance.

GalleryInner withDescription(String description)

Set the description property: The description of this Shared Image Gallery resource.

GalleryInner withIdentifier(GalleryIdentifier identifier)

Set the identifier property: Describes the gallery unique name.

GalleryInner withLocation(String location)
GalleryInner withSharingProfile(SharingProfile sharingProfile)

Set the sharingProfile property: Profile for gallery sharing to subscription or tenant.

GalleryInner withSoftDeletePolicy(SoftDeletePolicy softDeletePolicy)

Set the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.

GalleryInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

GalleryInner

public GalleryInner()

Creates an instance of GalleryInner class.

Method Details

description

public String description()

Get the description property: The description of this Shared Image Gallery resource. This property is updatable.

Returns:

the description value.

identifier

public GalleryIdentifier identifier()

Get the identifier property: Describes the gallery unique name.

Returns:

the identifier value.

provisioningState

public GalleryProvisioningState provisioningState()

Get the provisioningState property: The current state of the gallery or gallery artifact. The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

sharingProfile

public SharingProfile sharingProfile()

Get the sharingProfile property: Profile for gallery sharing to subscription or tenant.

Returns:

the sharingProfile value.

sharingStatus

public SharingStatus sharingStatus()

Get the sharingStatus property: Sharing status of current gallery.

Returns:

the sharingStatus value.

softDeletePolicy

public SoftDeletePolicy softDeletePolicy()

Get the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.

Returns:

the softDeletePolicy value.

validate

public void validate()

Validates the instance.

withDescription

public GalleryInner withDescription(String description)

Set the description property: The description of this Shared Image Gallery resource. This property is updatable.

Parameters:

description - the description value to set.

Returns:

the GalleryInner object itself.

withIdentifier

public GalleryInner withIdentifier(GalleryIdentifier identifier)

Set the identifier property: Describes the gallery unique name.

Parameters:

identifier - the identifier value to set.

Returns:

the GalleryInner object itself.

withLocation

public GalleryInner withLocation(String location)

Overrides:

GalleryInner.withLocation(String location)

Parameters:

location

withSharingProfile

public GalleryInner withSharingProfile(SharingProfile sharingProfile)

Set the sharingProfile property: Profile for gallery sharing to subscription or tenant.

Parameters:

sharingProfile - the sharingProfile value to set.

Returns:

the GalleryInner object itself.

withSoftDeletePolicy

public GalleryInner withSoftDeletePolicy(SoftDeletePolicy softDeletePolicy)

Set the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.

Parameters:

softDeletePolicy - the softDeletePolicy value to set.

Returns:

the GalleryInner object itself.

withTags

public GalleryInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to