Freigeben über


SecurityCenterExtensions.GetSecuritySetting Methode

Definition

Einstellungen verschiedener Konfigurationen in Microsoft Defender für Cloud

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Vorgangs-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)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

settingName
SecuritySettingName

Der Name der Einstellung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: