コード例 #1
0
 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();
 }
 public DataLakeStoreFileSystemManagementHelper(TestBase testBase)
 {
     this.testBase                 = testBase;
     resourceManagementClient      = this.testBase.GetResourceManagementClient();
     dataLakeStoreManagementClient = this.testBase.GetDataLakeStoreManagementClient();
     dataLakeStoreFileSystemClient = this.testBase.GetDataLakeStoreFileSystemManagementClient();
 }
コード例 #4
0
 public DataLakeAnalyticsManagementHelper(TestBase testBase)
 {
     this.testBase                 = testBase;
     resourceManagementClient      = this.testBase.GetResourceManagementClient();
     storageManagementClient       = this.testBase.GetStorageManagementClient();
     dataLakeStoreManagementClient = this.testBase.GetDataLakeStoreManagementClient();
 }
コード例 #5
0
 protected DataLakeStoreTestsBase()
 {
     helper = new EnvironmentSetupHelper();
     dataLakeStoreManagementClient           = GetDataLakeStoreManagementClient();
     dataLakeStoreFileSystemManagementClient = GetDataLakeStoreFileSystemManagementClient();
     resourceManagementClient = GetResourceManagementClient();
     this.resourceGroupName   = TestUtilities.GenerateName("datalakerg1");
     this.dataLakeAccountName = TestUtilities.GenerateName("testdatalake1");
 }
コード例 #6
0
 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);
 }
 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);
 }
コード例 #8
0
 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");
 }
コード例 #9
0
        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";
        }
コード例 #10
0
        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";
        }
コード例 #11
0
 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");
 }