次の方法で共有


SecurityCenterExtensions.GetSecuritySetting メソッド

定義

Microsoft Defender for Cloud のさまざまな構成の設定

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • 操作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)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

settingName
SecuritySettingName

設定の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象