Sdílet prostřednictvím


LinkedStorageAccountsOperationsExtensions.CreateOrUpdate Method

Definition

Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.

public static Microsoft.Azure.Management.OperationalInsights.Models.LinkedStorageAccountsResource CreateOrUpdate (this Microsoft.Azure.Management.OperationalInsights.ILinkedStorageAccountsOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType dataSourceType, System.Collections.Generic.IList<string> storageAccountIds = default);
static member CreateOrUpdate : Microsoft.Azure.Management.OperationalInsights.ILinkedStorageAccountsOperations * string * string * Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.OperationalInsights.Models.LinkedStorageAccountsResource
<Extension()>
Public Function CreateOrUpdate (operations As ILinkedStorageAccountsOperations, resourceGroupName As String, workspaceName As String, dataSourceType As DataSourceType, Optional storageAccountIds As IList(Of String) = Nothing) As LinkedStorageAccountsResource

Parameters

operations
ILinkedStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

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

workspaceName
String

The name of the workspace.

dataSourceType
DataSourceType

Linked storage accounts type. Possible values include: 'CustomLogs', 'AzureWatson', 'Query', 'Alerts'

storageAccountIds
IList<String>

Linked storage accounts resources ids.

Returns

Applies to