Compartir a través de


SecurityCenterExtensions.GetSecureScoreControlsAsync Método

Definición

Obtener todos los controles de seguridad dentro de un ámbito

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Security/secureScoreControls
  • IdSecureScoreControls_List de operaciones
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)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

expand
Nullable<SecurityScoreODataExpand>

OData expande. Opcional.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de que puede tomar varias solicitudes de SecureScoreControlDetails servicio para iterar.

Se aplica a