Partager via


SecurityCenterExtensions.GetSecuritySettingAsync Méthode

Définition

Paramètres des différentes configurations dans Microsoft Defender pour le cloud

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • IdSettings_Get d’opération
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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

settingName
SecuritySettingName

Nom du paramètre.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à