你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecurityCenterExtensions.GetIngestionSetting 方法

定义

用于引入与订阅关联的资源的安全数据和日志的设置。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}
  • 操作IdIngestionSettings_Get
public static Azure.Response<Azure.ResourceManager.SecurityCenter.IngestionSettingResource> GetIngestionSetting (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string ingestionSettingName, System.Threading.CancellationToken cancellationToken = default);
static member GetIngestionSetting : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.IngestionSettingResource>
<Extension()>
Public Function GetIngestionSetting (subscriptionResource As SubscriptionResource, ingestionSettingName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IngestionSettingResource)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

ingestionSettingName
String

引入设置的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

ingestionSettingName 是一个空字符串,预期为非空。

ingestionSettingName 为 null。

适用于