共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to