@azure/arm-containerservice 15.0.0-beta.1 → 15.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 (73) hide show
  1. package/CHANGELOG.md +7 -10
  2. package/README.md +4 -0
  3. package/dist/index.js +169 -127
  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/containerServiceClient.d.ts +5 -2
  8. package/dist-esm/src/containerServiceClient.d.ts.map +1 -1
  9. package/dist-esm/src/containerServiceClient.js +32 -3
  10. package/dist-esm/src/containerServiceClient.js.map +1 -1
  11. package/dist-esm/src/index.d.ts +0 -1
  12. package/dist-esm/src/index.d.ts.map +1 -1
  13. package/dist-esm/src/index.js +0 -1
  14. package/dist-esm/src/index.js.map +1 -1
  15. package/dist-esm/src/models/index.d.ts +78 -51
  16. package/dist-esm/src/models/index.d.ts.map +1 -1
  17. package/dist-esm/src/models/index.js +6 -0
  18. package/dist-esm/src/models/index.js.map +1 -1
  19. package/dist-esm/src/models/mappers.d.ts +5 -4
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  21. package/dist-esm/src/models/mappers.js +153 -95
  22. package/dist-esm/src/models/mappers.js.map +1 -1
  23. package/dist-esm/src/models/parameters.js +1 -1
  24. package/dist-esm/src/operations/agentPools.d.ts +2 -2
  25. package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
  26. package/dist-esm/src/operations/agentPools.js.map +1 -1
  27. package/dist-esm/src/operations/maintenanceConfigurations.d.ts +2 -2
  28. package/dist-esm/src/operations/maintenanceConfigurations.d.ts.map +1 -1
  29. package/dist-esm/src/operations/maintenanceConfigurations.js.map +1 -1
  30. package/dist-esm/src/operations/managedClusters.d.ts +2 -2
  31. package/dist-esm/src/operations/managedClusters.d.ts.map +1 -1
  32. package/dist-esm/src/operations/managedClusters.js.map +1 -1
  33. package/dist-esm/src/operations/operations.d.ts +2 -2
  34. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  35. package/dist-esm/src/operations/operations.js.map +1 -1
  36. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  37. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  38. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  39. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  40. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  41. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  42. package/dist-esm/src/operations/resolvePrivateLinkServiceId.d.ts +2 -2
  43. package/dist-esm/src/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  44. package/dist-esm/src/operations/resolvePrivateLinkServiceId.js.map +1 -1
  45. package/dist-esm/src/operations/snapshots.d.ts +2 -2
  46. package/dist-esm/src/operations/snapshots.d.ts.map +1 -1
  47. package/dist-esm/src/operations/snapshots.js.map +1 -1
  48. package/dist-esm/test/containerservice_examples.d.ts +3 -1
  49. package/dist-esm/test/containerservice_examples.d.ts.map +1 -1
  50. package/dist-esm/test/containerservice_examples.js +7 -4
  51. package/dist-esm/test/containerservice_examples.js.map +1 -1
  52. package/package.json +8 -8
  53. package/review/arm-containerservice.api.md +25 -11
  54. package/src/containerServiceClient.ts +46 -3
  55. package/src/index.ts +0 -1
  56. package/src/models/index.ts +83 -53
  57. package/src/models/mappers.ts +163 -104
  58. package/src/models/parameters.ts +1 -1
  59. package/src/operations/agentPools.ts +3 -3
  60. package/src/operations/maintenanceConfigurations.ts +3 -3
  61. package/src/operations/managedClusters.ts +3 -3
  62. package/src/operations/operations.ts +3 -3
  63. package/src/operations/privateEndpointConnections.ts +3 -3
  64. package/src/operations/privateLinkResources.ts +3 -3
  65. package/src/operations/resolvePrivateLinkServiceId.ts +3 -3
  66. package/src/operations/snapshots.ts +3 -3
  67. package/types/arm-containerservice.d.ts +36 -17
  68. package/types/tsdoc-metadata.json +1 -1
  69. package/dist-esm/src/containerServiceClientContext.d.ts +0 -17
  70. package/dist-esm/src/containerServiceClientContext.d.ts.map +0 -1
  71. package/dist-esm/src/containerServiceClientContext.js +0 -50
  72. package/dist-esm/src/containerServiceClientContext.js.map +0 -1
  73. package/src/containerServiceClientContext.ts +0 -71
package/CHANGELOG.md CHANGED
@@ -1,14 +1,11 @@
1
- ## 15.0.0-beta.1 (2021-10-27)
1
+ # Release History
2
+
3
+ ## 15.0.0 (2021-12-09)
2
4
 
3
- This is the first preview for the new version of the `@azure/arm-containerservice` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
5
+ The package of @azure/arm-containerservice is using our next generation design principles since version 15.0.0, which contains breaking changes.
4
6
 
5
- While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
6
8
 
7
- Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
9
+ To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
8
10
 
9
- **Noteworthy changes and features**
10
- - Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
11
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
12
- - List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
13
- - Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
14
- - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
11
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/README.md CHANGED
@@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
53
53
  const client = new ContainerServiceClient(new DefaultAzureCredential(), subscriptionId);
54
54
  ```
55
55
 
56
+
57
+ ### JavaScript Bundle
58
+ To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
59
+
56
60
  ## Key concepts
57
61
 
58
62
  ### ContainerServiceClient
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib = require('tslib');
6
5
  var coreClient = require('@azure/core-client');
6
+ var tslib = require('tslib');
7
7
  var coreLro = require('@azure/core-lro');
8
8
 
9
9
  /*
@@ -142,6 +142,10 @@ var coreLro = require('@azure/core-lro');
142
142
  /** Use a basic Load Balancer with limited functionality. */
143
143
  KnownLoadBalancerSku["Basic"] = "basic";
144
144
  })(exports.KnownLoadBalancerSku || (exports.KnownLoadBalancerSku = {}));
145
+ (function (KnownIpFamily) {
146
+ KnownIpFamily["IPv4"] = "IPv4";
147
+ KnownIpFamily["IPv6"] = "IPv6";
148
+ })(exports.KnownIpFamily || (exports.KnownIpFamily = {}));
145
149
  (function (KnownUpgradeChannel) {
146
150
  /** Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1. */
147
151
  KnownUpgradeChannel["Rapid"] = "rapid";
@@ -602,49 +606,6 @@ const ManagedClusterListResult = {
602
606
  }
603
607
  }
604
608
  };
605
- const Resource = {
606
- type: {
607
- name: "Composite",
608
- className: "Resource",
609
- modelProperties: {
610
- id: {
611
- serializedName: "id",
612
- readOnly: true,
613
- type: {
614
- name: "String"
615
- }
616
- },
617
- name: {
618
- serializedName: "name",
619
- readOnly: true,
620
- type: {
621
- name: "String"
622
- }
623
- },
624
- type: {
625
- serializedName: "type",
626
- readOnly: true,
627
- type: {
628
- name: "String"
629
- }
630
- },
631
- location: {
632
- serializedName: "location",
633
- required: true,
634
- type: {
635
- name: "String"
636
- }
637
- },
638
- tags: {
639
- serializedName: "tags",
640
- type: {
641
- name: "Dictionary",
642
- value: { type: { name: "String" } }
643
- }
644
- }
645
- }
646
- }
647
- };
648
609
  const ManagedClusterSKU = {
649
610
  type: {
650
611
  name: "Composite",
@@ -1834,6 +1795,39 @@ const ContainerServiceNetworkProfile = {
1834
1795
  name: "Composite",
1835
1796
  className: "ManagedClusterNATGatewayProfile"
1836
1797
  }
1798
+ },
1799
+ podCidrs: {
1800
+ serializedName: "podCidrs",
1801
+ type: {
1802
+ name: "Sequence",
1803
+ element: {
1804
+ type: {
1805
+ name: "String"
1806
+ }
1807
+ }
1808
+ }
1809
+ },
1810
+ serviceCidrs: {
1811
+ serializedName: "serviceCidrs",
1812
+ type: {
1813
+ name: "Sequence",
1814
+ element: {
1815
+ type: {
1816
+ name: "String"
1817
+ }
1818
+ }
1819
+ }
1820
+ },
1821
+ ipFamilies: {
1822
+ serializedName: "ipFamilies",
1823
+ type: {
1824
+ name: "Sequence",
1825
+ element: {
1826
+ type: {
1827
+ name: "String"
1828
+ }
1829
+ }
1830
+ }
1837
1831
  }
1838
1832
  }
1839
1833
  }
@@ -1922,6 +1916,17 @@ const ManagedClusterLoadBalancerProfileManagedOutboundIPs = {
1922
1916
  type: {
1923
1917
  name: "Number"
1924
1918
  }
1919
+ },
1920
+ countIPv6: {
1921
+ defaultValue: 0,
1922
+ constraints: {
1923
+ InclusiveMaximum: 100,
1924
+ InclusiveMinimum: 0
1925
+ },
1926
+ serializedName: "countIPv6",
1927
+ type: {
1928
+ name: "Number"
1929
+ }
1925
1930
  }
1926
1931
  }
1927
1932
  }
@@ -2381,6 +2386,49 @@ const ManagedClusterSecurityProfileAzureDefender = {
2381
2386
  }
2382
2387
  }
2383
2388
  };
2389
+ const Resource = {
2390
+ type: {
2391
+ name: "Composite",
2392
+ className: "Resource",
2393
+ modelProperties: {
2394
+ id: {
2395
+ serializedName: "id",
2396
+ readOnly: true,
2397
+ type: {
2398
+ name: "String"
2399
+ }
2400
+ },
2401
+ name: {
2402
+ serializedName: "name",
2403
+ readOnly: true,
2404
+ type: {
2405
+ name: "String"
2406
+ }
2407
+ },
2408
+ type: {
2409
+ serializedName: "type",
2410
+ readOnly: true,
2411
+ type: {
2412
+ name: "String"
2413
+ }
2414
+ },
2415
+ location: {
2416
+ serializedName: "location",
2417
+ required: true,
2418
+ type: {
2419
+ name: "String"
2420
+ }
2421
+ },
2422
+ tags: {
2423
+ serializedName: "tags",
2424
+ type: {
2425
+ name: "Dictionary",
2426
+ value: { type: { name: "String" } }
2427
+ }
2428
+ }
2429
+ }
2430
+ }
2431
+ };
2384
2432
  const ManagedClusterUpgradeProfile = {
2385
2433
  type: {
2386
2434
  name: "Composite",
@@ -2576,35 +2624,6 @@ const MaintenanceConfigurationListResult = {
2576
2624
  }
2577
2625
  }
2578
2626
  };
2579
- const SubResource = {
2580
- type: {
2581
- name: "Composite",
2582
- className: "SubResource",
2583
- modelProperties: {
2584
- id: {
2585
- serializedName: "id",
2586
- readOnly: true,
2587
- type: {
2588
- name: "String"
2589
- }
2590
- },
2591
- name: {
2592
- serializedName: "name",
2593
- readOnly: true,
2594
- type: {
2595
- name: "String"
2596
- }
2597
- },
2598
- type: {
2599
- serializedName: "type",
2600
- readOnly: true,
2601
- type: {
2602
- name: "String"
2603
- }
2604
- }
2605
- }
2606
- }
2607
- };
2608
2627
  const SystemData = {
2609
2628
  type: {
2610
2629
  name: "Composite",
@@ -2698,6 +2717,35 @@ const TimeSpan = {
2698
2717
  }
2699
2718
  }
2700
2719
  };
2720
+ const SubResource = {
2721
+ type: {
2722
+ name: "Composite",
2723
+ className: "SubResource",
2724
+ modelProperties: {
2725
+ id: {
2726
+ serializedName: "id",
2727
+ readOnly: true,
2728
+ type: {
2729
+ name: "String"
2730
+ }
2731
+ },
2732
+ name: {
2733
+ serializedName: "name",
2734
+ readOnly: true,
2735
+ type: {
2736
+ name: "String"
2737
+ }
2738
+ },
2739
+ type: {
2740
+ serializedName: "type",
2741
+ readOnly: true,
2742
+ type: {
2743
+ name: "String"
2744
+ }
2745
+ }
2746
+ }
2747
+ }
2748
+ };
2701
2749
  const AgentPoolListResult = {
2702
2750
  type: {
2703
2751
  name: "Composite",
@@ -3324,6 +3372,29 @@ const ContainerServiceVMDiagnostics = {
3324
3372
  }
3325
3373
  }
3326
3374
  };
3375
+ const ManagedClusterAgentPoolProfile = {
3376
+ type: {
3377
+ name: "Composite",
3378
+ className: "ManagedClusterAgentPoolProfile",
3379
+ modelProperties: Object.assign(Object.assign({}, ManagedClusterAgentPoolProfileProperties.type.modelProperties), { name: {
3380
+ constraints: {
3381
+ Pattern: new RegExp("^[a-z][a-z0-9]{0,11}$")
3382
+ },
3383
+ serializedName: "name",
3384
+ required: true,
3385
+ type: {
3386
+ name: "String"
3387
+ }
3388
+ } })
3389
+ }
3390
+ };
3391
+ const ManagedClusterAddonProfileIdentity = {
3392
+ type: {
3393
+ name: "Composite",
3394
+ className: "ManagedClusterAddonProfileIdentity",
3395
+ modelProperties: Object.assign({}, UserAssignedIdentity.type.modelProperties)
3396
+ }
3397
+ };
3327
3398
  const ManagedCluster = {
3328
3399
  type: {
3329
3400
  name: "Composite",
@@ -3608,29 +3679,6 @@ const Snapshot = {
3608
3679
  } })
3609
3680
  }
3610
3681
  };
3611
- const ManagedClusterAgentPoolProfile = {
3612
- type: {
3613
- name: "Composite",
3614
- className: "ManagedClusterAgentPoolProfile",
3615
- modelProperties: Object.assign(Object.assign({}, ManagedClusterAgentPoolProfileProperties.type.modelProperties), { name: {
3616
- constraints: {
3617
- Pattern: new RegExp("^[a-z][a-z0-9]{0,11}$")
3618
- },
3619
- serializedName: "name",
3620
- required: true,
3621
- type: {
3622
- name: "String"
3623
- }
3624
- } })
3625
- }
3626
- };
3627
- const ManagedClusterAddonProfileIdentity = {
3628
- type: {
3629
- name: "Composite",
3630
- className: "ManagedClusterAddonProfileIdentity",
3631
- modelProperties: Object.assign({}, UserAssignedIdentity.type.modelProperties)
3632
- }
3633
- };
3634
3682
  const MaintenanceConfiguration = {
3635
3683
  type: {
3636
3684
  name: "Composite",
@@ -3895,6 +3943,20 @@ const AgentPool = {
3895
3943
  } })
3896
3944
  }
3897
3945
  };
3946
+ const AgentPoolsUpgradeNodeImageVersionHeaders = {
3947
+ type: {
3948
+ name: "Composite",
3949
+ className: "AgentPoolsUpgradeNodeImageVersionHeaders",
3950
+ modelProperties: {
3951
+ azureAsyncOperation: {
3952
+ serializedName: "azure-asyncoperation",
3953
+ type: {
3954
+ name: "String"
3955
+ }
3956
+ }
3957
+ }
3958
+ }
3959
+ };
3898
3960
 
3899
3961
  var Mappers = /*#__PURE__*/Object.freeze({
3900
3962
  __proto__: null,
@@ -3905,7 +3967,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
3905
3967
  OSOptionProfile: OSOptionProfile,
3906
3968
  OSOptionProperty: OSOptionProperty,
3907
3969
  ManagedClusterListResult: ManagedClusterListResult,
3908
- Resource: Resource,
3909
3970
  ManagedClusterSKU: ManagedClusterSKU,
3910
3971
  ExtendedLocation: ExtendedLocation,
3911
3972
  ManagedClusterIdentity: ManagedClusterIdentity,
@@ -3947,6 +4008,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
3947
4008
  ManagedClusterHttpProxyConfig: ManagedClusterHttpProxyConfig,
3948
4009
  ManagedClusterSecurityProfile: ManagedClusterSecurityProfile,
3949
4010
  ManagedClusterSecurityProfileAzureDefender: ManagedClusterSecurityProfileAzureDefender,
4011
+ Resource: Resource,
3950
4012
  ManagedClusterUpgradeProfile: ManagedClusterUpgradeProfile,
3951
4013
  ManagedClusterPoolUpgradeProfile: ManagedClusterPoolUpgradeProfile,
3952
4014
  ManagedClusterPoolUpgradeProfileUpgradesItem: ManagedClusterPoolUpgradeProfileUpgradesItem,
@@ -3954,10 +4016,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
3954
4016
  CredentialResult: CredentialResult,
3955
4017
  TagsObject: TagsObject,
3956
4018
  MaintenanceConfigurationListResult: MaintenanceConfigurationListResult,
3957
- SubResource: SubResource,
3958
4019
  SystemData: SystemData,
3959
4020
  TimeInWeek: TimeInWeek,
3960
4021
  TimeSpan: TimeSpan,
4022
+ SubResource: SubResource,
3961
4023
  AgentPoolListResult: AgentPoolListResult,
3962
4024
  AgentPoolUpgradeProfile: AgentPoolUpgradeProfile,
3963
4025
  AgentPoolUpgradeProfilePropertiesUpgradesItem: AgentPoolUpgradeProfilePropertiesUpgradesItem,
@@ -3978,13 +4040,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
3978
4040
  ContainerServiceMasterProfile: ContainerServiceMasterProfile,
3979
4041
  ContainerServiceDiagnosticsProfile: ContainerServiceDiagnosticsProfile,
3980
4042
  ContainerServiceVMDiagnostics: ContainerServiceVMDiagnostics,
4043
+ ManagedClusterAgentPoolProfile: ManagedClusterAgentPoolProfile,
4044
+ ManagedClusterAddonProfileIdentity: ManagedClusterAddonProfileIdentity,
3981
4045
  ManagedCluster: ManagedCluster,
3982
4046
  ManagedClusterAccessProfile: ManagedClusterAccessProfile,
3983
4047
  Snapshot: Snapshot,
3984
- ManagedClusterAgentPoolProfile: ManagedClusterAgentPoolProfile,
3985
- ManagedClusterAddonProfileIdentity: ManagedClusterAddonProfileIdentity,
3986
4048
  MaintenanceConfiguration: MaintenanceConfiguration,
3987
- AgentPool: AgentPool
4049
+ AgentPool: AgentPool,
4050
+ AgentPoolsUpgradeNodeImageVersionHeaders: AgentPoolsUpgradeNodeImageVersionHeaders
3988
4051
  });
3989
4052
 
3990
4053
  /*
@@ -4019,7 +4082,7 @@ const $host = {
4019
4082
  const apiVersion = {
4020
4083
  parameterPath: "apiVersion",
4021
4084
  mapper: {
4022
- defaultValue: "2021-09-01",
4085
+ defaultValue: "2021-10-01",
4023
4086
  isConstant: true,
4024
4087
  serializedName: "api-version",
4025
4088
  type: {
@@ -6975,9 +7038,9 @@ const listByResourceGroupNextOperationSpec$1 = {
6975
7038
  * Code generated by Microsoft (R) AutoRest Code Generator.
6976
7039
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6977
7040
  */
6978
- class ContainerServiceClientContext extends coreClient.ServiceClient {
7041
+ class ContainerServiceClient extends coreClient.ServiceClient {
6979
7042
  /**
6980
- * Initializes a new instance of the ContainerServiceClientContext class.
7043
+ * Initializes a new instance of the ContainerServiceClient class.
6981
7044
  * @param credentials Subscription credentials which uniquely identify client subscription.
6982
7045
  * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
6983
7046
  * The subscription ID forms part of the URI for every service call.
@@ -6998,7 +7061,7 @@ class ContainerServiceClientContext extends coreClient.ServiceClient {
6998
7061
  requestContentType: "application/json; charset=utf-8",
6999
7062
  credential: credentials
7000
7063
  };
7001
- const packageDetails = `azsdk-js-arm-containerservice/15.0.0-beta.1`;
7064
+ const packageDetails = `azsdk-js-arm-containerservice/15.0.0`;
7002
7065
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7003
7066
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7004
7067
  : `${packageDetails}`;
@@ -7013,27 +7076,7 @@ class ContainerServiceClientContext extends coreClient.ServiceClient {
7013
7076
  this.subscriptionId = subscriptionId;
7014
7077
  // Assigning values to Constant parameters
7015
7078
  this.$host = options.$host || "https://management.azure.com";
7016
- this.apiVersion = options.apiVersion || "2021-09-01";
7017
- }
7018
- }
7019
-
7020
- /*
7021
- * Copyright (c) Microsoft Corporation.
7022
- * Licensed under the MIT License.
7023
- *
7024
- * Code generated by Microsoft (R) AutoRest Code Generator.
7025
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7026
- */
7027
- class ContainerServiceClient extends ContainerServiceClientContext {
7028
- /**
7029
- * Initializes a new instance of the ContainerServiceClient class.
7030
- * @param credentials Subscription credentials which uniquely identify client subscription.
7031
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
7032
- * The subscription ID forms part of the URI for every service call.
7033
- * @param options The parameter options
7034
- */
7035
- constructor(credentials, subscriptionId, options) {
7036
- super(credentials, subscriptionId, options);
7079
+ this.apiVersion = options.apiVersion || "2021-10-01";
7037
7080
  this.operations = new OperationsImpl(this);
7038
7081
  this.managedClusters = new ManagedClustersImpl(this);
7039
7082
  this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
@@ -7046,5 +7089,4 @@ class ContainerServiceClient extends ContainerServiceClientContext {
7046
7089
  }
7047
7090
 
7048
7091
  exports.ContainerServiceClient = ContainerServiceClient;
7049
- exports.ContainerServiceClientContext = ContainerServiceClientContext;
7050
7092
  //# sourceMappingURL=index.js.map