BatchAccountResource.SynchronizeAutoStorageKeysAsync Method

Definition

Synchronizes access keys for the auto-storage account configured for the specified Batch account, only if storage key authentication is being used.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys.
  • Operation Id. : BatchAccounts_SynchronizeAutoStorageKeys.
  • Default Api Version. : 2025-06-01.
  • Resource. : BatchAccountResource.
public virtual System.Threading.Tasks.Task<Azure.Response> SynchronizeAutoStorageKeysAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member SynchronizeAutoStorageKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SynchronizeAutoStorageKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SynchronizeAutoStorageKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to