public void ICanPerform_GetProperties_HDInsightGetCommand() { IHDInsightCertificateCredential creds = GetValidCredentials(); IGetAzureHDInsightPropertiesCommand client = ServiceLocator.Instance.Locate <IAzureHDInsightCommandFactory>().CreateGetProperties(); client.CurrentSubscription = GetCurrentSubscription(); client.EndProcessing(); ValidateCapabilities(client.Output); }
/// <summary> /// Initializes a new instance of the GetAzureHDInsightPropertiesCmdlet class. /// </summary> public GetAzureHDInsightPropertiesCmdlet() { this.command = ServiceLocator.Instance.Locate <IAzureHDInsightCommandFactory>().CreateGetProperties(); }
/// <summary> /// Initializes a new instance of the GetAzureHDInsightPropertiesCmdlet class. /// </summary> public GetAzureHDInsightPropertiesCmdlet() { this.command = ServiceLocator.Instance.Locate<IAzureHDInsightCommandFactory>().CreateGetProperties(); }