C# Class Microsoft.WindowsAzure.Management.Extensions.CmdletSubscriptionExtensions

Show file Open project: OctopusDeploy/azure-sdk-tools

Public Properties

Property Type Description
SessionManager ISessionManager

Public Methods

Method Description
ClearCurrentSubscription ( this cmdlet ) : void
GetCurrentSubscription ( this cmdlet ) : SubscriptionData
GetSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : SubscriptionData
GetSubscriptions ( this cmdlet, string subscriptionDataFile ) : SubscriptionData>.IDictionary
SetCurrentSubscription ( this cmdlet, SubscriptionData subscription ) : void
SetCurrentSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : void
SetDefaultSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : void
UpdateSubscriptions ( this cmdlet, SubscriptionData>.IDictionary subscriptionsData, string subscriptionDataFile ) : void

Method Details

ClearCurrentSubscription() public static method

public static ClearCurrentSubscription ( this cmdlet ) : void
cmdlet this
return void

GetCurrentSubscription() public static method

public static GetCurrentSubscription ( this cmdlet ) : SubscriptionData
cmdlet this
return SubscriptionData

GetSubscription() public static method

public static GetSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : SubscriptionData
cmdlet this
subscriptionName string
subscriptionDataFile string
return SubscriptionData

GetSubscriptions() public static method

public static GetSubscriptions ( this cmdlet, string subscriptionDataFile ) : SubscriptionData>.IDictionary
cmdlet this
subscriptionDataFile string
return SubscriptionData>.IDictionary

SetCurrentSubscription() public static method

public static SetCurrentSubscription ( this cmdlet, SubscriptionData subscription ) : void
cmdlet this
subscription SubscriptionData
return void

SetCurrentSubscription() public static method

public static SetCurrentSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : void
cmdlet this
subscriptionName string
subscriptionDataFile string
return void

SetDefaultSubscription() public static method

public static SetDefaultSubscription ( this cmdlet, string subscriptionName, string subscriptionDataFile ) : void
cmdlet this
subscriptionName string
subscriptionDataFile string
return void

UpdateSubscriptions() public static method

public static UpdateSubscriptions ( this cmdlet, SubscriptionData>.IDictionary subscriptionsData, string subscriptionDataFile ) : void
cmdlet this
subscriptionsData SubscriptionData>.IDictionary
subscriptionDataFile string
return void

Property Details

SessionManager public static property

public static ISessionManager SessionManager
return ISessionManager