GalleryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. GalleryInner
- com.
- com.
- com.
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 Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of this Shared Image Gallery resource. |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Gallery |
identifier()
Get the identifier property: Describes the gallery unique name. |
String |
name()
Get the name property: The name of the resource. |
Gallery |
provisioningState()
Get the provisioning |
Sharing |
sharingProfile()
Get the sharing |
Sharing |
sharingStatus()
Get the sharing |
Soft |
softDeletePolicy()
Get the soft |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gallery |
withDescription(String description)
Set the description property: The description of this Shared Image Gallery resource. |
Gallery |
withIdentifier(GalleryIdentifier identifier)
Set the identifier property: Describes the gallery unique name. |
Gallery |
withLocation(String location) |
Gallery |
withSharingProfile(SharingProfile sharingProfile)
Set the sharing |
Gallery |
withSoftDeletePolicy(SoftDeletePolicy softDeletePolicy)
Set the soft |
Gallery |
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:
fromJson
public static GalleryInner fromJson(JsonReader jsonReader)
Reads an instance of GalleryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GalleryInner.id()Returns:
identifier
public GalleryIdentifier identifier()
Get the identifier property: Describes the gallery unique name.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GalleryInner.name()Returns:
provisioningState
public GalleryProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
sharingProfile
public SharingProfile sharingProfile()
Get the sharingProfile property: Profile for gallery sharing to subscription or tenant.
Returns:
sharingStatus
public SharingStatus sharingStatus()
Get the sharingStatus property: Sharing status of current gallery.
Returns:
softDeletePolicy
public SoftDeletePolicy softDeletePolicy()
Get the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GalleryInner.type()Returns:
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:
Returns:
withIdentifier
public GalleryInner withIdentifier(GalleryIdentifier identifier)
Set the identifier property: Describes the gallery unique name.
Parameters:
Returns:
withLocation
public GalleryInner withLocation(String location)
Overrides:
GalleryInner.withLocation(String location)Parameters:
withSharingProfile
public GalleryInner withSharingProfile(SharingProfile sharingProfile)
Set the sharingProfile property: Profile for gallery sharing to subscription or tenant.
Parameters:
Returns:
withSoftDeletePolicy
public GalleryInner withSoftDeletePolicy(SoftDeletePolicy softDeletePolicy)
Set the softDeletePolicy property: Contains information about the soft deletion policy of the gallery.
Parameters:
Returns:
withTags
public GalleryInner withTags(Map
Overrides:
GalleryInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java