/// <summary> /// Creates a new table with the specified table name, under the specified /// account. /// </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. The name is /// case insensitive. /// </param> /// <param name='accountName'> /// The name of the storage account within the specified resource group. /// Storage account names must be between 3 and 24 characters in length and use /// numbers and lower-case letters only. /// </param> /// <param name='tableName'> /// A table name must be unique within a storage account and must be between 3 /// and 63 characters.The name must comprise of only alphanumeric characters /// and it cannot begin with a numeric character. /// </param> public static Table Create(this ITableOperations operations, string resourceGroupName, string accountName, string tableName) { return(operations.CreateAsync(resourceGroupName, accountName, tableName).GetAwaiter().GetResult()); }
/// <summary> /// Creates a new table with the specified table name, under the specified /// account. /// </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. The name is /// case insensitive. /// </param> /// <param name='accountName'> /// The name of the storage account within the specified resource group. /// Storage account names must be between 3 and 24 characters in length and use /// numbers and lower-case letters only. /// </param> /// <param name='tableName'> /// A table name must be unique within a storage account and must be between 3 /// and 63 characters.The name must comprise of only alphanumeric characters /// and it cannot begin with a numeric character. /// </param> /// <param name='signedIdentifiers'> /// List of stored access policies specified on the table. /// </param> public static Table Create(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, IList <TableSignedIdentifier> signedIdentifiers = default(IList <TableSignedIdentifier>)) { return(operations.CreateAsync(resourceGroupName, accountName, tableName, signedIdentifiers).GetAwaiter().GetResult()); }