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

SecurityCenterExtensions.GetSecurityCloudConnector 方法

定义

特定云帐户连接器的详细信息

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

参数

subscriptionResource
SubscriptionResource

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

connectorName
String

云帐户连接器的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

connectorName 为 null。

适用于