示例#1
0
 /// <summary>
 /// Gets the volume resource with the given name.
 /// </summary>
 /// <remarks>
 /// Gets the information about the volume resource with the given name. The
 /// information include the description and other properties of the volume.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Azure resource group name
 /// </param>
 /// <param name='volumeResourceName'>
 /// The identity of the volume.
 /// </param>
 public static VolumeResourceDescription Get(this IVolumeOperations operations, string resourceGroupName, string volumeResourceName)
 {
     return(operations.GetAsync(resourceGroupName, volumeResourceName).GetAwaiter().GetResult());
 }