@azure/arm-containerservice 14.1.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 (119) hide show
  1. package/LICENSE.txt +21 -0
  2. package/README.md +106 -0
  3. package/dist/arm-containerservice.js +6451 -0
  4. package/dist/arm-containerservice.js.map +1 -0
  5. package/dist/arm-containerservice.min.js +1 -0
  6. package/dist/arm-containerservice.min.js.map +1 -0
  7. package/esm/containerServiceClient.d.ts +32 -0
  8. package/esm/containerServiceClient.d.ts.map +1 -0
  9. package/esm/containerServiceClient.js +45 -0
  10. package/esm/containerServiceClient.js.map +1 -0
  11. package/esm/containerServiceClientContext.d.ts +23 -0
  12. package/esm/containerServiceClientContext.d.ts.map +1 -0
  13. package/esm/containerServiceClientContext.js +61 -0
  14. package/esm/containerServiceClientContext.js.map +1 -0
  15. package/esm/models/agentPoolsMappers.d.ts +2 -0
  16. package/esm/models/agentPoolsMappers.d.ts.map +1 -0
  17. package/esm/models/agentPoolsMappers.js +9 -0
  18. package/esm/models/agentPoolsMappers.js.map +1 -0
  19. package/esm/models/index.d.ts +3479 -0
  20. package/esm/models/index.d.ts.map +1 -0
  21. package/esm/models/index.js +8 -0
  22. package/esm/models/index.js.map +1 -0
  23. package/esm/models/maintenanceConfigurationsMappers.d.ts +2 -0
  24. package/esm/models/maintenanceConfigurationsMappers.d.ts.map +1 -0
  25. package/esm/models/maintenanceConfigurationsMappers.js +9 -0
  26. package/esm/models/maintenanceConfigurationsMappers.js.map +1 -0
  27. package/esm/models/managedClustersMappers.d.ts +2 -0
  28. package/esm/models/managedClustersMappers.d.ts.map +1 -0
  29. package/esm/models/managedClustersMappers.js +9 -0
  30. package/esm/models/managedClustersMappers.js.map +1 -0
  31. package/esm/models/mappers.d.ts +88 -0
  32. package/esm/models/mappers.d.ts.map +1 -0
  33. package/esm/models/mappers.js +3516 -0
  34. package/esm/models/mappers.js.map +1 -0
  35. package/esm/models/operationsMappers.d.ts +2 -0
  36. package/esm/models/operationsMappers.d.ts.map +1 -0
  37. package/esm/models/operationsMappers.js +9 -0
  38. package/esm/models/operationsMappers.js.map +1 -0
  39. package/esm/models/parameters.d.ts +16 -0
  40. package/esm/models/parameters.d.ts.map +1 -0
  41. package/esm/models/parameters.js +162 -0
  42. package/esm/models/parameters.js.map +1 -0
  43. package/esm/models/privateEndpointConnectionsMappers.d.ts +2 -0
  44. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +1 -0
  45. package/esm/models/privateEndpointConnectionsMappers.js +9 -0
  46. package/esm/models/privateEndpointConnectionsMappers.js.map +1 -0
  47. package/esm/models/privateLinkResourcesMappers.d.ts +2 -0
  48. package/esm/models/privateLinkResourcesMappers.d.ts.map +1 -0
  49. package/esm/models/privateLinkResourcesMappers.js +9 -0
  50. package/esm/models/privateLinkResourcesMappers.js.map +1 -0
  51. package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts +2 -0
  52. package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts.map +1 -0
  53. package/esm/models/resolvePrivateLinkServiceIdMappers.js +9 -0
  54. package/esm/models/resolvePrivateLinkServiceIdMappers.js.map +1 -0
  55. package/esm/models/snapshotsMappers.d.ts +2 -0
  56. package/esm/models/snapshotsMappers.d.ts.map +1 -0
  57. package/esm/models/snapshotsMappers.js +9 -0
  58. package/esm/models/snapshotsMappers.js.map +1 -0
  59. package/esm/operations/agentPools.d.ts +187 -0
  60. package/esm/operations/agentPools.d.ts.map +1 -0
  61. package/esm/operations/agentPools.js +359 -0
  62. package/esm/operations/agentPools.js.map +1 -0
  63. package/esm/operations/index.d.ts +9 -0
  64. package/esm/operations/index.d.ts.map +1 -0
  65. package/esm/operations/index.js +17 -0
  66. package/esm/operations/index.js.map +1 -0
  67. package/esm/operations/maintenanceConfigurations.d.ts +127 -0
  68. package/esm/operations/maintenanceConfigurations.d.ts.map +1 -0
  69. package/esm/operations/maintenanceConfigurations.js +190 -0
  70. package/esm/operations/maintenanceConfigurations.js.map +1 -0
  71. package/esm/operations/managedClusters.d.ts +487 -0
  72. package/esm/operations/managedClusters.d.ts.map +1 -0
  73. package/esm/operations/managedClusters.js +956 -0
  74. package/esm/operations/managedClusters.js.map +1 -0
  75. package/esm/operations/operations.d.ts +28 -0
  76. package/esm/operations/operations.d.ts.map +1 -0
  77. package/esm/operations/operations.js +50 -0
  78. package/esm/operations/operations.js.map +1 -0
  79. package/esm/operations/privateEndpointConnections.d.ts +106 -0
  80. package/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  81. package/esm/operations/privateEndpointConnections.js +181 -0
  82. package/esm/operations/privateEndpointConnections.js.map +1 -0
  83. package/esm/operations/privateLinkResources.d.ts +35 -0
  84. package/esm/operations/privateLinkResources.d.ts.map +1 -0
  85. package/esm/operations/privateLinkResources.js +57 -0
  86. package/esm/operations/privateLinkResources.js.map +1 -0
  87. package/esm/operations/resolvePrivateLinkServiceId.d.ts +37 -0
  88. package/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -0
  89. package/esm/operations/resolvePrivateLinkServiceId.js +63 -0
  90. package/esm/operations/resolvePrivateLinkServiceId.js.map +1 -0
  91. package/esm/operations/snapshots.d.ts +172 -0
  92. package/esm/operations/snapshots.d.ts.map +1 -0
  93. package/esm/operations/snapshots.js +277 -0
  94. package/esm/operations/snapshots.js.map +1 -0
  95. package/package.json +59 -0
  96. package/rollup.config.js +37 -0
  97. package/src/containerServiceClient.ts +62 -0
  98. package/src/containerServiceClientContext.ts +68 -0
  99. package/src/models/agentPoolsMappers.ts +72 -0
  100. package/src/models/index.ts +3679 -0
  101. package/src/models/maintenanceConfigurationsMappers.ts +68 -0
  102. package/src/models/managedClustersMappers.ts +82 -0
  103. package/src/models/mappers.ts +3695 -0
  104. package/src/models/operationsMappers.ts +13 -0
  105. package/src/models/parameters.ts +164 -0
  106. package/src/models/privateEndpointConnectionsMappers.ts +68 -0
  107. package/src/models/privateLinkResourcesMappers.ts +13 -0
  108. package/src/models/resolvePrivateLinkServiceIdMappers.ts +12 -0
  109. package/src/models/snapshotsMappers.ts +69 -0
  110. package/src/operations/agentPools.ts +519 -0
  111. package/src/operations/index.ts +17 -0
  112. package/src/operations/maintenanceConfigurations.ts +334 -0
  113. package/src/operations/managedClusters.ts +1391 -0
  114. package/src/operations/operations.ts +73 -0
  115. package/src/operations/privateEndpointConnections.ts +282 -0
  116. package/src/operations/privateLinkResources.ts +87 -0
  117. package/src/operations/resolvePrivateLinkServiceId.ts +97 -0
  118. package/src/operations/snapshots.ts +484 -0
  119. package/tsconfig.json +19 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maintenanceConfigurations.d.ts","sourceRoot":"","sources":["../../src/operations/maintenanceConfigurations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,sDAAsD;AACtD,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;OAMG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qDAAqD,CAAC;IACjL;;;;OAIG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kCAAkC,CAAC,GAAG,IAAI;IACxJ;;;;;OAKG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kCAAkC,CAAC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generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is
7
+ * regenerated.
8
+ */
9
+ import { __assign } from "tslib";
10
+ import * as msRest from "@azure/ms-rest-js";
11
+ import * as Mappers from "../models/maintenanceConfigurationsMappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /** Class representing a MaintenanceConfigurations. */
14
+ var MaintenanceConfigurations = /** @class */ (function () {
15
+ /**
16
+ * Create a MaintenanceConfigurations.
17
+ * @param {ContainerServiceClientContext} client Reference to the service client.
18
+ */
19
+ function MaintenanceConfigurations(client) {
20
+ this.client = client;
21
+ }
22
+ MaintenanceConfigurations.prototype.listByManagedCluster = function (resourceGroupName, resourceName, options, callback) {
23
+ return this.client.sendOperationRequest({
24
+ resourceGroupName: resourceGroupName,
25
+ resourceName: resourceName,
26
+ options: options
27
+ }, listByManagedClusterOperationSpec, callback);
28
+ };
29
+ MaintenanceConfigurations.prototype.get = function (resourceGroupName, resourceName, configName, options, callback) {
30
+ return this.client.sendOperationRequest({
31
+ resourceGroupName: resourceGroupName,
32
+ resourceName: resourceName,
33
+ configName: configName,
34
+ options: options
35
+ }, getOperationSpec, callback);
36
+ };
37
+ MaintenanceConfigurations.prototype.createOrUpdate = function (resourceGroupName, resourceName, configName, parameters, options, callback) {
38
+ return this.client.sendOperationRequest({
39
+ resourceGroupName: resourceGroupName,
40
+ resourceName: resourceName,
41
+ configName: configName,
42
+ parameters: parameters,
43
+ options: options
44
+ }, createOrUpdateOperationSpec, callback);
45
+ };
46
+ MaintenanceConfigurations.prototype.deleteMethod = function (resourceGroupName, resourceName, configName, options, callback) {
47
+ return this.client.sendOperationRequest({
48
+ resourceGroupName: resourceGroupName,
49
+ resourceName: resourceName,
50
+ configName: configName,
51
+ options: options
52
+ }, deleteMethodOperationSpec, callback);
53
+ };
54
+ MaintenanceConfigurations.prototype.listByManagedClusterNext = function (nextPageLink, options, callback) {
55
+ return this.client.sendOperationRequest({
56
+ nextPageLink: nextPageLink,
57
+ options: options
58
+ }, listByManagedClusterNextOperationSpec, callback);
59
+ };
60
+ return MaintenanceConfigurations;
61
+ }());
62
+ export { MaintenanceConfigurations };
63
+ // Operation Specifications
64
+ var serializer = new msRest.Serializer(Mappers);
65
+ var listByManagedClusterOperationSpec = {
66
+ httpMethod: "GET",
67
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations",
68
+ urlParameters: [
69
+ Parameters.subscriptionId,
70
+ Parameters.resourceGroupName,
71
+ Parameters.resourceName
72
+ ],
73
+ queryParameters: [
74
+ Parameters.apiVersion
75
+ ],
76
+ headerParameters: [
77
+ Parameters.acceptLanguage
78
+ ],
79
+ responses: {
80
+ 200: {
81
+ bodyMapper: Mappers.MaintenanceConfigurationListResult
82
+ },
83
+ default: {
84
+ bodyMapper: Mappers.CloudError
85
+ }
86
+ },
87
+ serializer: serializer
88
+ };
89
+ var getOperationSpec = {
90
+ httpMethod: "GET",
91
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}",
92
+ urlParameters: [
93
+ Parameters.subscriptionId,
94
+ Parameters.resourceGroupName,
95
+ Parameters.resourceName,
96
+ Parameters.configName
97
+ ],
98
+ queryParameters: [
99
+ Parameters.apiVersion
100
+ ],
101
+ headerParameters: [
102
+ Parameters.acceptLanguage
103
+ ],
104
+ responses: {
105
+ 200: {
106
+ bodyMapper: Mappers.MaintenanceConfiguration
107
+ },
108
+ default: {
109
+ bodyMapper: Mappers.CloudError
110
+ }
111
+ },
112
+ serializer: serializer
113
+ };
114
+ var createOrUpdateOperationSpec = {
115
+ httpMethod: "PUT",
116
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}",
117
+ urlParameters: [
118
+ Parameters.subscriptionId,
119
+ Parameters.resourceGroupName,
120
+ Parameters.resourceName,
121
+ Parameters.configName
122
+ ],
123
+ queryParameters: [
124
+ Parameters.apiVersion
125
+ ],
126
+ headerParameters: [
127
+ Parameters.acceptLanguage
128
+ ],
129
+ requestBody: {
130
+ parameterPath: "parameters",
131
+ mapper: __assign(__assign({}, Mappers.MaintenanceConfiguration), { required: true })
132
+ },
133
+ responses: {
134
+ 200: {
135
+ bodyMapper: Mappers.MaintenanceConfiguration
136
+ },
137
+ default: {
138
+ bodyMapper: Mappers.CloudError
139
+ }
140
+ },
141
+ serializer: serializer
142
+ };
143
+ var deleteMethodOperationSpec = {
144
+ httpMethod: "DELETE",
145
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}",
146
+ urlParameters: [
147
+ Parameters.subscriptionId,
148
+ Parameters.resourceGroupName,
149
+ Parameters.resourceName,
150
+ Parameters.configName
151
+ ],
152
+ queryParameters: [
153
+ Parameters.apiVersion
154
+ ],
155
+ headerParameters: [
156
+ Parameters.acceptLanguage
157
+ ],
158
+ responses: {
159
+ 200: {},
160
+ 204: {},
161
+ default: {
162
+ bodyMapper: Mappers.CloudError
163
+ }
164
+ },
165
+ serializer: serializer
166
+ };
167
+ var listByManagedClusterNextOperationSpec = {
168
+ httpMethod: "GET",
169
+ baseUrl: "https://management.azure.com",
170
+ path: "{nextLink}",
171
+ urlParameters: [
172
+ Parameters.nextPageLink
173
+ ],
174
+ queryParameters: [
175
+ Parameters.apiVersion
176
+ ],
177
+ headerParameters: [
178
+ Parameters.acceptLanguage
179
+ ],
180
+ responses: {
181
+ 200: {
182
+ bodyMapper: Mappers.MaintenanceConfigurationListResult
183
+ },
184
+ default: {
185
+ bodyMapper: Mappers.CloudError
186
+ }
187
+ },
188
+ serializer: serializer
189
+ };
190
+ //# sourceMappingURL=maintenanceConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maintenanceConfigurations.js","s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AAyB;IAClE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -0,0 +1,487 @@
1
+ import * as msRest from "@azure/ms-rest-js";
2
+ import * as msRestAzure from "@azure/ms-rest-azure-js";
3
+ import * as Models from "../models";
4
+ import { ContainerServiceClientContext } from "../containerServiceClientContext";
5
+ /** Class representing a ManagedClusters. */
6
+ export declare class ManagedClusters {
7
+ private readonly client;
8
+ /**
9
+ * Create a ManagedClusters.
10
+ * @param {ContainerServiceClientContext} client Reference to the service client.
11
+ */
12
+ constructor(client: ContainerServiceClientContext);
13
+ /**
14
+ * @summary Gets supported OS options in the specified subscription.
15
+ * @param location The name of a supported Azure region.
16
+ * @param [options] The optional parameters
17
+ * @returns Promise<Models.ManagedClustersGetOSOptionsResponse>
18
+ */
19
+ getOSOptions(location: string, options?: Models.ManagedClustersGetOSOptionsOptionalParams): Promise<Models.ManagedClustersGetOSOptionsResponse>;
20
+ /**
21
+ * @param location The name of a supported Azure region.
22
+ * @param callback The callback
23
+ */
24
+ getOSOptions(location: string, callback: msRest.ServiceCallback<Models.OSOptionProfile>): void;
25
+ /**
26
+ * @param location The name of a supported Azure region.
27
+ * @param options The optional parameters
28
+ * @param callback The callback
29
+ */
30
+ getOSOptions(location: string, options: Models.ManagedClustersGetOSOptionsOptionalParams, callback: msRest.ServiceCallback<Models.OSOptionProfile>): void;
31
+ /**
32
+ * @summary Gets a list of managed clusters in the specified subscription.
33
+ * @param [options] The optional parameters
34
+ * @returns Promise<Models.ManagedClustersListResponse>
35
+ */
36
+ list(options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListResponse>;
37
+ /**
38
+ * @param callback The callback
39
+ */
40
+ list(callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
41
+ /**
42
+ * @param options The optional parameters
43
+ * @param callback The callback
44
+ */
45
+ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
46
+ /**
47
+ * @summary Lists managed clusters in the specified subscription and resource group.
48
+ * @param resourceGroupName The name of the resource group.
49
+ * @param [options] The optional parameters
50
+ * @returns Promise<Models.ManagedClustersListByResourceGroupResponse>
51
+ */
52
+ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListByResourceGroupResponse>;
53
+ /**
54
+ * @param resourceGroupName The name of the resource group.
55
+ * @param callback The callback
56
+ */
57
+ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
58
+ /**
59
+ * @param resourceGroupName The name of the resource group.
60
+ * @param options The optional parameters
61
+ * @param callback The callback
62
+ */
63
+ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
64
+ /**
65
+ * @summary Gets the upgrade profile of a managed cluster.
66
+ * @param resourceGroupName The name of the resource group.
67
+ * @param resourceName The name of the managed cluster resource.
68
+ * @param [options] The optional parameters
69
+ * @returns Promise<Models.ManagedClustersGetUpgradeProfileResponse>
70
+ */
71
+ getUpgradeProfile(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersGetUpgradeProfileResponse>;
72
+ /**
73
+ * @param resourceGroupName The name of the resource group.
74
+ * @param resourceName The name of the managed cluster resource.
75
+ * @param callback The callback
76
+ */
77
+ getUpgradeProfile(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ManagedClusterUpgradeProfile>): void;
78
+ /**
79
+ * @param resourceGroupName The name of the resource group.
80
+ * @param resourceName The name of the managed cluster resource.
81
+ * @param options The optional parameters
82
+ * @param callback The callback
83
+ */
84
+ getUpgradeProfile(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterUpgradeProfile>): void;
85
+ /**
86
+ * **WARNING**: This API will be deprecated. Instead use
87
+ * [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials)
88
+ * or
89
+ * [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials)
90
+ * .
91
+ * @summary Gets an access profile of a managed cluster.
92
+ * @param resourceGroupName The name of the resource group.
93
+ * @param resourceName The name of the managed cluster resource.
94
+ * @param roleName The name of the role for managed cluster accessProfile resource.
95
+ * @param [options] The optional parameters
96
+ * @deprecated This operation is deprecated. Please do not use it any longer.
97
+ * @returns Promise<Models.ManagedClustersGetAccessProfileResponse>
98
+ */
99
+ getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersGetAccessProfileResponse>;
100
+ /**
101
+ * @param resourceGroupName The name of the resource group.
102
+ * @param resourceName The name of the managed cluster resource.
103
+ * @param roleName The name of the role for managed cluster accessProfile resource.
104
+ * @param callback The callback
105
+ * @deprecated This operation is deprecated. Please do not use it any longer.
106
+ */
107
+ getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, callback: msRest.ServiceCallback<Models.ManagedClusterAccessProfile>): void;
108
+ /**
109
+ * @param resourceGroupName The name of the resource group.
110
+ * @param resourceName The name of the managed cluster resource.
111
+ * @param roleName The name of the role for managed cluster accessProfile resource.
112
+ * @param options The optional parameters
113
+ * @param callback The callback
114
+ * @deprecated This operation is deprecated. Please do not use it any longer.
115
+ */
116
+ getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterAccessProfile>): void;
117
+ /**
118
+ * @summary Lists the admin credentials of a managed cluster.
119
+ * @param resourceGroupName The name of the resource group.
120
+ * @param resourceName The name of the managed cluster resource.
121
+ * @param [options] The optional parameters
122
+ * @returns Promise<Models.ManagedClustersListClusterAdminCredentialsResponse>
123
+ */
124
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterAdminCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterAdminCredentialsResponse>;
125
+ /**
126
+ * @param resourceGroupName The name of the resource group.
127
+ * @param resourceName The name of the managed cluster resource.
128
+ * @param callback The callback
129
+ */
130
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
131
+ /**
132
+ * @param resourceGroupName The name of the resource group.
133
+ * @param resourceName The name of the managed cluster resource.
134
+ * @param options The optional parameters
135
+ * @param callback The callback
136
+ */
137
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterAdminCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
138
+ /**
139
+ * @summary Lists the user credentials of a managed cluster.
140
+ * @param resourceGroupName The name of the resource group.
141
+ * @param resourceName The name of the managed cluster resource.
142
+ * @param [options] The optional parameters
143
+ * @returns Promise<Models.ManagedClustersListClusterUserCredentialsResponse>
144
+ */
145
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterUserCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterUserCredentialsResponse>;
146
+ /**
147
+ * @param resourceGroupName The name of the resource group.
148
+ * @param resourceName The name of the managed cluster resource.
149
+ * @param callback The callback
150
+ */
151
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
152
+ /**
153
+ * @param resourceGroupName The name of the resource group.
154
+ * @param resourceName The name of the managed cluster resource.
155
+ * @param options The optional parameters
156
+ * @param callback The callback
157
+ */
158
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterUserCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
159
+ /**
160
+ * @summary Lists the cluster monitoring user credentials of a managed cluster.
161
+ * @param resourceGroupName The name of the resource group.
162
+ * @param resourceName The name of the managed cluster resource.
163
+ * @param [options] The optional parameters
164
+ * @returns Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse>
165
+ */
166
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterMonitoringUserCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse>;
167
+ /**
168
+ * @param resourceGroupName The name of the resource group.
169
+ * @param resourceName The name of the managed cluster resource.
170
+ * @param callback The callback
171
+ */
172
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
173
+ /**
174
+ * @param resourceGroupName The name of the resource group.
175
+ * @param resourceName The name of the managed cluster resource.
176
+ * @param options The optional parameters
177
+ * @param callback The callback
178
+ */
179
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterMonitoringUserCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
180
+ /**
181
+ * @summary Gets a managed cluster.
182
+ * @param resourceGroupName The name of the resource group.
183
+ * @param resourceName The name of the managed cluster resource.
184
+ * @param [options] The optional parameters
185
+ * @returns Promise<Models.ManagedClustersGetResponse>
186
+ */
187
+ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersGetResponse>;
188
+ /**
189
+ * @param resourceGroupName The name of the resource group.
190
+ * @param resourceName The name of the managed cluster resource.
191
+ * @param callback The callback
192
+ */
193
+ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ManagedCluster>): void;
194
+ /**
195
+ * @param resourceGroupName The name of the resource group.
196
+ * @param resourceName The name of the managed cluster resource.
197
+ * @param options The optional parameters
198
+ * @param callback The callback
199
+ */
200
+ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedCluster>): void;
201
+ /**
202
+ * @summary Creates or updates a managed cluster.
203
+ * @param resourceGroupName The name of the resource group.
204
+ * @param resourceName The name of the managed cluster resource.
205
+ * @param parameters The managed cluster to create or update.
206
+ * @param [options] The optional parameters
207
+ * @returns Promise<Models.ManagedClustersCreateOrUpdateResponse>
208
+ */
209
+ createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Models.ManagedCluster, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersCreateOrUpdateResponse>;
210
+ /**
211
+ * @summary Updates tags on a managed cluster.
212
+ * @param resourceGroupName The name of the resource group.
213
+ * @param resourceName The name of the managed cluster resource.
214
+ * @param parameters Parameters supplied to the Update Managed Cluster Tags operation.
215
+ * @param [options] The optional parameters
216
+ * @returns Promise<Models.ManagedClustersUpdateTagsResponse>
217
+ */
218
+ updateTags(resourceGroupName: string, resourceName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersUpdateTagsResponse>;
219
+ /**
220
+ * @summary Deletes a managed cluster.
221
+ * @param resourceGroupName The name of the resource group.
222
+ * @param resourceName The name of the managed cluster resource.
223
+ * @param [options] The optional parameters
224
+ * @returns Promise<msRest.RestResponse>
225
+ */
226
+ deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
227
+ /**
228
+ * This action cannot be performed on a cluster that is not using a service principal
229
+ * @summary Reset the Service Principal Profile of a managed cluster.
230
+ * @param resourceGroupName The name of the resource group.
231
+ * @param resourceName The name of the managed cluster resource.
232
+ * @param parameters The service principal profile to set on the managed cluster.
233
+ * @param [options] The optional parameters
234
+ * @returns Promise<msRest.RestResponse>
235
+ */
236
+ resetServicePrincipalProfile(resourceGroupName: string, resourceName: string, parameters: Models.ManagedClusterServicePrincipalProfile, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
237
+ /**
238
+ * @summary Reset the AAD Profile of a managed cluster.
239
+ * @param resourceGroupName The name of the resource group.
240
+ * @param resourceName The name of the managed cluster resource.
241
+ * @param parameters The AAD profile to set on the Managed Cluster
242
+ * @param [options] The optional parameters
243
+ * @returns Promise<msRest.RestResponse>
244
+ */
245
+ resetAADProfile(resourceGroupName: string, resourceName: string, parameters: Models.ManagedClusterAADProfile, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
246
+ /**
247
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more
248
+ * details about rotating managed cluster certificates.
249
+ * @summary Rotates the certificates of a managed cluster.
250
+ * @param resourceGroupName The name of the resource group.
251
+ * @param resourceName The name of the managed cluster resource.
252
+ * @param [options] The optional parameters
253
+ * @returns Promise<msRest.RestResponse>
254
+ */
255
+ rotateClusterCertificates(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
256
+ /**
257
+ * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a
258
+ * cluster stops the control plane and agent nodes entirely, while maintaining all object and
259
+ * cluster state. A cluster does not accrue charges while it is stopped. See [stopping a
260
+ * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about
261
+ * stopping a cluster.
262
+ * @summary Stops a Managed Cluster
263
+ * @param resourceGroupName The name of the resource group.
264
+ * @param resourceName The name of the managed cluster resource.
265
+ * @param [options] The optional parameters
266
+ * @returns Promise<msRest.RestResponse>
267
+ */
268
+ stop(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
269
+ /**
270
+ * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more
271
+ * details about starting a cluster.
272
+ * @summary Starts a previously stopped Managed Cluster
273
+ * @param resourceGroupName The name of the resource group.
274
+ * @param resourceName The name of the managed cluster resource.
275
+ * @param [options] The optional parameters
276
+ * @returns Promise<msRest.RestResponse>
277
+ */
278
+ start(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
279
+ /**
280
+ * AKS will create a pod to run the command. This is primarily useful for private clusters. For
281
+ * more information see [AKS Run
282
+ * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
283
+ * @summary Submits a command to run against the Managed Cluster.
284
+ * @param resourceGroupName The name of the resource group.
285
+ * @param resourceName The name of the managed cluster resource.
286
+ * @param requestPayload The run command request
287
+ * @param [options] The optional parameters
288
+ * @returns Promise<Models.ManagedClustersRunCommandResponse>
289
+ */
290
+ runCommand(resourceGroupName: string, resourceName: string, requestPayload: Models.RunCommandRequest, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersRunCommandResponse>;
291
+ /**
292
+ * @summary Gets the results of a command which has been run on the Managed Cluster.
293
+ * @param resourceGroupName The name of the resource group.
294
+ * @param resourceName The name of the managed cluster resource.
295
+ * @param commandId Id of the command.
296
+ * @param [options] The optional parameters
297
+ * @returns Promise<Models.ManagedClustersGetCommandResultResponse>
298
+ */
299
+ getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersGetCommandResultResponse>;
300
+ /**
301
+ * @param resourceGroupName The name of the resource group.
302
+ * @param resourceName The name of the managed cluster resource.
303
+ * @param commandId Id of the command.
304
+ * @param callback The callback
305
+ */
306
+ getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, callback: msRest.ServiceCallback<Models.RunCommandResult>): void;
307
+ /**
308
+ * @param resourceGroupName The name of the resource group.
309
+ * @param resourceName The name of the managed cluster resource.
310
+ * @param commandId Id of the command.
311
+ * @param options The optional parameters
312
+ * @param callback The callback
313
+ */
314
+ getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RunCommandResult>): void;
315
+ /**
316
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
317
+ * specified managed cluster. The operation returns properties of each egress endpoint.
318
+ * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
319
+ * specified managed cluster.
320
+ * @param resourceGroupName The name of the resource group.
321
+ * @param resourceName The name of the managed cluster resource.
322
+ * @param [options] The optional parameters
323
+ * @returns Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse>
324
+ */
325
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse>;
326
+ /**
327
+ * @param resourceGroupName The name of the resource group.
328
+ * @param resourceName The name of the managed cluster resource.
329
+ * @param callback The callback
330
+ */
331
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
332
+ /**
333
+ * @param resourceGroupName The name of the resource group.
334
+ * @param resourceName The name of the managed cluster resource.
335
+ * @param options The optional parameters
336
+ * @param callback The callback
337
+ */
338
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
339
+ /**
340
+ * @summary Creates or updates a managed cluster.
341
+ * @param resourceGroupName The name of the resource group.
342
+ * @param resourceName The name of the managed cluster resource.
343
+ * @param parameters The managed cluster to create or update.
344
+ * @param [options] The optional parameters
345
+ * @returns Promise<msRestAzure.LROPoller>
346
+ */
347
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: Models.ManagedCluster, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
348
+ /**
349
+ * @summary Updates tags on a managed cluster.
350
+ * @param resourceGroupName The name of the resource group.
351
+ * @param resourceName The name of the managed cluster resource.
352
+ * @param parameters Parameters supplied to the Update Managed Cluster Tags operation.
353
+ * @param [options] The optional parameters
354
+ * @returns Promise<msRestAzure.LROPoller>
355
+ */
356
+ beginUpdateTags(resourceGroupName: string, resourceName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
357
+ /**
358
+ * @summary Deletes a managed cluster.
359
+ * @param resourceGroupName The name of the resource group.
360
+ * @param resourceName The name of the managed cluster resource.
361
+ * @param [options] The optional parameters
362
+ * @returns Promise<msRestAzure.LROPoller>
363
+ */
364
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
365
+ /**
366
+ * This action cannot be performed on a cluster that is not using a service principal
367
+ * @summary Reset the Service Principal Profile of a managed cluster.
368
+ * @param resourceGroupName The name of the resource group.
369
+ * @param resourceName The name of the managed cluster resource.
370
+ * @param parameters The service principal profile to set on the managed cluster.
371
+ * @param [options] The optional parameters
372
+ * @returns Promise<msRestAzure.LROPoller>
373
+ */
374
+ beginResetServicePrincipalProfile(resourceGroupName: string, resourceName: string, parameters: Models.ManagedClusterServicePrincipalProfile, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
375
+ /**
376
+ * @summary Reset the AAD Profile of a managed cluster.
377
+ * @param resourceGroupName The name of the resource group.
378
+ * @param resourceName The name of the managed cluster resource.
379
+ * @param parameters The AAD profile to set on the Managed Cluster
380
+ * @param [options] The optional parameters
381
+ * @returns Promise<msRestAzure.LROPoller>
382
+ */
383
+ beginResetAADProfile(resourceGroupName: string, resourceName: string, parameters: Models.ManagedClusterAADProfile, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
384
+ /**
385
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more
386
+ * details about rotating managed cluster certificates.
387
+ * @summary Rotates the certificates of a managed cluster.
388
+ * @param resourceGroupName The name of the resource group.
389
+ * @param resourceName The name of the managed cluster resource.
390
+ * @param [options] The optional parameters
391
+ * @returns Promise<msRestAzure.LROPoller>
392
+ */
393
+ beginRotateClusterCertificates(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
394
+ /**
395
+ * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a
396
+ * cluster stops the control plane and agent nodes entirely, while maintaining all object and
397
+ * cluster state. A cluster does not accrue charges while it is stopped. See [stopping a
398
+ * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about
399
+ * stopping a cluster.
400
+ * @summary Stops a Managed Cluster
401
+ * @param resourceGroupName The name of the resource group.
402
+ * @param resourceName The name of the managed cluster resource.
403
+ * @param [options] The optional parameters
404
+ * @returns Promise<msRestAzure.LROPoller>
405
+ */
406
+ beginStop(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
407
+ /**
408
+ * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more
409
+ * details about starting a cluster.
410
+ * @summary Starts a previously stopped Managed Cluster
411
+ * @param resourceGroupName The name of the resource group.
412
+ * @param resourceName The name of the managed cluster resource.
413
+ * @param [options] The optional parameters
414
+ * @returns Promise<msRestAzure.LROPoller>
415
+ */
416
+ beginStart(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
417
+ /**
418
+ * AKS will create a pod to run the command. This is primarily useful for private clusters. For
419
+ * more information see [AKS Run
420
+ * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
421
+ * @summary Submits a command to run against the Managed Cluster.
422
+ * @param resourceGroupName The name of the resource group.
423
+ * @param resourceName The name of the managed cluster resource.
424
+ * @param requestPayload The run command request
425
+ * @param [options] The optional parameters
426
+ * @returns Promise<msRestAzure.LROPoller>
427
+ */
428
+ beginRunCommand(resourceGroupName: string, resourceName: string, requestPayload: Models.RunCommandRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
429
+ /**
430
+ * @summary Gets a list of managed clusters in the specified subscription.
431
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
432
+ * @param [options] The optional parameters
433
+ * @returns Promise<Models.ManagedClustersListNextResponse>
434
+ */
435
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListNextResponse>;
436
+ /**
437
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
438
+ * @param callback The callback
439
+ */
440
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
441
+ /**
442
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
443
+ * @param options The optional parameters
444
+ * @param callback The callback
445
+ */
446
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
447
+ /**
448
+ * @summary Lists managed clusters in the specified subscription and resource group.
449
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
450
+ * @param [options] The optional parameters
451
+ * @returns Promise<Models.ManagedClustersListByResourceGroupNextResponse>
452
+ */
453
+ listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListByResourceGroupNextResponse>;
454
+ /**
455
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
456
+ * @param callback The callback
457
+ */
458
+ listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
459
+ /**
460
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
461
+ * @param options The optional parameters
462
+ * @param callback The callback
463
+ */
464
+ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedClusterListResult>): void;
465
+ /**
466
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
467
+ * specified managed cluster. The operation returns properties of each egress endpoint.
468
+ * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
469
+ * specified managed cluster.
470
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
471
+ * @param [options] The optional parameters
472
+ * @returns Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse>
473
+ */
474
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse>;
475
+ /**
476
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
477
+ * @param callback The callback
478
+ */
479
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
480
+ /**
481
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
482
+ * @param options The optional parameters
483
+ * @param callback The callback
484
+ */
485
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
486
+ }
487
+ //# sourceMappingURL=managedClusters.d.ts.map