Construtor MetricsClient (SubscriptionCloudCredentials, Uri, HttpClient)
Initializes a new instance of the MetricsClient class.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly: Microsoft.WindowsAzure.Management.Monitoring (em Microsoft.WindowsAzure.Management.Monitoring.dll)
Uso
'Uso
Dim credentials As SubscriptionCloudCredentials
Dim baseUri As Uri
Dim httpClient As HttpClient
Dim instance As New MetricsClient(credentials, baseUri, httpClient)
Sintaxe
'Declaração
Public Sub New ( _
credentials As SubscriptionCloudCredentials, _
baseUri As Uri, _
httpClient As HttpClient _
)
public MetricsClient (
SubscriptionCloudCredentials credentials,
Uri baseUri,
HttpClient httpClient
)
public:
MetricsClient (
SubscriptionCloudCredentials^ credentials,
Uri^ baseUri,
HttpClient^ httpClient
)
public MetricsClient (
SubscriptionCloudCredentials credentials,
Uri baseUri,
HttpClient httpClient
)
public function MetricsClient (
credentials : SubscriptionCloudCredentials,
baseUri : Uri,
httpClient : HttpClient
)
Parâmetros
- credentials
Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- baseUri
Optional. Gets the URI used as the base for all cloud service requests.
- httpClient
The Http client
Comentários
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe MetricsClient
Membros MetricsClient
Namespace Microsoft.WindowsAzure.Management.Monitoring.Metrics