コード例 #1
0
 static AzureSession()
 {
     ClientFactory              = new AzurePowerShellClientFactory();
     AuthenticationFactory      = new AuthenticationFactory();
     CurrentContext             = new AzureContext();
     CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
コード例 #2
0
 static AzureSession()
 {
     ClientFactory = new AzurePowerShellClientFactory();
     AuthenticationFactory = new AuthenticationFactory();
     CurrentContext = new AzureContext();
     CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
コード例 #3
0
 static AzureSession()
 {
     SubscriptionTokenCache     = new Dictionary <Tuple <Guid, string>, IAccessToken>();
     ClientFactory              = new AzurePowerShellClientFactory();
     AuthenticationFactory      = new AuthenticationFactory();
     CurrentContext             = new AzureContext();
     CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
コード例 #4
0
 static AzureSession()
 {
     SubscriptionTokenCache = new Dictionary<Tuple<Guid, string>, IAccessToken>();
     ClientFactory = new AzurePowerShellClientFactory();
     AuthenticationFactory = new AuthenticationFactory();
     CurrentContext = new AzureContext();
     CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }