次の方法で共有


SecurityCenterExtensions.GetSecuritySettingAsync メソッド

定義

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

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

パラメーター

subscriptionResource
SubscriptionResource

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

settingName
SecuritySettingName

設定の名前。

cancellationToken
CancellationToken

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

戻り値

適用対象