MockableHciVmSubscriptionResource.GetHciVmStorageContainers 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.
Lists all of the storage containers in the specified subscription. Use the nextLink property in the response to get the next page of storage containers.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storageContainers
- Operation Id: StorageContainer_ListAll
- Default Api Version: 2025-06-01-preview
- Resource: HciVmStorageContainerResource
public virtual Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmStorageContainerResource> GetHciVmStorageContainers(System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmStorageContainers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmStorageContainerResource>
override this.GetHciVmStorageContainers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmStorageContainerResource>
Public Overridable Function GetHciVmStorageContainers (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HciVmStorageContainerResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of HciVmStorageContainerResource that may take multiple service requests to iterate over.