Compartir a través de


SecurityCenterExtensions.GetSecuritySettingAsync Método

Definición

Configuración de diferentes configuraciones en Microsoft Defender for Cloud

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • IdSettings_Get de operaciones
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

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

settingName
SecuritySettingName

Nombre del parámetro de configuración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a