public AzureWebsitesUsageClient(AzureManagementRestClient client, CertificateCloudCredentials credentials)
        {
            var azureWebsiteApiClient = new AzureWebsiteApiClient(client);

            _azureWebsitesInfoClient    = new AzureWebsitesInfoApiClient(azureWebsiteApiClient);
            _azureWebsitesMetricsClient = new AzureWebsitesMetricsApiClient(azureWebsiteApiClient);
            _metricsApiClient           = new AzureMetricsApiClient(credentials);
        }
		public AzureWebsiteUsage(AzureWebsiteId websiteId,AzureMetricsApiClient metricsApiClient,AzureWebsitesMetricsApiClient azureWebsitesMetricsClient) {
			_websiteId = websiteId;
			_azureMetricsApiClient =metricsApiClient;
			_websitesMetricsClient = azureWebsitesMetricsClient;
		}
		public AzureWebsitesUsageClient(AzureManagementRestClient client, CertificateCloudCredentials credentials) {
			var azureWebsiteApiClient = new AzureWebsiteApiClient(client);
			_azureWebsitesInfoClient = new AzureWebsitesInfoApiClient(azureWebsiteApiClient);
			_azureWebsitesMetricsClient = new AzureWebsitesMetricsApiClient(azureWebsiteApiClient);
			_metricsApiClient =  new AzureMetricsApiClient(credentials);
		}
		public AzureCloudServiceMetricsApiClient(AzureMetricsApiClient azureMetricsApiClient) {
			
			_azureMetricsApiClient = azureMetricsApiClient;
		}
Beispiel #5
0
 public AzureWebsiteUsage(AzureWebsiteId websiteId, AzureMetricsApiClient metricsApiClient, AzureWebsitesMetricsApiClient azureWebsitesMetricsClient)
 {
     _websiteId             = websiteId;
     _azureMetricsApiClient = metricsApiClient;
     _websitesMetricsClient = azureWebsitesMetricsClient;
 }
 public AzureCloudServiceMetricsApiClient(AzureMetricsApiClient azureMetricsApiClient)
 {
     _azureMetricsApiClient = azureMetricsApiClient;
 }