Share via


DeviceSecurityGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Use this method get the list of device security groups for the specified IoT Hub resource.

  • Request Path: /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups
  • Operation Id: DeviceSecurityGroups_List
  • Default Api Version: 2019-08-01
  • Resource: DeviceSecurityGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeviceSecurityGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DeviceSecurityGroupResource that may take multiple service requests to iterate over.

Applies to