コード例 #1
0
 /// <summary>
 /// Create or Update a link relation between current workspace and a group of
 /// storage accounts of a specific data source type.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace.
 /// </param>
 /// <param name='dataSourceType'>
 /// Linked storage accounts type. Possible values include: 'CustomLogs',
 /// 'AzureWatson', 'Query', 'Alerts'
 /// </param>
 /// <param name='storageAccountIds'>
 /// Linked storage accounts resources ids.
 /// </param>
 public static LinkedStorageAccountsResource CreateOrUpdate(this ILinkedStorageAccountsOperations operations, string resourceGroupName, string workspaceName, DataSourceType dataSourceType, IList <string> storageAccountIds = default(IList <string>))
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, dataSourceType, storageAccountIds).GetAwaiter().GetResult());
 }