public DataLakeAnalyticsManagementHelper(TestBase testBase) { this.testBase = testBase; resourceManagementClient = this.testBase.GetResourceManagementClient(); storageManagementClient = this.testBase.GetStorageManagementClient(); dataLakeStoreManagementClient = this.testBase.GetDataLakeStoreManagementClient(); }
public DataLakeStoreFileSystemManagementHelper(TestBase testBase) { this.testBase = testBase; resourceManagementClient = this.testBase.GetResourceManagementClient(); dataLakeStoreManagementClient = this.testBase.GetDataLakeStoreManagementClient(); dataLakeStoreFileSystemClient = this.testBase.GetDataLakeStoreFileSystemManagementClient(); }
protected DataLakeStoreTestsBase() { helper = new EnvironmentSetupHelper(); dataLakeStoreManagementClient = GetDataLakeStoreManagementClient(); dataLakeStoreFileSystemManagementClient = GetDataLakeStoreFileSystemManagementClient(); resourceManagementClient = GetResourceManagementClient(); this.resourceGroupName = TestUtilities.GenerateName("datalakerg1"); this.dataLakeAccountName = TestUtilities.GenerateName("testdatalake1"); }
public DataLakeAnalyticsCatalogManagementHelper(TestBase testBase) { this.testBase = testBase; resourceManagementClient = ClientManagementUtilities.GetResourceManagementClient(this.testBase); dataLakeStoreManagementClient = ClientManagementUtilities.GetDataLakeStoreManagementClient(this.testBase); dataLakeAnalyticsManagementClient = ClientManagementUtilities.GetDataLakeAnalyticsManagementClient(this.testBase); dataLakeAnalyticsJobManagementClient = ClientManagementUtilities.GetDataLakeAnalyticsJobManagementClient(this.testBase); }
protected DataLakeAnalyticsTestsBase() { helper = new EnvironmentSetupHelper(); dataLakeAnalyticsManagementClient = GetDataLakeAnalyticsManagementClient(); dataLakeAnalyticsJobManagementClient = GetDataLakeAnalyticsJobManagementClient(); dataLakeAnalyticsCatalogManagementClient = GetDataLakeAnalyticsCatalogManagementClient(); resourceManagementClient = GetResourceManagementClient(); dataLakeStoreManagementClient = GetDataLakeStoreManagementClient(); this.resourceGroupName = TestUtilities.GenerateName("abarg1"); this.dataLakeAnalyticsAccountName = TestUtilities.GenerateName("testaba1"); this.dataLakeAccountName = TestUtilities.GenerateName("datalake01"); }
public DataLakeStoreClient(AzureContext context) { if (context == null) { throw new ApplicationException(Resources.InvalidDefaultSubscription); } _subscriptionId = context.Subscription.Id; _client = AzureSession.ClientFactory.CreateClient<DataLakeStoreManagementClient>(context, AzureEnvironment.Endpoint.ResourceManager); _client.UserAgentSuffix = " - PowerShell Client"; }
public DataLakeStoreClient(AzureContext context) { if (context == null) { throw new ApplicationException(Resources.InvalidDefaultSubscription); } _subscriptionId = context.Subscription.Id; _client = AzureSession.ClientFactory.CreateClient <DataLakeStoreManagementClient>(context, AzureEnvironment.Endpoint.ResourceManager); _client.UserAgentSuffix = " - PowerShell Client"; }
protected AdlaTestsBase() { helper = new EnvironmentSetupHelper(); dataLakeAnalyticsManagementClient = GetDataLakeAnalyticsManagementClient(); dataLakeAnalyticsJobManagementClient = GetDataLakeAnalyticsJobManagementClient(); dataLakeAnalyticsCatalogManagementClient = GetDataLakeAnalyticsCatalogManagementClient(); resourceManagementClient = GetResourceManagementClient(); dataLakeStoreManagementClient = GetDataLakeStoreManagementClient(); storageManagementClient = GetStorageManagementClient(); this.resourceGroupName = TestUtilities.GenerateName("abarg1"); this.dataLakeAnalyticsAccountName = TestUtilities.GenerateName("testaba1"); this.dataLakeStoreAccountName = TestUtilities.GenerateName("datalake01"); this.secondDataLakeStoreAccountName = TestUtilities.GenerateName("datalake02"); this.azureBlobStoreName = TestUtilities.GenerateName("azureblob01"); this.dbName = TestUtilities.GenerateName("adladb01"); this.tableName = TestUtilities.GenerateName("adlatable01"); this.tvfName = TestUtilities.GenerateName("adlatvf01"); this.procName = TestUtilities.GenerateName("adlaproc01"); this.viewName = TestUtilities.GenerateName("adlaview01"); this.secretName = TestUtilities.GenerateName("adlasecret01"); this.secretPwd = TestUtilities.GenerateName("adlasecretpwd01"); this.credName = TestUtilities.GenerateName("adlacred01"); }