Compartilhar via


SecurityCenterExtensions.GetSecuritySetting 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}
  • Operação IdSettings_Get
public static Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySettingResource> GetSecuritySetting (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.SecurityCenter.Models.SecuritySettingName settingName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecuritySetting : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.SecurityCenter.Models.SecuritySettingName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>
<Extension()>
Public Function GetSecuritySetting (subscriptionResource As SubscriptionResource, settingName As SecuritySettingName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecuritySettingResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que 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