static AzureSession() { ClientFactory = new AzurePowerShellClientFactory(); AuthenticationFactory = new AuthenticationFactory(); CurrentContext = new AzureContext(); CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; }
static AzureSession() { SubscriptionTokenCache = new Dictionary <Tuple <Guid, string>, IAccessToken>(); ClientFactory = new AzurePowerShellClientFactory(); AuthenticationFactory = new AuthenticationFactory(); CurrentContext = new AzureContext(); CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; }
static AzureSession() { SubscriptionTokenCache = new Dictionary<Tuple<Guid, string>, IAccessToken>(); ClientFactory = new AzurePowerShellClientFactory(); AuthenticationFactory = new AuthenticationFactory(); CurrentContext = new AzureContext(); CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; }