LinkedStorageAccountsOperationsExtensions.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET