Share via


DeviceSecurityGroupCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeviceSecurityGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to