共用方式為


StorageCacheExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.StorageCache.

public static class StorageCacheExtensions
type StorageCacheExtensions = class
Public Module StorageCacheExtensions
Inheritance
StorageCacheExtensions

Methods

CheckAmlFSSubnets(SubscriptionResource, AmlFileSystemSubnetContent, CancellationToken)

Check that subnets will be valid for AML file system create calls.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets
  • Operation Id: CheckAmlFSSubnets
  • Default Api Version: 2024-03-01
CheckAmlFSSubnetsAsync(SubscriptionResource, AmlFileSystemSubnetContent, CancellationToken)

Check that subnets will be valid for AML file system create calls.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets
  • Operation Id: CheckAmlFSSubnets
  • Default Api Version: 2024-03-01
GetAmlFileSystem(ResourceGroupResource, String, CancellationToken)

Returns an AML file system.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}
  • Operation Id: amlFilesystems_Get
  • Default Api Version: 2024-03-01
  • Resource: AmlFileSystemResource
GetAmlFileSystemAsync(ResourceGroupResource, String, CancellationToken)

Returns an AML file system.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}
  • Operation Id: amlFilesystems_Get
  • Default Api Version: 2024-03-01
  • Resource: AmlFileSystemResource
GetAmlFileSystemResource(ArmClient, ResourceIdentifier)

Gets an object representing an AmlFileSystemResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AmlFileSystemResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAmlFileSystemResource(ResourceIdentifier) instead.

GetAmlFileSystems(ResourceGroupResource)

Gets a collection of AmlFileSystemResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAmlFileSystems() instead.

GetAmlFileSystems(SubscriptionResource, CancellationToken)

Returns all AML file systems the user has access to under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems
  • Operation Id: amlFilesystems_List
  • Default Api Version: 2024-03-01
  • Resource: AmlFileSystemResource
GetAmlFileSystemsAsync(SubscriptionResource, CancellationToken)

Returns all AML file systems the user has access to under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems
  • Operation Id: amlFilesystems_List
  • Default Api Version: 2024-03-01
  • Resource: AmlFileSystemResource
GetRequiredAmlFSSubnetsSize(SubscriptionResource, RequiredAmlFileSystemSubnetsSizeContent, CancellationToken)

Get the number of available IP addresses needed for the AML file system information provided.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize
  • Operation Id: GetRequiredAmlFSSubnetsSize
  • Default Api Version: 2024-03-01
GetRequiredAmlFSSubnetsSizeAsync(SubscriptionResource, RequiredAmlFileSystemSubnetsSizeContent, CancellationToken)

Get the number of available IP addresses needed for the AML file system information provided.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize
  • Operation Id: GetRequiredAmlFSSubnetsSize
  • Default Api Version: 2024-03-01
GetStorageCache(ResourceGroupResource, String, CancellationToken)

Returns a cache.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}
  • Operation Id: Caches_Get
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
GetStorageCacheAsync(ResourceGroupResource, String, CancellationToken)

Returns a cache.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}
  • Operation Id: Caches_Get
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
GetStorageCacheImportJobResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageCacheImportJobResource 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 StorageCacheImportJobResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageCacheImportJobResource(ResourceIdentifier) instead.

GetStorageCacheResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageCacheResource 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 StorageCacheResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageCacheResource(ResourceIdentifier) instead.

GetStorageCaches(ResourceGroupResource)

Gets a collection of StorageCacheResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStorageCaches() instead.

GetStorageCaches(SubscriptionResource, CancellationToken)

Returns all caches the user has access to under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches
  • Operation Id: Caches_List
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
GetStorageCachesAsync(SubscriptionResource, CancellationToken)

Returns all caches the user has access to under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches
  • Operation Id: Caches_List
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
GetStorageCacheSkus(SubscriptionResource, CancellationToken)

Get the list of StorageCache.Cache SKUs available to this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus
  • Operation Id: Skus_List
  • Default Api Version: 2024-03-01
GetStorageCacheSkusAsync(SubscriptionResource, CancellationToken)

Get the list of StorageCache.Cache SKUs available to this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus
  • Operation Id: Skus_List
  • Default Api Version: 2024-03-01
GetStorageCacheUsages(SubscriptionResource, AzureLocation, CancellationToken)

Gets the quantity used and quota limit for resources

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages
  • Operation Id: AscUsages_List
  • Default Api Version: 2024-03-01
GetStorageCacheUsagesAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets the quantity used and quota limit for resources

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages
  • Operation Id: AscUsages_List
  • Default Api Version: 2024-03-01
GetStorageTargetResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageTargetResource 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 StorageTargetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageTargetResource(ResourceIdentifier) instead.

GetUsageModels(SubscriptionResource, CancellationToken)

Get the list of cache usage models available to this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels
  • Operation Id: UsageModels_List
  • Default Api Version: 2024-03-01
GetUsageModelsAsync(SubscriptionResource, CancellationToken)

Get the list of cache usage models available to this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels
  • Operation Id: UsageModels_List
  • Default Api Version: 2024-03-01

Applies to