共用方式為


ComponentLinkedStorageAccountResource.UpdateAsync Method

Definition

Update linked storage accounts for an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}
  • Operation Id: ComponentLinkedStorageAccounts_Update
  • Default Api Version: 2020-03-01-preview
  • Resource: ComponentLinkedStorageAccountResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ComponentLinkedStorageAccountResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.Models.ComponentLinkedStorageAccountPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ComponentLinkedStorageAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ComponentLinkedStorageAccountResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ComponentLinkedStorageAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ComponentLinkedStorageAccountResource>>
Public Overridable Function UpdateAsync (patch As ComponentLinkedStorageAccountPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ComponentLinkedStorageAccountResource))

Parameters

patch
ComponentLinkedStorageAccountPatch

Properties that need to be specified to update a linked storage accounts for an Application Insights component.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to