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

SecurityCenterExtensions.GetSubscriptionSecurityApplication 方法

定义

按 applicationId 获取请求范围的特定应用程序

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
  • 操作IdApplication_Get
public static Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource> GetSubscriptionSecurityApplication (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string applicationId, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionSecurityApplication : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>
<Extension()>
Public Function GetSubscriptionSecurityApplication (subscriptionResource As SubscriptionResource, applicationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubscriptionSecurityApplicationResource)

参数

subscriptionResource
SubscriptionResource

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

applicationId
String

安全应用程序密钥 - 标准应用程序的唯一密钥。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

applicationId 为 null。

适用于