Partager via


SecurityCenterExtensions.GetSecuritySetting 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 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)

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 à