private AuthenticatedImpl(RestClient restClient, String tenantId) { this.resourceManagerAuthenticated = ResourceManager.authenticate(restClient); this.graphRbacManager = GraphRbacManager.authenticate(restClient, tenantId); this.restClient = restClient; this.tenantId = tenantId; }
private AuthenticatedImpl(RestClient restClient, String tenantId) { this.resourceManagerAuthenticated = ResourceManager.authenticate(restClient); this.graphRbacManager = GraphRbacManager.authenticate(restClient, tenantId); this.restClient = restClient; this.tenantId = tenantId; }
protected ManagerBase(RestClient restClient, String subscriptionId) { if (restClient != null) { this.resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscriptionId); } this.subscriptionId = subscriptionId; }
protected ManagerBase(RestClient restClient, String subscriptionId) { if (restClient != null) { this.resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscriptionId); } this.subscriptionId = subscriptionId; }
@Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { resourceManager = ResourceManager .authenticate(restClient); }
@Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { resourceManager = ResourceManager .authenticate(restClient); }
public ResourceManager.Authenticated authenticate(AzureTokenCredentials credentials) { return ResourceManager.authenticate(buildRestClient(credentials)); } }
public ResourceManager.Authenticated authenticate(AzureTokenCredentials credentials) { return ResourceManager.authenticate(buildRestClient(credentials)); } }
@Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { resourceClient = ResourceManager .authenticate(restClient) .withSubscription(defaultSubscription); }
@Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { resourceManager = ResourceManager .authenticate(restClient) .withSubscription(defaultSubscription); }
@Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { resourceManager = ResourceManager .authenticate(restClient) .withSubscription(defaultSubscription); }
.withResponseBuilderFactory(new AzureResponseBuilder.Factory()) .build(); ResourceManager resourceManager = ResourceManager.authenticate(restClient) .withSubscription(matcher.group(1)); pattern = Pattern.compile(".*'(.*)'");
.withResponseBuilderFactory(new AzureResponseBuilder.Factory()) .build(); ResourceManager resourceManager = ResourceManager.authenticate(restClient) .withSubscription(matcher.group(1)); pattern = Pattern.compile(".*'(.*)'");
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; }