StorageExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.Storage.
public static class StorageExtensions
type StorageExtensions = class
Public Module StorageExtensions
- Inheritance
-
StorageExtensions
Methods
CheckStorageAccountNameAvailability(SubscriptionResource, StorageAccountNameAvailabilityContent, CancellationToken) |
Checks that the storage account name is valid and is not already in use.
|
CheckStorageAccountNameAvailabilityAsync(SubscriptionResource, StorageAccountNameAvailabilityContent, CancellationToken) |
Checks that the storage account name is valid and is not already in use.
|
GetBlobContainerResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BlobContainerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BlobContainerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBlobContainerResource(ResourceIdentifier) instead. |
GetBlobInventoryPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BlobInventoryPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, BlobInventoryPolicyName) to create a BlobInventoryPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBlobInventoryPolicyResource(ResourceIdentifier) instead. |
GetBlobServiceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BlobServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BlobServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBlobServiceResource(ResourceIdentifier) instead. |
GetDeletedAccount(SubscriptionResource, AzureLocation, String, CancellationToken) |
Get properties of specified deleted account resource.
|
GetDeletedAccountAsync(SubscriptionResource, AzureLocation, String, CancellationToken) |
Get properties of specified deleted account resource.
|
GetDeletedAccountResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DeletedAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a DeletedAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeletedAccountResource(ResourceIdentifier) instead. |
GetDeletedAccounts(SubscriptionResource, CancellationToken) |
Lists deleted accounts under the subscription.
|
GetDeletedAccounts(SubscriptionResource) |
Gets a collection of DeletedAccountResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedAccounts() instead. |
GetDeletedAccountsAsync(SubscriptionResource, CancellationToken) |
Lists deleted accounts under the subscription.
|
GetEncryptionScopeResource(ArmClient, ResourceIdentifier) |
Gets an object representing an EncryptionScopeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EncryptionScopeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEncryptionScopeResource(ResourceIdentifier) instead. |
GetFileServiceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FileServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a FileServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFileServiceResource(ResourceIdentifier) instead. |
GetFileShareResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FileShareResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FileShareResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFileShareResource(ResourceIdentifier) instead. |
GetImmutabilityPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing an ImmutabilityPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ImmutabilityPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetImmutabilityPolicyResource(ResourceIdentifier) instead. |
GetNetworkSecurityPerimeterConfigurationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a NetworkSecurityPerimeterConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a NetworkSecurityPerimeterConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNetworkSecurityPerimeterConfigurationResource(ResourceIdentifier) instead. |
GetObjectReplicationPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing an ObjectReplicationPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ObjectReplicationPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetObjectReplicationPolicyResource(ResourceIdentifier) instead. |
GetQueueServiceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a QueueServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a QueueServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetQueueServiceResource(ResourceIdentifier) instead. |
GetSkus(SubscriptionResource, CancellationToken) |
Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
GetSkusAsync(SubscriptionResource, CancellationToken) |
Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
GetStorageAccount(ResourceGroupResource, String, Nullable<StorageAccountExpand>, CancellationToken) |
Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
GetStorageAccountAsync(ResourceGroupResource, String, Nullable<StorageAccountExpand>, CancellationToken) |
Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
GetStorageAccountLocalUserResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageAccountLocalUserResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StorageAccountLocalUserResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageAccountLocalUserResource(ResourceIdentifier) instead. |
GetStorageAccountManagementPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageAccountManagementPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, ManagementPolicyName) to create a StorageAccountManagementPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageAccountManagementPolicyResource(ResourceIdentifier) instead. |
GetStorageAccountMigrationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageAccountMigrationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, StorageAccountMigrationName) to create a StorageAccountMigrationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageAccountMigrationResource(ResourceIdentifier) instead. |
GetStorageAccountResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a StorageAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageAccountResource(ResourceIdentifier) instead. |
GetStorageAccounts(ResourceGroupResource) |
Gets a collection of StorageAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStorageAccounts() instead. |
GetStorageAccounts(SubscriptionResource, CancellationToken) |
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
|
GetStorageAccountsAsync(SubscriptionResource, CancellationToken) |
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
|
GetStoragePrivateEndpointConnectionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StoragePrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StoragePrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStoragePrivateEndpointConnectionResource(ResourceIdentifier) instead. |
GetStorageQueueResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageQueueResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StorageQueueResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageQueueResource(ResourceIdentifier) instead. |
GetStorageTaskAssignmentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a StorageTaskAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StorageTaskAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageTaskAssignmentResource(ResourceIdentifier) instead. |
GetTableResource(ArmClient, ResourceIdentifier) |
Gets an object representing a TableResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a TableResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTableResource(ResourceIdentifier) instead. |
GetTableServiceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a TableServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a TableServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTableServiceResource(ResourceIdentifier) instead. |
GetUsagesByLocation(SubscriptionResource, AzureLocation, CancellationToken) |
Gets the current usage count and the limit for the resources of the location under the subscription.
|
GetUsagesByLocationAsync(SubscriptionResource, AzureLocation, CancellationToken) |
Gets the current usage count and the limit for the resources of the location under the subscription.
|
Applies to
Azure SDK for .NET