public NetworkManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { return NetworkManager.authenticate(buildRestClient(credentials), subscriptionId); } }
public NetworkManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { return NetworkManager.authenticate(buildRestClient(credentials), subscriptionId); } }
private ComputeManager(RestClient restClient, String subscriptionId) { super( restClient, subscriptionId, new ComputeManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); storageManager = StorageManager.authenticate(restClient, subscriptionId); networkManager = NetworkManager.authenticate(restClient, subscriptionId); rbacManager = GraphRbacManager.authenticate(restClient, ((AzureTokenCredentials) (restClient.credentials())).domain()); }
private ComputeManager(RestClient restClient, String subscriptionId) { super( restClient, subscriptionId, new ComputeManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); storageManager = StorageManager.authenticate(restClient, subscriptionId); networkManager = NetworkManager.authenticate(restClient, subscriptionId); rbacManager = GraphRbacManager.authenticate(restClient, ((AzureTokenCredentials) (restClient.credentials())).domain()); }
private Azure(RestClient restClient, String subscriptionId, String tenantId, Authenticated authenticated) { this.resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscriptionId); this.storageManager = StorageManager.authenticate(restClient, subscriptionId); this.computeManager = ComputeManager.authenticate(restClient, subscriptionId); this.networkManager = NetworkManager.authenticate(restClient, subscriptionId); this.keyVaultManager = KeyVaultManager.authenticate(restClient, tenantId, subscriptionId); this.batchManager = BatchManager.authenticate(restClient, subscriptionId); this.batchAIManager = BatchAIManager.authenticate(restClient, subscriptionId); this.trafficManager = TrafficManager.authenticate(restClient, subscriptionId); this.redisManager = RedisManager.authenticate(restClient, subscriptionId); this.cdnManager = CdnManager.authenticate(restClient, subscriptionId); this.dnsZoneManager = DnsZoneManager.authenticate(restClient, subscriptionId); this.appServiceManager = AppServiceManager.authenticate(restClient, tenantId, subscriptionId); this.sqlServerManager = SqlServerManager.authenticate(restClient, tenantId, subscriptionId); this.serviceBusManager = ServiceBusManager.authenticate(restClient, subscriptionId); this.containerInstanceManager = ContainerInstanceManager.authenticate(restClient, subscriptionId); this.containerRegistryManager = ContainerRegistryManager.authenticate(restClient, subscriptionId); this.containerServiceManager = ContainerServiceManager.authenticate(restClient, subscriptionId); this.cosmosDBManager = CosmosDBManager.authenticate(restClient, subscriptionId); this.searchServiceManager = SearchServiceManager.authenticate(restClient, subscriptionId); this.authorizationManager = AuthorizationManager.authenticate(restClient, subscriptionId); this.msiManager = MSIManager.authenticate(restClient, subscriptionId); this.monitorManager = MonitorManager.authenticate(restClient, subscriptionId); this.eventHubManager = EventHubManager.authenticate(restClient, subscriptionId); this.subscriptionId = subscriptionId; this.authenticated = authenticated; }
private Azure(RestClient restClient, String subscriptionId, String tenantId, Authenticated authenticated) { this.resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscriptionId); this.storageManager = StorageManager.authenticate(restClient, subscriptionId); this.computeManager = ComputeManager.authenticate(restClient, subscriptionId); this.networkManager = NetworkManager.authenticate(restClient, subscriptionId); this.keyVaultManager = KeyVaultManager.authenticate(restClient, tenantId, subscriptionId); this.batchManager = BatchManager.authenticate(restClient, subscriptionId); this.batchAIManager = BatchAIManager.authenticate(restClient, subscriptionId); this.trafficManager = TrafficManager.authenticate(restClient, subscriptionId); this.redisManager = RedisManager.authenticate(restClient, subscriptionId); this.cdnManager = CdnManager.authenticate(restClient, subscriptionId); this.dnsZoneManager = DnsZoneManager.authenticate(restClient, subscriptionId); this.appServiceManager = AppServiceManager.authenticate(restClient, tenantId, subscriptionId); this.sqlServerManager = SqlServerManager.authenticate(restClient, tenantId, subscriptionId); this.serviceBusManager = ServiceBusManager.authenticate(restClient, subscriptionId); this.containerInstanceManager = ContainerInstanceManager.authenticate(restClient, subscriptionId); this.containerRegistryManager = ContainerRegistryManager.authenticate(restClient, subscriptionId); this.containerServiceManager = ContainerServiceManager.authenticate(restClient, subscriptionId); this.cosmosDBManager = CosmosDBManager.authenticate(restClient, subscriptionId); this.searchServiceManager = SearchServiceManager.authenticate(restClient, subscriptionId); this.authorizationManager = AuthorizationManager.authenticate(restClient, subscriptionId); this.msiManager = MSIManager.authenticate(restClient, subscriptionId); this.monitorManager = MonitorManager.authenticate(restClient, subscriptionId); this.eventHubManager = EventHubManager.authenticate(restClient, subscriptionId); this.subscriptionId = subscriptionId; this.authenticated = authenticated; }