SecurityCenterExtensions.GetSecureScoreControlsAsync Methode

Definition

Abrufen aller Sicherheitskontrollen innerhalb eines Bereichs

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Security/secureScoreControls
  • Vorgangs-IdSecureScoreControls_List
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails> GetSecureScoreControlsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.SecurityCenter.Models.SecurityScoreODataExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSecureScoreControlsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityScoreODataExpand> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails>
<Extension()>
Public Function GetSecureScoreControlsAsync (subscriptionResource As SubscriptionResource, Optional expand As Nullable(Of SecurityScoreODataExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecureScoreControlDetails)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

expand
Nullable<SecurityScoreODataExpand>

OData erweitern. Optional.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von SecureScoreControlDetails , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: