@azure/arm-servicefabric 2.0.0-beta.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +7 -10
  2. package/README.md +4 -0
  3. package/dist/index.js +222 -242
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/index.d.ts +0 -1
  8. package/dist-esm/src/index.d.ts.map +1 -1
  9. package/dist-esm/src/index.js +0 -1
  10. package/dist-esm/src/index.js.map +1 -1
  11. package/dist-esm/src/models/index.d.ts +134 -134
  12. package/dist-esm/src/models/index.d.ts.map +1 -1
  13. package/dist-esm/src/models/index.js +30 -30
  14. package/dist-esm/src/models/index.js.map +1 -1
  15. package/dist-esm/src/models/mappers.d.ts +8 -8
  16. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  17. package/dist-esm/src/models/mappers.js +189 -189
  18. package/dist-esm/src/models/mappers.js.map +1 -1
  19. package/dist-esm/src/operations/applicationTypeVersions.d.ts +2 -2
  20. package/dist-esm/src/operations/applicationTypeVersions.d.ts.map +1 -1
  21. package/dist-esm/src/operations/applicationTypeVersions.js.map +1 -1
  22. package/dist-esm/src/operations/applicationTypes.d.ts +2 -2
  23. package/dist-esm/src/operations/applicationTypes.d.ts.map +1 -1
  24. package/dist-esm/src/operations/applicationTypes.js.map +1 -1
  25. package/dist-esm/src/operations/applications.d.ts +2 -2
  26. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  27. package/dist-esm/src/operations/applications.js.map +1 -1
  28. package/dist-esm/src/operations/clusterVersions.d.ts +2 -2
  29. package/dist-esm/src/operations/clusterVersions.d.ts.map +1 -1
  30. package/dist-esm/src/operations/clusterVersions.js.map +1 -1
  31. package/dist-esm/src/operations/clusters.d.ts +2 -2
  32. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  33. package/dist-esm/src/operations/clusters.js.map +1 -1
  34. package/dist-esm/src/operations/operations.d.ts +2 -2
  35. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  36. package/dist-esm/src/operations/operations.js.map +1 -1
  37. package/dist-esm/src/operations/services.d.ts +2 -2
  38. package/dist-esm/src/operations/services.d.ts.map +1 -1
  39. package/dist-esm/src/operations/services.js.map +1 -1
  40. package/dist-esm/src/serviceFabricManagementClient.d.ts +5 -2
  41. package/dist-esm/src/serviceFabricManagementClient.d.ts.map +1 -1
  42. package/dist-esm/src/serviceFabricManagementClient.js +32 -3
  43. package/dist-esm/src/serviceFabricManagementClient.js.map +1 -1
  44. package/dist-esm/test/servicefabric.d.ts +3 -1
  45. package/dist-esm/test/servicefabric.d.ts.map +1 -1
  46. package/dist-esm/test/servicefabric.js +10 -4
  47. package/dist-esm/test/servicefabric.js.map +1 -1
  48. package/package.json +18 -7
  49. package/review/arm-servicefabric.api.md +5 -10
  50. package/src/index.ts +0 -1
  51. package/src/models/index.ts +143 -143
  52. package/src/models/mappers.ts +205 -205
  53. package/src/operations/applicationTypeVersions.ts +3 -3
  54. package/src/operations/applicationTypes.ts +3 -3
  55. package/src/operations/applications.ts +3 -3
  56. package/src/operations/clusterVersions.ts +3 -3
  57. package/src/operations/clusters.ts +3 -3
  58. package/src/operations/operations.ts +3 -3
  59. package/src/operations/services.ts +3 -3
  60. package/src/serviceFabricManagementClient.ts +46 -3
  61. package/types/arm-servicefabric.d.ts +4 -14
  62. package/types/tsdoc-metadata.json +1 -1
  63. package/dist-esm/src/serviceFabricManagementClientContext.d.ts +0 -16
  64. package/dist-esm/src/serviceFabricManagementClientContext.d.ts.map +0 -1
  65. package/dist-esm/src/serviceFabricManagementClientContext.js +0 -49
  66. package/dist-esm/src/serviceFabricManagementClientContext.js.map +0 -1
  67. package/src/serviceFabricManagementClientContext.ts +0 -70
@@ -8,109 +8,6 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- export const Resource: coreClient.CompositeMapper = {
12
- type: {
13
- name: "Composite",
14
- className: "Resource",
15
- modelProperties: {
16
- id: {
17
- serializedName: "id",
18
- readOnly: true,
19
- type: {
20
- name: "String"
21
- }
22
- },
23
- name: {
24
- serializedName: "name",
25
- readOnly: true,
26
- type: {
27
- name: "String"
28
- }
29
- },
30
- type: {
31
- serializedName: "type",
32
- readOnly: true,
33
- type: {
34
- name: "String"
35
- }
36
- },
37
- location: {
38
- serializedName: "location",
39
- required: true,
40
- type: {
41
- name: "String"
42
- }
43
- },
44
- tags: {
45
- serializedName: "tags",
46
- type: {
47
- name: "Dictionary",
48
- value: { type: { name: "String" } }
49
- }
50
- },
51
- etag: {
52
- serializedName: "etag",
53
- readOnly: true,
54
- type: {
55
- name: "String"
56
- }
57
- },
58
- systemData: {
59
- serializedName: "systemData",
60
- type: {
61
- name: "Composite",
62
- className: "SystemData"
63
- }
64
- }
65
- }
66
- }
67
- };
68
-
69
- export const SystemData: coreClient.CompositeMapper = {
70
- type: {
71
- name: "Composite",
72
- className: "SystemData",
73
- modelProperties: {
74
- createdBy: {
75
- serializedName: "createdBy",
76
- type: {
77
- name: "String"
78
- }
79
- },
80
- createdByType: {
81
- serializedName: "createdByType",
82
- type: {
83
- name: "String"
84
- }
85
- },
86
- createdAt: {
87
- serializedName: "createdAt",
88
- type: {
89
- name: "DateTime"
90
- }
91
- },
92
- lastModifiedBy: {
93
- serializedName: "lastModifiedBy",
94
- type: {
95
- name: "String"
96
- }
97
- },
98
- lastModifiedByType: {
99
- serializedName: "lastModifiedByType",
100
- type: {
101
- name: "String"
102
- }
103
- },
104
- lastModifiedAt: {
105
- serializedName: "lastModifiedAt",
106
- type: {
107
- name: "DateTime"
108
- }
109
- }
110
- }
111
- }
112
- };
113
-
114
11
  export const ClusterVersionDetails: coreClient.CompositeMapper = {
115
12
  type: {
116
13
  name: "Composite",
@@ -869,6 +766,109 @@ export const NotificationTarget: coreClient.CompositeMapper = {
869
766
  }
870
767
  };
871
768
 
769
+ export const Resource: coreClient.CompositeMapper = {
770
+ type: {
771
+ name: "Composite",
772
+ className: "Resource",
773
+ modelProperties: {
774
+ id: {
775
+ serializedName: "id",
776
+ readOnly: true,
777
+ type: {
778
+ name: "String"
779
+ }
780
+ },
781
+ name: {
782
+ serializedName: "name",
783
+ readOnly: true,
784
+ type: {
785
+ name: "String"
786
+ }
787
+ },
788
+ type: {
789
+ serializedName: "type",
790
+ readOnly: true,
791
+ type: {
792
+ name: "String"
793
+ }
794
+ },
795
+ location: {
796
+ serializedName: "location",
797
+ required: true,
798
+ type: {
799
+ name: "String"
800
+ }
801
+ },
802
+ tags: {
803
+ serializedName: "tags",
804
+ type: {
805
+ name: "Dictionary",
806
+ value: { type: { name: "String" } }
807
+ }
808
+ },
809
+ etag: {
810
+ serializedName: "etag",
811
+ readOnly: true,
812
+ type: {
813
+ name: "String"
814
+ }
815
+ },
816
+ systemData: {
817
+ serializedName: "systemData",
818
+ type: {
819
+ name: "Composite",
820
+ className: "SystemData"
821
+ }
822
+ }
823
+ }
824
+ }
825
+ };
826
+
827
+ export const SystemData: coreClient.CompositeMapper = {
828
+ type: {
829
+ name: "Composite",
830
+ className: "SystemData",
831
+ modelProperties: {
832
+ createdBy: {
833
+ serializedName: "createdBy",
834
+ type: {
835
+ name: "String"
836
+ }
837
+ },
838
+ createdByType: {
839
+ serializedName: "createdByType",
840
+ type: {
841
+ name: "String"
842
+ }
843
+ },
844
+ createdAt: {
845
+ serializedName: "createdAt",
846
+ type: {
847
+ name: "DateTime"
848
+ }
849
+ },
850
+ lastModifiedBy: {
851
+ serializedName: "lastModifiedBy",
852
+ type: {
853
+ name: "String"
854
+ }
855
+ },
856
+ lastModifiedByType: {
857
+ serializedName: "lastModifiedByType",
858
+ type: {
859
+ name: "String"
860
+ }
861
+ },
862
+ lastModifiedAt: {
863
+ serializedName: "lastModifiedAt",
864
+ type: {
865
+ name: "DateTime"
866
+ }
867
+ }
868
+ }
869
+ }
870
+ };
871
+
872
872
  export const ErrorModel: coreClient.CompositeMapper = {
873
873
  type: {
874
874
  name: "Composite",
@@ -1853,6 +1853,27 @@ export const ApplicationResourceList: coreClient.CompositeMapper = {
1853
1853
  }
1854
1854
  };
1855
1855
 
1856
+ export const PartitionSchemeDescription: coreClient.CompositeMapper = {
1857
+ type: {
1858
+ name: "Composite",
1859
+ className: "PartitionSchemeDescription",
1860
+ uberParent: "PartitionSchemeDescription",
1861
+ polymorphicDiscriminator: {
1862
+ serializedName: "partitionScheme",
1863
+ clientName: "partitionScheme"
1864
+ },
1865
+ modelProperties: {
1866
+ partitionScheme: {
1867
+ serializedName: "partitionScheme",
1868
+ required: true,
1869
+ type: {
1870
+ name: "String"
1871
+ }
1872
+ }
1873
+ }
1874
+ }
1875
+ };
1876
+
1856
1877
  export const ServiceResourcePropertiesBase: coreClient.CompositeMapper = {
1857
1878
  type: {
1858
1879
  name: "Composite",
@@ -1994,27 +2015,6 @@ export const ServicePlacementPolicyDescription: coreClient.CompositeMapper = {
1994
2015
  }
1995
2016
  };
1996
2017
 
1997
- export const PartitionSchemeDescription: coreClient.CompositeMapper = {
1998
- type: {
1999
- name: "Composite",
2000
- className: "PartitionSchemeDescription",
2001
- uberParent: "PartitionSchemeDescription",
2002
- polymorphicDiscriminator: {
2003
- serializedName: "partitionScheme",
2004
- clientName: "partitionScheme"
2005
- },
2006
- modelProperties: {
2007
- partitionScheme: {
2008
- serializedName: "partitionScheme",
2009
- required: true,
2010
- type: {
2011
- name: "String"
2012
- }
2013
- }
2014
- }
2015
- }
2016
- };
2017
-
2018
2018
  export const ServiceResourceList: coreClient.CompositeMapper = {
2019
2019
  type: {
2020
2020
  name: "Composite",
@@ -2709,84 +2709,6 @@ export const ApplicationResourceProperties: coreClient.CompositeMapper = {
2709
2709
  }
2710
2710
  };
2711
2711
 
2712
- export const ServiceResourceProperties: coreClient.CompositeMapper = {
2713
- serializedName: "ServiceResourceProperties",
2714
- type: {
2715
- name: "Composite",
2716
- className: "ServiceResourceProperties",
2717
- uberParent: "ServiceResourcePropertiesBase",
2718
- polymorphicDiscriminator: {
2719
- serializedName: "serviceKind",
2720
- clientName: "serviceKind"
2721
- },
2722
- modelProperties: {
2723
- ...ServiceResourcePropertiesBase.type.modelProperties,
2724
- provisioningState: {
2725
- serializedName: "provisioningState",
2726
- readOnly: true,
2727
- type: {
2728
- name: "String"
2729
- }
2730
- },
2731
- serviceKind: {
2732
- serializedName: "serviceKind",
2733
- required: true,
2734
- type: {
2735
- name: "String"
2736
- }
2737
- },
2738
- serviceTypeName: {
2739
- serializedName: "serviceTypeName",
2740
- type: {
2741
- name: "String"
2742
- }
2743
- },
2744
- partitionDescription: {
2745
- serializedName: "partitionDescription",
2746
- type: {
2747
- name: "Composite",
2748
- className: "PartitionSchemeDescription"
2749
- }
2750
- },
2751
- servicePackageActivationMode: {
2752
- serializedName: "servicePackageActivationMode",
2753
- type: {
2754
- name: "String"
2755
- }
2756
- },
2757
- serviceDnsName: {
2758
- serializedName: "serviceDnsName",
2759
- type: {
2760
- name: "String"
2761
- }
2762
- }
2763
- }
2764
- }
2765
- };
2766
-
2767
- export const ServiceResourceUpdateProperties: coreClient.CompositeMapper = {
2768
- serializedName: "ServiceResourceUpdateProperties",
2769
- type: {
2770
- name: "Composite",
2771
- className: "ServiceResourceUpdateProperties",
2772
- uberParent: "ServiceResourcePropertiesBase",
2773
- polymorphicDiscriminator: {
2774
- serializedName: "serviceKind",
2775
- clientName: "serviceKind"
2776
- },
2777
- modelProperties: {
2778
- ...ServiceResourcePropertiesBase.type.modelProperties,
2779
- serviceKind: {
2780
- serializedName: "serviceKind",
2781
- required: true,
2782
- type: {
2783
- name: "String"
2784
- }
2785
- }
2786
- }
2787
- }
2788
- };
2789
-
2790
2712
  export const NamedPartitionSchemeDescription: coreClient.CompositeMapper = {
2791
2713
  serializedName: "Named",
2792
2714
  type: {
@@ -2869,6 +2791,84 @@ export const UniformInt64RangePartitionSchemeDescription: coreClient.CompositeMa
2869
2791
  }
2870
2792
  };
2871
2793
 
2794
+ export const ServiceResourceProperties: coreClient.CompositeMapper = {
2795
+ serializedName: "ServiceResourceProperties",
2796
+ type: {
2797
+ name: "Composite",
2798
+ className: "ServiceResourceProperties",
2799
+ uberParent: "ServiceResourcePropertiesBase",
2800
+ polymorphicDiscriminator: {
2801
+ serializedName: "serviceKind",
2802
+ clientName: "serviceKind"
2803
+ },
2804
+ modelProperties: {
2805
+ ...ServiceResourcePropertiesBase.type.modelProperties,
2806
+ provisioningState: {
2807
+ serializedName: "provisioningState",
2808
+ readOnly: true,
2809
+ type: {
2810
+ name: "String"
2811
+ }
2812
+ },
2813
+ serviceKind: {
2814
+ serializedName: "serviceKind",
2815
+ required: true,
2816
+ type: {
2817
+ name: "String"
2818
+ }
2819
+ },
2820
+ serviceTypeName: {
2821
+ serializedName: "serviceTypeName",
2822
+ type: {
2823
+ name: "String"
2824
+ }
2825
+ },
2826
+ partitionDescription: {
2827
+ serializedName: "partitionDescription",
2828
+ type: {
2829
+ name: "Composite",
2830
+ className: "PartitionSchemeDescription"
2831
+ }
2832
+ },
2833
+ servicePackageActivationMode: {
2834
+ serializedName: "servicePackageActivationMode",
2835
+ type: {
2836
+ name: "String"
2837
+ }
2838
+ },
2839
+ serviceDnsName: {
2840
+ serializedName: "serviceDnsName",
2841
+ type: {
2842
+ name: "String"
2843
+ }
2844
+ }
2845
+ }
2846
+ }
2847
+ };
2848
+
2849
+ export const ServiceResourceUpdateProperties: coreClient.CompositeMapper = {
2850
+ serializedName: "ServiceResourceUpdateProperties",
2851
+ type: {
2852
+ name: "Composite",
2853
+ className: "ServiceResourceUpdateProperties",
2854
+ uberParent: "ServiceResourcePropertiesBase",
2855
+ polymorphicDiscriminator: {
2856
+ serializedName: "serviceKind",
2857
+ clientName: "serviceKind"
2858
+ },
2859
+ modelProperties: {
2860
+ ...ServiceResourcePropertiesBase.type.modelProperties,
2861
+ serviceKind: {
2862
+ serializedName: "serviceKind",
2863
+ required: true,
2864
+ type: {
2865
+ name: "String"
2866
+ }
2867
+ }
2868
+ }
2869
+ }
2870
+ };
2871
+
2872
2872
  export const StatefulServiceProperties: coreClient.CompositeMapper = {
2873
2873
  serializedName: "Stateful",
2874
2874
  type: {
@@ -3034,13 +3034,13 @@ export const StatelessServiceUpdateProperties: coreClient.CompositeMapper = {
3034
3034
  };
3035
3035
 
3036
3036
  export let discriminators = {
3037
- "ServicePlacementPolicyDescription.undefined": ServicePlacementPolicyDescription,
3038
3037
  PartitionSchemeDescription: PartitionSchemeDescription,
3039
- "ServiceResourcePropertiesBase.ServiceResourceProperties": ServiceResourceProperties,
3040
- "ServiceResourcePropertiesBase.ServiceResourceUpdateProperties": ServiceResourceUpdateProperties,
3038
+ "ServicePlacementPolicyDescription.undefined": ServicePlacementPolicyDescription,
3041
3039
  "PartitionSchemeDescription.Named": NamedPartitionSchemeDescription,
3042
3040
  "PartitionSchemeDescription.Singleton": SingletonPartitionSchemeDescription,
3043
3041
  "PartitionSchemeDescription.UniformInt64Range": UniformInt64RangePartitionSchemeDescription,
3042
+ "ServiceResourcePropertiesBase.ServiceResourceProperties": ServiceResourceProperties,
3043
+ "ServiceResourcePropertiesBase.ServiceResourceUpdateProperties": ServiceResourceUpdateProperties,
3044
3044
  "ServiceResourcePropertiesBase.Stateful": StatefulServiceUpdateProperties,
3045
3045
  "ServiceResourcePropertiesBase.Stateless": StatelessServiceUpdateProperties
3046
3046
  };
@@ -10,7 +10,7 @@ import { ApplicationTypeVersions } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
15
  import { LroImpl } from "../lroImpl";
16
16
  import {
@@ -26,13 +26,13 @@ import {
26
26
 
27
27
  /** Class containing ApplicationTypeVersions operations. */
28
28
  export class ApplicationTypeVersionsImpl implements ApplicationTypeVersions {
29
- private readonly client: ServiceFabricManagementClientContext;
29
+ private readonly client: ServiceFabricManagementClient;
30
30
 
31
31
  /**
32
32
  * Initialize a new instance of the class ApplicationTypeVersions class.
33
33
  * @param client Reference to the service client
34
34
  */
35
- constructor(client: ServiceFabricManagementClientContext) {
35
+ constructor(client: ServiceFabricManagementClient) {
36
36
  this.client = client;
37
37
  }
38
38
 
@@ -10,7 +10,7 @@ import { ApplicationTypes } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
15
  import { LroImpl } from "../lroImpl";
16
16
  import {
@@ -26,13 +26,13 @@ import {
26
26
 
27
27
  /** Class containing ApplicationTypes operations. */
28
28
  export class ApplicationTypesImpl implements ApplicationTypes {
29
- private readonly client: ServiceFabricManagementClientContext;
29
+ private readonly client: ServiceFabricManagementClient;
30
30
 
31
31
  /**
32
32
  * Initialize a new instance of the class ApplicationTypes class.
33
33
  * @param client Reference to the service client
34
34
  */
35
- constructor(client: ServiceFabricManagementClientContext) {
35
+ constructor(client: ServiceFabricManagementClient) {
36
36
  this.client = client;
37
37
  }
38
38
 
@@ -10,7 +10,7 @@ import { Applications } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
15
  import { LroImpl } from "../lroImpl";
16
16
  import {
@@ -29,13 +29,13 @@ import {
29
29
 
30
30
  /** Class containing Applications operations. */
31
31
  export class ApplicationsImpl implements Applications {
32
- private readonly client: ServiceFabricManagementClientContext;
32
+ private readonly client: ServiceFabricManagementClient;
33
33
 
34
34
  /**
35
35
  * Initialize a new instance of the class Applications class.
36
36
  * @param client Reference to the service client
37
37
  */
38
- constructor(client: ServiceFabricManagementClientContext) {
38
+ constructor(client: ServiceFabricManagementClient) {
39
39
  this.client = client;
40
40
  }
41
41
 
@@ -10,7 +10,7 @@ import { ClusterVersions } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import {
15
15
  ClusterVersionsGetOptionalParams,
16
16
  ClusterVersionsGetResponse,
@@ -25,13 +25,13 @@ import {
25
25
 
26
26
  /** Class containing ClusterVersions operations. */
27
27
  export class ClusterVersionsImpl implements ClusterVersions {
28
- private readonly client: ServiceFabricManagementClientContext;
28
+ private readonly client: ServiceFabricManagementClient;
29
29
 
30
30
  /**
31
31
  * Initialize a new instance of the class ClusterVersions class.
32
32
  * @param client Reference to the service client
33
33
  */
34
- constructor(client: ServiceFabricManagementClientContext) {
34
+ constructor(client: ServiceFabricManagementClient) {
35
35
  this.client = client;
36
36
  }
37
37
 
@@ -10,7 +10,7 @@ import { Clusters } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
15
  import { LroImpl } from "../lroImpl";
16
16
  import {
@@ -33,13 +33,13 @@ import {
33
33
 
34
34
  /** Class containing Clusters operations. */
35
35
  export class ClustersImpl implements Clusters {
36
- private readonly client: ServiceFabricManagementClientContext;
36
+ private readonly client: ServiceFabricManagementClient;
37
37
 
38
38
  /**
39
39
  * Initialize a new instance of the class Clusters class.
40
40
  * @param client Reference to the service client
41
41
  */
42
- constructor(client: ServiceFabricManagementClientContext) {
42
+ constructor(client: ServiceFabricManagementClient) {
43
43
  this.client = client;
44
44
  }
45
45
 
@@ -11,7 +11,7 @@ import { Operations } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
14
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
15
15
  import {
16
16
  OperationResult,
17
17
  OperationsListNextOptionalParams,
@@ -23,13 +23,13 @@ import {
23
23
  /// <reference lib="esnext.asynciterable" />
24
24
  /** Class containing Operations operations. */
25
25
  export class OperationsImpl implements Operations {
26
- private readonly client: ServiceFabricManagementClientContext;
26
+ private readonly client: ServiceFabricManagementClient;
27
27
 
28
28
  /**
29
29
  * Initialize a new instance of the class Operations class.
30
30
  * @param client Reference to the service client
31
31
  */
32
- constructor(client: ServiceFabricManagementClientContext) {
32
+ constructor(client: ServiceFabricManagementClient) {
33
33
  this.client = client;
34
34
  }
35
35
 
@@ -10,7 +10,7 @@ import { Services } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { ServiceFabricManagementClientContext } from "../serviceFabricManagementClientContext";
13
+ import { ServiceFabricManagementClient } from "../serviceFabricManagementClient";
14
14
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
15
  import { LroImpl } from "../lroImpl";
16
16
  import {
@@ -29,13 +29,13 @@ import {
29
29
 
30
30
  /** Class containing Services operations. */
31
31
  export class ServicesImpl implements Services {
32
- private readonly client: ServiceFabricManagementClientContext;
32
+ private readonly client: ServiceFabricManagementClient;
33
33
 
34
34
  /**
35
35
  * Initialize a new instance of the class Services class.
36
36
  * @param client Reference to the service client
37
37
  */
38
- constructor(client: ServiceFabricManagementClientContext) {
38
+ constructor(client: ServiceFabricManagementClient) {
39
39
  this.client = client;
40
40
  }
41
41