共用方式為


WebSiteSlotResource.UpdateAzureStorageAccountsSlotAsync Method

Definition

Description for Updates the Azure storage account configurations of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts
  • Operation Id: WebApps_UpdateAzureStorageAccountsSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary>> UpdateAzureStorageAccountsSlotAsync (Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary azureStorageAccounts, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAzureStorageAccountsSlotAsync : Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary>>
override this.UpdateAzureStorageAccountsSlotAsync : Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionary>>
Public Overridable Function UpdateAzureStorageAccountsSlotAsync (azureStorageAccounts As AzureStoragePropertyDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AzureStoragePropertyDictionary))

Parameters

azureStorageAccounts
AzureStoragePropertyDictionary

Azure storage accounts of the app.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

azureStorageAccounts is null.

Applies to