コード例 #1
0
 /// <summary>
 /// Creates the specified Data Lake Store account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to create the Data Lake Store account.
 /// </param>
 public static DataLakeStoreAccount Create(this IAccountsOperations operations, string resourceGroupName, string accountName, CreateDataLakeStoreAccountParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Create Cognitive Services Account. Accounts is a resource group wide
 /// resource type. It holds the keys for developer to access intelligent APIs.
 /// It's also the resource type for billing.
 /// </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='accountName'>
 /// The name of Cognitive Services account.
 /// </param>
 /// <param name='account'>
 /// The parameters to provide for the created account.
 /// </param>
 public static Account Create(this IAccountsOperations operations, string resourceGroupName, string accountName, Account account)
 {
     return(operations.CreateAsync(resourceGroupName, accountName, account).GetAwaiter().GetResult());
 }
コード例 #3
0
 /// <summary>
 /// Create Cognitive Services Account. Accounts is a resource group wide
 /// resource type. It holds the keys for developer to access intelligent APIs.
 /// It's also the resource type for billing.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='accountName'>
 /// The name of Cognitive Services account.
 /// </param>
 /// <param name='parameters'>
 /// The parameters to provide for the created account.
 /// </param>
 public static CognitiveServicesAccount Create(this IAccountsOperations operations, string resourceGroupName, string accountName, CognitiveServicesAccountCreateParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult());
 }