Partilhar via


SecurityCenterExtensions.GetSecuritySettingAsync Método

Definição

Configurações de configurações diferentes no Microsoft Defender para Nuvem

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • IdSettings_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>> GetSecuritySettingAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.SecurityCenter.Models.SecuritySettingName settingName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecuritySettingAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.SecurityCenter.Models.SecuritySettingName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>>
<Extension()>
Public Function GetSecuritySettingAsync (subscriptionResource As SubscriptionResource, settingName As SecuritySettingName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecuritySettingResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

settingName
SecuritySettingName

O nome da configuração.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a