Ejemplo n.º 1
0
        public AzureWebsitesUsageClient(AzureManagementRestClient client, CertificateCloudCredentials credentials)
        {
            var azureWebsiteApiClient = new AzureWebsiteApiClient(client);

            _azureWebsitesInfoClient    = new AzureWebsitesInfoApiClient(azureWebsiteApiClient);
            _azureWebsitesMetricsClient = new AzureWebsitesMetricsApiClient(azureWebsiteApiClient);
            _metricsApiClient           = new AzureMetricsApiClient(credentials);
        }
Ejemplo n.º 2
0
		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);
		}
Ejemplo n.º 4
0
 public AzureWebsiteUsage(AzureWebsiteId websiteId, AzureMetricsApiClient metricsApiClient, AzureWebsitesMetricsApiClient azureWebsitesMetricsClient)
 {
     _websiteId             = websiteId;
     _azureMetricsApiClient = metricsApiClient;
     _websitesMetricsClient = azureWebsitesMetricsClient;
 }