共用方式為


BlobInventoryPolicyResource.GetAsync(CancellationToken) Method

Definition

Gets the blob inventory policy associated with the specified storage account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
  • Operation Id: BlobInventoryPolicies_Get
  • Default Api Version: 2023-05-01
  • Resource: BlobInventoryPolicyResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.BlobInventoryPolicyResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.BlobInventoryPolicyResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.BlobInventoryPolicyResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlobInventoryPolicyResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to