共用方式為


SecurityContactCollection.GetAll(CancellationToken) Method

Definition

List all security contact configurations for the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts
  • Operation Id: SecurityContacts_List
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityContactResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityContactResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityContactResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityContactResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityContactResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to