コード例 #1
0
 /// <summary>
 /// Create a share in the given account.
 /// </summary>
 /// <remarks>
 /// Create a share
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='accountName'>
 /// The name of the share account.
 /// </param>
 /// <param name='shareName'>
 /// The name of the share.
 /// </param>
 /// <param name='share'>
 /// The share payload
 /// </param>
 public static Share Create(this ISharesOperations operations, string resourceGroupName, string accountName, string shareName, Share share)
 {
     return(operations.CreateAsync(resourceGroupName, accountName, shareName, share).GetAwaiter().GetResult());
 }