public IoTHubMonitor(ITableStorageClient tableStorageClient, IBlobStorageClient blobStorageClient, IAzureManagementClient azureManagementClient, IAppConfigurationClient appConfigurationClient, AppConfig config, IKustoTableManagementClient kustoTableManagementClient, IDeviceGroupsConfigClient deviceGroupsConfigClient)
 {
     this.tableStorageClient     = tableStorageClient;
     this.blobStorageClient      = blobStorageClient;
     this.azureManagementClient  = azureManagementClient;
     this.appConfigurationClient = appConfigurationClient;
     this.config = config;
     this.kustoTableManagementClient = kustoTableManagementClient;
     this.deviceGroupClient          = deviceGroupsConfigClient;
 }
Exemple #2
0
 public TenantContainer(
     IHttpContextAccessor httpContextAccessor,
     ILogger <TenantContainer> logger,
     IRunbookHelper runbookHelper,
     IStorageClient cosmosClient,
     ITableStorageClient tableStorageClient,
     IIdentityGatewayClient identityGatewayClient,
     IDeviceGroupsConfigClient deviceGroupConfigClient,
     IAppConfigurationClient appConfigHelper)
 {
     this.logger                = logger;
     this.runbookHelper         = runbookHelper;
     this.cosmosClient          = cosmosClient;
     this.tableStorageClient    = tableStorageClient;
     this.identityGatewayClient = identityGatewayClient;
     this.deviceGroupClient     = deviceGroupConfigClient;
     this.appConfigClient       = appConfigHelper;
 }
Exemple #3
0
 public StatusService(
     AppConfig config,
     ILogger <StatusService> logger,
     IIdentityGatewayClient identityGatewayClient,
     IDeviceGroupsConfigClient deviceGroupsConfigClient,
     IStorageClient cosmosClient,
     ITableStorageClient tableStorageClient,
     IRunbookHelper runbookHelper,
     IAppConfigurationClient appConfigClient)
     : base(config)
 {
     this.Dependencies = new Dictionary <string, IStatusOperation>
     {
         { "CosmosDb", cosmosClient },
         { "Tenant Runbooks", runbookHelper },
         { "Table Storage", tableStorageClient },
         { "Identity Gateway", identityGatewayClient },
         { "Config", deviceGroupsConfigClient },
         { "App Config", appConfigClient },
     };
 }
 public TenantContainer(
     ILogger <TenantContainer> logger,
     IRunbookHelper runbookHelper,
     IStorageClient cosmosClient,
     ITableStorageClient tableStorageClient,
     IIdentityGatewayClient identityGatewayClient,
     IDeviceGroupsConfigClient deviceGroupConfigClient,
     IAppConfigurationClient appConfigHelper,
     IBlobStorageClient blobStorageClient,
     AppConfig config,
     IAzureManagementClient azureManagementClient)
 {
     this.logger                = logger;
     this.runbookHelper         = runbookHelper;
     this.cosmosClient          = cosmosClient;
     this.tableStorageClient    = tableStorageClient;
     this.identityGatewayClient = identityGatewayClient;
     this.deviceGroupClient     = deviceGroupConfigClient;
     this.appConfigClient       = appConfigHelper;
     this.blobStorageClient     = blobStorageClient;
     this.config                = config;
     this.azureManagementClient = azureManagementClient;
 }