Class StorageAccount
java.lang.Object
com.azure.resourcemanager.mediaservices.models.StorageAccount
The storage account details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: The ID of the storage account resource.identity()
Get the identity property: The storage account identity.status()
Get the status property: The current status of the storage account mapping.type()
Get the type property: The type of the storage account.void
validate()
Validates the instance.Set the id property: The ID of the storage account resource.withIdentity
(ResourceIdentity identity) Set the identity property: The storage account identity.withType
(StorageAccountType type) Set the type property: The type of the storage account.
-
Constructor Details
-
StorageAccount
public StorageAccount()Creates an instance of StorageAccount class.
-
-
Method Details
-
id
Get the id property: The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.- Returns:
- the id value.
-
withId
Set the id property: The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.- Parameters:
id
- the id value to set.- Returns:
- the StorageAccount object itself.
-
type
Get the type property: The type of the storage account.- Returns:
- the type value.
-
withType
Set the type property: The type of the storage account.- Parameters:
type
- the type value to set.- Returns:
- the StorageAccount object itself.
-
identity
Get the identity property: The storage account identity.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The storage account identity.- Parameters:
identity
- the identity value to set.- Returns:
- the StorageAccount object itself.
-
status
Get the status property: The current status of the storage account mapping.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-