Sdílet prostřednictvím


FileServiceResource.Get(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 Azure.Response<Azure.ResourceManager.Storage.FileServiceResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.FileServiceResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.FileServiceResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of FileServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to