/// <summary> /// Return the requested a storage volume. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group. /// </param> /// <param name='location'> /// Location of the resource. /// </param> /// <param name='scaleUnit'> /// Name of the scale units. /// </param> /// <param name='storageSubSystem'> /// Name of the storage system. /// </param> /// <param name='volume'> /// Name of the storage volume. /// </param> public static Volume Get(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string volume) { return(operations.GetAsync(resourceGroupName, location, scaleUnit, storageSubSystem, volume).GetAwaiter().GetResult()); }
/// <summary> /// Describe a volume /// </summary> /// <remarks> /// Get the details of the specified volume /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='accountName'> /// The name of the NetApp account /// </param> /// <param name='poolName'> /// The name of the capacity pool /// </param> /// <param name='volumeName'> /// The name of the volume /// </param> public static Volume Get(this IVolumesOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName) { return(operations.GetAsync(resourceGroupName, accountName, poolName, volumeName).GetAwaiter().GetResult()); }
/// <summary> /// Returns the properties of the specified volume name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name /// </param> /// <param name='volumeContainerName'> /// The volume container name. /// </param> /// <param name='volumeName'> /// The volume name. /// </param> /// <param name='resourceGroupName'> /// The resource group name /// </param> /// <param name='managerName'> /// The manager name /// </param> public static Volume Get(this IVolumesOperations operations, string deviceName, string volumeContainerName, string volumeName, string resourceGroupName, string managerName) { return(operations.GetAsync(deviceName, volumeContainerName, volumeName, resourceGroupName, managerName).GetAwaiter().GetResult()); }