@@ -362,33 +362,33 @@ private IPage<DataLakeAnalyticsAccount> ListAccountsWithNextLink(string nextLink
362
362
public USqlSecret CreateSecret ( string accountName , string databaseName ,
363
363
string secretName , string password , string hostUri )
364
364
{
365
- return _catalogClient . Catalog . CreateSecret ( databaseName , secretName ,
365
+ return _catalogClient . Catalog . CreateSecret ( accountName , databaseName , secretName ,
366
366
new DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters
367
367
{
368
368
Password = password ,
369
369
Uri = hostUri
370
- } , accountName ) ;
370
+ } ) ;
371
371
}
372
372
373
373
public USqlSecret UpdateSecret ( string accountName , string databaseName ,
374
374
string secretName , string password , string hostUri )
375
375
{
376
- return _catalogClient . Catalog . UpdateSecret ( databaseName , secretName ,
376
+ return _catalogClient . Catalog . UpdateSecret ( accountName , databaseName , secretName ,
377
377
new DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters
378
378
{
379
379
Password = password ,
380
380
Uri = hostUri
381
- } , accountName ) ;
381
+ } ) ;
382
382
}
383
383
384
384
public void DeleteSecret ( string accountName , string databaseName , string secretName )
385
385
{
386
- _catalogClient . Catalog . DeleteSecret ( databaseName , secretName , accountName ) ;
386
+ _catalogClient . Catalog . DeleteSecret ( accountName , databaseName , secretName ) ;
387
387
}
388
388
389
389
public USqlSecret GetSecret ( string accountName , string databaseName , string secretName )
390
390
{
391
- return _catalogClient . Catalog . GetSecret ( databaseName , secretName , accountName ) ;
391
+ return _catalogClient . Catalog . GetSecret ( accountName , databaseName , secretName ) ;
392
392
}
393
393
394
394
public bool TestCatalogItem ( string accountName , CatalogPathInstance path ,
@@ -576,7 +576,7 @@ public IList<CatalogItem> GetCatalogItem(string accountName, CatalogPathInstance
576
576
577
577
private USqlDatabase GetDatabase ( string accountName , string databaseName )
578
578
{
579
- return _catalogClient . Catalog . GetDatabase ( databaseName , accountName ) ;
579
+ return _catalogClient . Catalog . GetDatabase ( accountName , databaseName ) ;
580
580
}
581
581
582
582
private IList < USqlDatabase > GetDatabases ( string accountName )
@@ -597,13 +597,13 @@ private USqlAssembly GetAssembly(string accountName, string databaseName,
597
597
string assemblyName )
598
598
{
599
599
return
600
- _catalogClient . Catalog . GetAssembly ( databaseName , assemblyName , accountName ) ;
600
+ _catalogClient . Catalog . GetAssembly ( accountName , databaseName , assemblyName ) ;
601
601
}
602
602
603
603
private IList < USqlAssemblyClr > GetAssemblies ( string accountName , string databaseName )
604
604
{
605
605
List < USqlAssemblyClr > toReturn = new List < USqlAssemblyClr > ( ) ;
606
- var response = _catalogClient . Catalog . ListAssemblies ( databaseName , accountName ) ;
606
+ var response = _catalogClient . Catalog . ListAssemblies ( accountName , databaseName ) ;
607
607
toReturn . AddRange ( response ) ;
608
608
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
609
609
{
@@ -618,15 +618,15 @@ private USqlExternalDataSource GetExternalDataSource(string accountName,
618
618
string databaseName , string dataSourceName )
619
619
{
620
620
return
621
- _catalogClient . Catalog . GetExternalDataSource ( databaseName ,
622
- dataSourceName , accountName ) ;
621
+ _catalogClient . Catalog . GetExternalDataSource ( accountName , databaseName ,
622
+ dataSourceName ) ;
623
623
}
624
624
625
625
private IList < USqlExternalDataSource > GetExternalDataSources ( string accountName ,
626
626
string databaseName )
627
627
{
628
628
List < USqlExternalDataSource > toReturn = new List < USqlExternalDataSource > ( ) ;
629
- var response = _catalogClient . Catalog . ListExternalDataSources ( databaseName , accountName ) ;
629
+ var response = _catalogClient . Catalog . ListExternalDataSources ( accountName , databaseName ) ;
630
630
toReturn . AddRange ( response ) ;
631
631
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
632
632
{
@@ -641,15 +641,15 @@ private USqlCredential GetCredential(string accountName,
641
641
string databaseName , string credName )
642
642
{
643
643
return
644
- _catalogClient . Catalog . GetCredential ( databaseName ,
645
- credName , accountName ) ;
644
+ _catalogClient . Catalog . GetCredential ( accountName , databaseName ,
645
+ credName ) ;
646
646
}
647
647
648
648
private IList < USqlCredential > GetCredentials ( string accountName ,
649
649
string databaseName )
650
650
{
651
651
List < USqlCredential > toReturn = new List < USqlCredential > ( ) ;
652
- var response = _catalogClient . Catalog . ListCredentials ( databaseName , accountName ) ;
652
+ var response = _catalogClient . Catalog . ListCredentials ( accountName , databaseName ) ;
653
653
toReturn . AddRange ( response ) ;
654
654
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
655
655
{
@@ -663,13 +663,13 @@ private IList<USqlCredential> GetCredentials(string accountName,
663
663
private USqlSchema GetSchema ( string accountName , string databaseName ,
664
664
string schemaName )
665
665
{
666
- return _catalogClient . Catalog . GetSchema ( databaseName , schemaName , accountName ) ;
666
+ return _catalogClient . Catalog . GetSchema ( accountName , databaseName , schemaName ) ;
667
667
}
668
668
669
669
private IList < USqlSchema > GetSchemas ( string accountName , string databaseName )
670
670
{
671
671
List < USqlSchema > toReturn = new List < USqlSchema > ( ) ;
672
- var response = _catalogClient . Catalog . ListSchemas ( databaseName , accountName ) ;
672
+ var response = _catalogClient . Catalog . ListSchemas ( accountName , databaseName ) ;
673
673
toReturn . AddRange ( response ) ;
674
674
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
675
675
{
@@ -684,14 +684,14 @@ private USqlTable GetTable(string accountName, string databaseName, string schem
684
684
string tableName )
685
685
{
686
686
return
687
- _catalogClient . Catalog . GetTable ( databaseName , schemaName , tableName , accountName ) ;
687
+ _catalogClient . Catalog . GetTable ( accountName , databaseName , schemaName , tableName ) ;
688
688
}
689
689
690
690
private IList < USqlTable > GetTables ( string accountName , string databaseName ,
691
691
string schemaName )
692
692
{
693
693
List < USqlTable > toReturn = new List < USqlTable > ( ) ;
694
- var response = _catalogClient . Catalog . ListTables ( databaseName , schemaName , accountName ) ;
694
+ var response = _catalogClient . Catalog . ListTables ( accountName , databaseName , schemaName ) ;
695
695
toReturn . AddRange ( response ) ;
696
696
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
697
697
{
@@ -706,15 +706,15 @@ private USqlTableValuedFunction GetTableValuedFunction(string accountName,
706
706
string databaseName , string schemaName , string tableValuedFunctionName )
707
707
{
708
708
return
709
- _catalogClient . Catalog . GetTableValuedFunction ( databaseName , schemaName ,
710
- tableValuedFunctionName , accountName ) ;
709
+ _catalogClient . Catalog . GetTableValuedFunction ( accountName , databaseName , schemaName ,
710
+ tableValuedFunctionName ) ;
711
711
}
712
712
713
713
private IList < USqlTableValuedFunction > GetTableValuedFunctions ( string accountName ,
714
714
string databaseName , string schemaName )
715
715
{
716
716
List < USqlTableValuedFunction > toReturn = new List < USqlTableValuedFunction > ( ) ;
717
- var response = _catalogClient . Catalog . ListTableValuedFunctions ( databaseName , schemaName , accountName ) ;
717
+ var response = _catalogClient . Catalog . ListTableValuedFunctions ( accountName , databaseName , schemaName ) ;
718
718
toReturn . AddRange ( response ) ;
719
719
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
720
720
{
@@ -729,15 +729,15 @@ private USqlTableStatistics GetTableStatistic(string accountName, string databas
729
729
string schemaName , string tableName , string statisticsName )
730
730
{
731
731
return
732
- _catalogClient . Catalog . GetTableStatistic ( databaseName , schemaName ,
733
- tableName , statisticsName , accountName ) ;
732
+ _catalogClient . Catalog . GetTableStatistic ( accountName , databaseName , schemaName ,
733
+ tableName , statisticsName ) ;
734
734
}
735
735
736
736
private IList < USqlTableStatistics > GetTableStatistics ( string accountName ,
737
737
string databaseName , string schemaName , string tableName )
738
738
{
739
739
List < USqlTableStatistics > toReturn = new List < USqlTableStatistics > ( ) ;
740
- var response = _catalogClient . Catalog . ListTableStatistics ( databaseName , schemaName , tableName , accountName ) ;
740
+ var response = _catalogClient . Catalog . ListTableStatistics ( accountName , databaseName , schemaName , tableName ) ;
741
741
toReturn . AddRange ( response ) ;
742
742
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
743
743
{
@@ -752,14 +752,14 @@ private USqlView GetView(string accountName, string databaseName, string schemaN
752
752
string viewName )
753
753
{
754
754
return
755
- _catalogClient . Catalog . GetView ( databaseName , schemaName , viewName , accountName ) ;
755
+ _catalogClient . Catalog . GetView ( accountName , databaseName , schemaName , viewName ) ;
756
756
}
757
757
758
758
private IList < USqlView > GetViews ( string accountName , string databaseName ,
759
759
string schemaName )
760
760
{
761
761
List < USqlView > toReturn = new List < USqlView > ( ) ;
762
- var response = _catalogClient . Catalog . ListViews ( databaseName , schemaName , accountName ) ;
762
+ var response = _catalogClient . Catalog . ListViews ( accountName , databaseName , schemaName ) ;
763
763
toReturn . AddRange ( response ) ;
764
764
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
765
765
{
@@ -774,14 +774,14 @@ private USqlProcedure GetProcedure(string accountName, string databaseName, stri
774
774
string procName )
775
775
{
776
776
return
777
- _catalogClient . Catalog . GetProcedure ( databaseName , schemaName , procName , accountName ) ;
777
+ _catalogClient . Catalog . GetProcedure ( accountName , databaseName , schemaName , procName ) ;
778
778
}
779
779
780
780
private IList < USqlProcedure > GetProcedures ( string accountName , string databaseName ,
781
781
string schemaName )
782
782
{
783
783
List < USqlProcedure > toReturn = new List < USqlProcedure > ( ) ;
784
- var response = _catalogClient . Catalog . ListProcedures ( databaseName , schemaName , accountName ) ;
784
+ var response = _catalogClient . Catalog . ListProcedures ( accountName , databaseName , schemaName ) ;
785
785
toReturn . AddRange ( response ) ;
786
786
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
787
787
{
@@ -796,7 +796,7 @@ private IList<USqlType> GetTypes(string accountName, string databaseName,
796
796
string schemaName )
797
797
{
798
798
List < USqlType > toReturn = new List < USqlType > ( ) ;
799
- var response = _catalogClient . Catalog . ListTypes ( databaseName , schemaName , accountName ) ;
799
+ var response = _catalogClient . Catalog . ListTypes ( accountName , databaseName , schemaName ) ;
800
800
toReturn . AddRange ( response ) ;
801
801
while ( ! string . IsNullOrEmpty ( response . NextPageLink ) )
802
802
{
@@ -813,35 +813,35 @@ private IList<USqlType> GetTypes(string accountName, string databaseName,
813
813
814
814
public JobInformation GetJob ( string accountName , Guid jobId )
815
815
{
816
- return _jobClient . Job . Get ( jobId , accountName ) ;
816
+ return _jobClient . Job . Get ( accountName , jobId ) ;
817
817
}
818
818
819
819
public JobInformation SubmitJob ( string accountName , JobInformation jobToSubmit )
820
820
{
821
821
return
822
- _jobClient . Job . Create ( jobToSubmit . JobId . GetValueOrDefault ( ) ,
823
- jobToSubmit , accountName ) ;
822
+ _jobClient . Job . Create ( accountName , jobToSubmit . JobId . GetValueOrDefault ( ) ,
823
+ jobToSubmit ) ;
824
824
}
825
825
826
826
public JobInformation BuildJob ( string accountName , JobInformation jobToBuild )
827
827
{
828
828
return
829
- _jobClient . Job . Build ( jobToBuild , accountName ) ;
829
+ _jobClient . Job . Build ( accountName , jobToBuild ) ;
830
830
}
831
831
832
832
public void CancelJob ( string accountName , Guid jobId )
833
833
{
834
- _jobClient . Job . Cancel ( jobId , accountName ) ;
834
+ _jobClient . Job . Cancel ( accountName , jobId ) ;
835
835
}
836
836
837
837
public JobDataPath GetDebugDataPaths ( string accountName , Guid jobId )
838
838
{
839
- return _jobClient . Job . GetDebugDataPath ( jobId , accountName ) ;
839
+ return _jobClient . Job . GetDebugDataPath ( accountName , jobId ) ;
840
840
}
841
841
842
842
public JobStatistics GetJobStatistics ( string accountName , Guid jobId )
843
843
{
844
- return _jobClient . Job . GetStatistics ( jobId , accountName ) ;
844
+ return _jobClient . Job . GetStatistics ( accountName , jobId ) ;
845
845
}
846
846
847
847
public List < JobInformation > ListJobs ( string accountName , string filter , int ? top ,
0 commit comments