MockableHciResourceGroupResource.GetDevicePool 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 DevicePool
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/devicePools/{devicePoolName}.
- Operation Id. : DevicePools_Get.
- Default Api Version. : 2026-04-01-preview.
public virtual Azure.Response<Azure.ResourceManager.Hci.DevicePoolResource> GetDevicePool(string devicePoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevicePool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.DevicePoolResource>
override this.GetDevicePool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.DevicePoolResource>
Public Overridable Function GetDevicePool (devicePoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevicePoolResource)
Parameters
- devicePoolName
- String
The name of the DevicePool.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
devicePoolName is null.
devicePoolName is an empty string, and was expected to be non-empty.