Udostępnij za pośrednictwem


FileServiceResource.GetAsync(CancellationToken) Method

Definition

Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to