Ejemplo n.º 1
0
 public AzureSubscriptionClassic(SubscriptionConfig subscripionConfig)
 {
     _subscriptionConfig = subscripionConfig;
     _authority          = subscripionConfig.Environment().AuthenticationEndpoint + subscripionConfig.TenantId ?? "common" + "/";
 }
Ejemplo n.º 2
0
 public ManagementClient CreateManagementClient()
 {
     return(new ManagementClient(
                GetCredentials(AzureResource.ServiceManagement),
                new Uri(_subscriptionConfig.Environment().ManagementEndpoint)));
 }
Ejemplo n.º 3
0
 public AzureSubscriptionARM(SubscriptionConfig config)
 {
     _subscriptionConfig = config;
     _authority          = config.Environment().AuthenticationEndpoint + config.TenantId ?? "common" + "/";
 }