GalleryTargetExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryTargetExtendedLocation
- com.
Implements
public final class GalleryTargetExtendedLocation
implements JsonSerializable<GalleryTargetExtendedLocation>
The GalleryTargetExtendedLocation model.
Constructor Summary
Constructor | Description |
---|---|
GalleryTargetExtendedLocation() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
Encryption |
encryption()
Get the encryption property: Optional. |
Gallery |
extendedLocation()
Get the extended |
Integer |
extendedLocationReplicaCount()
Get the extended |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
name()
Get the name property: The name of the region. |
Storage |
storageAccountType()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gallery |
withEncryption(EncryptionImages encryption)
Set the encryption property: Optional. |
Gallery |
withExtendedLocation(GalleryExtendedLocation extendedLocation)
Set the extended |
Gallery |
withExtendedLocationReplicaCount(Integer extendedLocationReplicaCount)
Set the extended |
Gallery |
withName(String name)
Set the name property: The name of the region. |
Gallery |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
GalleryTargetExtendedLocation
public GalleryTargetExtendedLocation()
Creates an instance of GalleryTargetExtendedLocation class.
Method Details
encryption
public EncryptionImages encryption()
Get the encryption property: Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
Returns:
extendedLocation
public GalleryExtendedLocation extendedLocation()
Get the extendedLocation property: The name of the extended location.
Returns:
extendedLocationReplicaCount
public Integer extendedLocationReplicaCount()
Get the extendedLocationReplicaCount property: The number of replicas of the Image Version to be created per extended location. This property is updatable.
Returns:
fromJson
public static GalleryTargetExtendedLocation fromJson(JsonReader jsonReader)
Reads an instance of GalleryTargetExtendedLocation from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the region.
Returns:
storageAccountType
public StorageAccountType storageAccountType()
Get the storageAccountType property: Specifies the storage account type to be used to store the image. This property is not updatable.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEncryption
public GalleryTargetExtendedLocation withEncryption(EncryptionImages encryption)
Set the encryption property: Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
Parameters:
Returns:
withExtendedLocation
public GalleryTargetExtendedLocation withExtendedLocation(GalleryExtendedLocation extendedLocation)
Set the extendedLocation property: The name of the extended location.
Parameters:
Returns:
withExtendedLocationReplicaCount
public GalleryTargetExtendedLocation withExtendedLocationReplicaCount(Integer extendedLocationReplicaCount)
Set the extendedLocationReplicaCount property: The number of replicas of the Image Version to be created per extended location. This property is updatable.
Parameters:
Returns:
withName
public GalleryTargetExtendedLocation withName(String name)
Set the name property: The name of the region.
Parameters:
Returns:
withStorageAccountType
public GalleryTargetExtendedLocation withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: Specifies the storage account type to be used to store the image. This property is not updatable.
Parameters:
Returns: