AlertsClient 构造函数 (SubscriptionCloudCredentials, Uri, HttpClient)

 

初始化 AlertsClient 类的新实例。

命名空间:   Microsoft.WindowsAzure.Management.Monitoring.Alerts
程序集:  Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)

语法

public AlertsClient(
    SubscriptionCloudCredentials credentials,
    Uri baseUri,
    HttpClient httpClient
)
public:
AlertsClient(
    SubscriptionCloudCredentials^ credentials,
    Uri^ baseUri,
    HttpClient^ httpClient
)
new : 
        credentials:SubscriptionCloudCredentials *
        baseUri:Uri *
        httpClient:HttpClient -> AlertsClient
Public Sub New (
    credentials As SubscriptionCloudCredentials,
    baseUri As Uri,
    httpClient As HttpClient
)

参数

  • credentials
    Type: Microsoft.Azure.SubscriptionCloudCredentials

    必需。 获取唯一标识 Microsoft Azure 订阅的订阅凭据。 每个服务调用的 URI 的订阅 ID 格式部分。

  • baseUri
    Type: System.Uri

    可选。 获取用作所有云服务请求基础的 URI。

请参阅

AlertsClient 重载
AlertsClient 类
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间

返回页首