Share via


ComponentLinkedStorageAccountsOperationsExtensions.CreateAndUpdateAsync Method

Definition

Replace current linked storage account for an Application Insights component.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentLinkedStorageAccounts> CreateAndUpdateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IComponentLinkedStorageAccountsOperations operations, string resourceGroupName, string resourceName, string linkedStorageAccount = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAndUpdateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IComponentLinkedStorageAccountsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentLinkedStorageAccounts>
<Extension()>
Public Function CreateAndUpdateAsync (operations As IComponentLinkedStorageAccountsOperations, resourceGroupName As String, resourceName As String, Optional linkedStorageAccount As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComponentLinkedStorageAccounts)

Parameters

operations
IComponentLinkedStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

linkedStorageAccount
String

Linked storage account resource ID

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to