PureStorageAvsVmVolumeCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a volume in an AVS VM
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}/avsVmVolumes/{volumeId}
- Operation Id: AvsVmVolume_Get
- Default Api Version: 2024-11-01
- Resource: PureStorageAvsVmVolumeResource
public virtual Azure.Response<Azure.ResourceManager.PureStorageBlock.PureStorageAvsVmVolumeResource> Get(string volumeId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PureStorageBlock.PureStorageAvsVmVolumeResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PureStorageBlock.PureStorageAvsVmVolumeResource>
Public Overridable Function Get (volumeId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PureStorageAvsVmVolumeResource)
Parameters
- volumeId
- String
ID of the volume in the AVS VM.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
volumeId is an empty string, and was expected to be non-empty.
volumeId is null.