Compartilhar via


SecurityCenterExtensions.GetSecureScoreControlsAsync Método

Definição

Obter todos os controles de segurança dentro de um escopo

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/secureScoreControls
  • Operação 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)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

expand
Nullable<SecurityScoreODataExpand>

Expanda OData. Opcional.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SecureScoreControlDetails que pode levar várias solicitações de serviço para iterar.

Aplica-se a