public AzureCloudServicesClient(AzureManagementRestClient client, CertificateCloudCredentials credentials) {
			_azureCloudServiceInfoClient = new AzureCloudServiceInfoApiClient(client);
			_azureMetricsApiClient = new AzureCloudServiceMetricsApiClient(new AzureMetricsApiClient(credentials));
		}
Exemplo n.º 2
0
 public AzureCloudServicesClient(AzureManagementRestClient client, CertificateCloudCredentials credentials)
 {
     _azureCloudServiceInfoClient = new AzureCloudServiceInfoApiClient(client);
     _azureMetricsApiClient       = new AzureCloudServiceMetricsApiClient(new AzureMetricsApiClient(credentials));
 }
Exemplo n.º 3
0
 public CloudServiceUsage(CloudServiceInstanceId instanceId, AzureCloudServiceMetricsApiClient azureMetricsApiClient, MetricsFilter filter)
 {
     _azureMetricsApiClient = azureMetricsApiClient;
     _instanceId            = instanceId;
     _filter = filter;
 }
Exemplo n.º 4
0
 public CloudServiceUsage(CloudServiceInstanceId instanceId, AzureCloudServiceMetricsApiClient azureMetricsApiClient)  : this(instanceId, azureMetricsApiClient, MetricsFilter.None)
 {
 }
Exemplo n.º 5
0
		public CloudServiceUsage(CloudServiceInstanceId instanceId,AzureCloudServiceMetricsApiClient azureMetricsApiClient, MetricsFilter filter) {
			_azureMetricsApiClient = azureMetricsApiClient;
			_instanceId = instanceId;
            _filter = filter;
		}
Exemplo n.º 6
0
 public CloudServiceUsage(CloudServiceInstanceId instanceId,AzureCloudServiceMetricsApiClient azureMetricsApiClient)  : this(instanceId,azureMetricsApiClient,MetricsFilter.None) {
 }