@azure/arm-containerinstance 9.1.1-alpha.20241023.1 → 9.2.0-beta.1

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 (159) hide show
  1. package/CHANGELOG.md +41 -10
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1855 -966
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +40 -0
  11. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +1 -0
  12. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +55 -0
  15. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +1 -0
  16. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +260 -0
  19. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +39 -0
  23. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +58 -0
  27. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +54 -0
  31. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +1 -0
  32. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/containerGroupProfilesListSample.js +53 -0
  35. package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +42 -0
  39. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +1 -0
  40. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +88 -51
  41. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +1 -1
  42. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +3 -2
  43. package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +1 -1
  44. package/dist-esm/samples-dev/containerGroupsGetSample.js +9 -6
  45. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +1 -1
  46. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +3 -2
  47. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +1 -1
  48. package/dist-esm/samples-dev/containerGroupsListSample.js +3 -2
  49. package/dist-esm/samples-dev/containerGroupsListSample.js.map +1 -1
  50. package/dist-esm/samples-dev/containerGroupsRestartSample.js +3 -2
  51. package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +1 -1
  52. package/dist-esm/samples-dev/containerGroupsStartSample.js +3 -2
  53. package/dist-esm/samples-dev/containerGroupsStartSample.js.map +1 -1
  54. package/dist-esm/samples-dev/containerGroupsStopSample.js +3 -2
  55. package/dist-esm/samples-dev/containerGroupsStopSample.js.map +1 -1
  56. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +5 -4
  57. package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +1 -1
  58. package/dist-esm/samples-dev/containersAttachSample.js +3 -2
  59. package/dist-esm/samples-dev/containersAttachSample.js.map +1 -1
  60. package/dist-esm/samples-dev/containersExecuteCommandSample.js +5 -4
  61. package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +1 -1
  62. package/dist-esm/samples-dev/containersListLogsSample.js +4 -3
  63. package/dist-esm/samples-dev/containersListLogsSample.js.map +1 -1
  64. package/dist-esm/samples-dev/locationListCachedImagesSample.js +3 -2
  65. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +1 -1
  66. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +3 -2
  67. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +1 -1
  68. package/dist-esm/samples-dev/locationListUsageSample.js +3 -2
  69. package/dist-esm/samples-dev/locationListUsageSample.js.map +1 -1
  70. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  71. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +3 -2
  72. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +1 -1
  73. package/dist-esm/src/containerInstanceManagementClient.d.ts +4 -3
  74. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -1
  75. package/dist-esm/src/containerInstanceManagementClient.js +13 -11
  76. package/dist-esm/src/containerInstanceManagementClient.js.map +1 -1
  77. package/dist-esm/src/lroImpl.js +1 -1
  78. package/dist-esm/src/models/index.d.ts +145 -3
  79. package/dist-esm/src/models/index.d.ts.map +1 -1
  80. package/dist-esm/src/models/index.js.map +1 -1
  81. package/dist-esm/src/models/mappers.d.ts +7 -0
  82. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  83. package/dist-esm/src/models/mappers.js +898 -640
  84. package/dist-esm/src/models/mappers.js.map +1 -1
  85. package/dist-esm/src/models/parameters.d.ts +4 -0
  86. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  87. package/dist-esm/src/models/parameters.js +87 -47
  88. package/dist-esm/src/models/parameters.js.map +1 -1
  89. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts +55 -0
  90. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +1 -0
  91. package/dist-esm/src/operations/containerGroupProfileOperations.js +191 -0
  92. package/dist-esm/src/operations/containerGroupProfileOperations.js.map +1 -0
  93. package/dist-esm/src/operations/containerGroupProfiles.d.ts +95 -0
  94. package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +1 -0
  95. package/dist-esm/src/operations/containerGroupProfiles.js +401 -0
  96. package/dist-esm/src/operations/containerGroupProfiles.js.map +1 -0
  97. package/dist-esm/src/operations/containerGroups.d.ts +15 -15
  98. package/dist-esm/src/operations/containerGroups.d.ts.map +1 -1
  99. package/dist-esm/src/operations/containerGroups.js +97 -97
  100. package/dist-esm/src/operations/containerGroups.js.map +1 -1
  101. package/dist-esm/src/operations/containers.d.ts +3 -3
  102. package/dist-esm/src/operations/containers.js +20 -20
  103. package/dist-esm/src/operations/containers.js.map +1 -1
  104. package/dist-esm/src/operations/index.d.ts +2 -0
  105. package/dist-esm/src/operations/index.d.ts.map +1 -1
  106. package/dist-esm/src/operations/index.js +2 -0
  107. package/dist-esm/src/operations/index.js.map +1 -1
  108. package/dist-esm/src/operations/location.d.ts +8 -8
  109. package/dist-esm/src/operations/location.js +36 -36
  110. package/dist-esm/src/operations/location.js.map +1 -1
  111. package/dist-esm/src/operations/operations.js +9 -9
  112. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts +2 -2
  113. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +1 -1
  114. package/dist-esm/src/operations/subnetServiceAssociationLink.js +11 -11
  115. package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  117. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  121. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +13 -13
  125. package/dist-esm/src/operationsInterfaces/containers.d.ts +3 -3
  126. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  127. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  129. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  130. package/dist-esm/src/operationsInterfaces/location.d.ts +3 -3
  131. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts +2 -2
  132. package/dist-esm/test/containerinstance_examples.d.ts.map +1 -1
  133. package/dist-esm/test/containerinstance_examples.js +1 -4
  134. package/dist-esm/test/containerinstance_examples.js.map +1 -1
  135. package/package.json +31 -35
  136. package/review/arm-containerinstance.api.md +155 -3
  137. package/src/containerInstanceManagementClient.ts +29 -20
  138. package/src/lroImpl.ts +3 -3
  139. package/src/models/index.ts +194 -17
  140. package/src/models/mappers.ts +974 -702
  141. package/src/models/parameters.ts +94 -48
  142. package/src/operations/containerGroupProfileOperations.ts +255 -0
  143. package/src/operations/containerGroupProfiles.ts +485 -0
  144. package/src/operations/containerGroups.ts +188 -201
  145. package/src/operations/containers.ts +30 -33
  146. package/src/operations/index.ts +2 -0
  147. package/src/operations/location.ts +63 -66
  148. package/src/operations/operations.ts +16 -16
  149. package/src/operations/subnetServiceAssociationLink.ts +24 -25
  150. package/src/operationsInterfaces/containerGroupProfileOperations.ts +50 -0
  151. package/src/operationsInterfaces/containerGroupProfiles.ts +99 -0
  152. package/src/operationsInterfaces/containerGroups.ts +28 -28
  153. package/src/operationsInterfaces/containers.ts +7 -7
  154. package/src/operationsInterfaces/index.ts +2 -0
  155. package/src/operationsInterfaces/location.ts +7 -7
  156. package/src/operationsInterfaces/operations.ts +1 -1
  157. package/src/operationsInterfaces/subnetServiceAssociationLink.ts +4 -4
  158. package/src/pagingHelper.ts +1 -1
  159. package/types/arm-containerinstance.d.ts +275 -26
@@ -0,0 +1,191 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing ContainerGroupProfileOperations operations. */
15
+ export class ContainerGroupProfileOperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class ContainerGroupProfileOperations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Get a list of all the revisions of the specified container group profile in the given subscription
25
+ * and resource group. This operation returns properties of each revision of the specified container
26
+ * group profile including containers, image registry credentials, restart policy, IP address type, OS
27
+ * type volumes, revision number, etc.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param containerGroupProfileName The name of the container group profile.
30
+ * @param options The options parameters.
31
+ */
32
+ listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
33
+ const iter = this.listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings);
46
+ },
47
+ };
48
+ }
49
+ listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings) {
50
+ return __asyncGenerator(this, arguments, function* listAllRevisionsPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield __await(this._listAllRevisions(resourceGroupName, containerGroupProfileName, options));
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ setContinuationToken(page, continuationToken);
58
+ yield yield __await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield __await(this._listAllRevisionsNext(resourceGroupName, containerGroupProfileName, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield yield __await(page);
66
+ }
67
+ });
68
+ }
69
+ listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options) {
70
+ return __asyncGenerator(this, arguments, function* listAllRevisionsPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = __asyncValues(this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * Get a list of all the revisions of the specified container group profile in the given subscription
91
+ * and resource group. This operation returns properties of each revision of the specified container
92
+ * group profile including containers, image registry credentials, restart policy, IP address type, OS
93
+ * type volumes, revision number, etc.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param containerGroupProfileName The name of the container group profile.
96
+ * @param options The options parameters.
97
+ */
98
+ _listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
99
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, listAllRevisionsOperationSpec);
100
+ }
101
+ /**
102
+ * Gets the properties of the specified revision of the container group profile in the given
103
+ * subscription and resource group. The operation returns the properties of container group profile
104
+ * including containers, image registry credentials, restart policy, IP address type, OS type, volumes,
105
+ * current revision number, etc.
106
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
107
+ * @param containerGroupProfileName The name of the container group profile.
108
+ * @param revisionNumber The revision number of the container group profile.
109
+ * @param options The options parameters.
110
+ */
111
+ getByRevisionNumber(resourceGroupName, containerGroupProfileName, revisionNumber, options) {
112
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, revisionNumber, options }, getByRevisionNumberOperationSpec);
113
+ }
114
+ /**
115
+ * ListAllRevisionsNext
116
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
117
+ * @param containerGroupProfileName The name of the container group profile.
118
+ * @param nextLink The nextLink from the previous successful call to the ListAllRevisions method.
119
+ * @param options The options parameters.
120
+ */
121
+ _listAllRevisionsNext(resourceGroupName, containerGroupProfileName, nextLink, options) {
122
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, nextLink, options }, listAllRevisionsNextOperationSpec);
123
+ }
124
+ }
125
+ // Operation Specifications
126
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
127
+ const listAllRevisionsOperationSpec = {
128
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions",
129
+ httpMethod: "GET",
130
+ responses: {
131
+ 200: {
132
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
133
+ },
134
+ default: {
135
+ bodyMapper: Mappers.CloudError,
136
+ },
137
+ },
138
+ queryParameters: [Parameters.apiVersion],
139
+ urlParameters: [
140
+ Parameters.$host,
141
+ Parameters.subscriptionId,
142
+ Parameters.resourceGroupName,
143
+ Parameters.containerGroupProfileName,
144
+ ],
145
+ headerParameters: [Parameters.accept],
146
+ serializer,
147
+ };
148
+ const getByRevisionNumberOperationSpec = {
149
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}",
150
+ httpMethod: "GET",
151
+ responses: {
152
+ 200: {
153
+ bodyMapper: Mappers.ContainerGroupProfile,
154
+ },
155
+ default: {
156
+ bodyMapper: Mappers.CloudError,
157
+ },
158
+ },
159
+ queryParameters: [Parameters.apiVersion],
160
+ urlParameters: [
161
+ Parameters.$host,
162
+ Parameters.subscriptionId,
163
+ Parameters.resourceGroupName,
164
+ Parameters.containerGroupProfileName,
165
+ Parameters.revisionNumber,
166
+ ],
167
+ headerParameters: [Parameters.accept],
168
+ serializer,
169
+ };
170
+ const listAllRevisionsNextOperationSpec = {
171
+ path: "{nextLink}",
172
+ httpMethod: "GET",
173
+ responses: {
174
+ 200: {
175
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
176
+ },
177
+ default: {
178
+ bodyMapper: Mappers.CloudError,
179
+ },
180
+ },
181
+ urlParameters: [
182
+ Parameters.$host,
183
+ Parameters.subscriptionId,
184
+ Parameters.resourceGroupName,
185
+ Parameters.nextLink,
186
+ Parameters.containerGroupProfileName,
187
+ ],
188
+ headerParameters: [Parameters.accept],
189
+ serializer,
190
+ };
191
+ //# sourceMappingURL=containerGroupProfileOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroupProfileOperations.js","sourceRoot":"","sources":["../../../src/operations/containerGroupProfileOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,mEAAmE;AACnE,MAAM,OAAO,mCAAmC;IAK9C;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,gBAAgB,CACrB,iBAAyB,EACzB,yBAAiC,EACjC,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,yBAAyB,CACzC,iBAAiB,EACjB,yBAAyB,EACzB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,0BAA0B,CACpC,iBAAiB,EACjB,yBAAyB,EACzB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,0BAA0B,CACvC,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,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,wLAAwL;IAC9L,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;QACpC,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,95 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ContainerGroupProfiles } from "../operationsInterfaces";
3
+ import { ContainerInstanceManagementClient } from "../containerInstanceManagementClient";
4
+ import { ContainerGroupProfile, ContainerGroupProfilesListOptionalParams, ContainerGroupProfilesListByResourceGroupOptionalParams, ContainerGroupProfilesGetOptionalParams, ContainerGroupProfilesGetResponse, ContainerGroupProfilesCreateOrUpdateOptionalParams, ContainerGroupProfilesCreateOrUpdateResponse, ContainerGroupProfilePatch, ContainerGroupProfilesPatchOptionalParams, ContainerGroupProfilesPatchResponse, ContainerGroupProfilesDeleteOptionalParams } from "../models";
5
+ /** Class containing ContainerGroupProfiles operations. */
6
+ export declare class ContainerGroupProfilesImpl implements ContainerGroupProfiles {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ContainerGroupProfiles class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ContainerInstanceManagementClient);
13
+ /**
14
+ * Get a list of container group profiles in the specified subscription. This operation returns
15
+ * properties of each container group profile including containers, image registry credentials, restart
16
+ * policy, IP address type, OS type,volumes,current revision number, etc.
17
+ * @param options The options parameters.
18
+ */
19
+ list(options?: ContainerGroupProfilesListOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * Get a list of container group profiles in a specified subscription and resource group. This
24
+ * operation returns properties of each container group profile including containers, image registry
25
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName: string, options?: ContainerGroupProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
30
+ private listByResourceGroupPagingPage;
31
+ private listByResourceGroupPagingAll;
32
+ /**
33
+ * Get a list of container group profiles in the specified subscription. This operation returns
34
+ * properties of each container group profile including containers, image registry credentials, restart
35
+ * policy, IP address type, OS type,volumes,current revision number, etc.
36
+ * @param options The options parameters.
37
+ */
38
+ private _list;
39
+ /**
40
+ * Get a list of container group profiles in a specified subscription and resource group. This
41
+ * operation returns properties of each container group profile including containers, image registry
42
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param options The options parameters.
45
+ */
46
+ private _listByResourceGroup;
47
+ /**
48
+ * Gets the properties of the specified container group profile in the specified subscription and
49
+ * resource group. The operation returns the properties of container group profile including
50
+ * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
51
+ * revision number, etc.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param containerGroupProfileName The name of the container group profile.
54
+ * @param options The options parameters.
55
+ */
56
+ get(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesGetOptionalParams): Promise<ContainerGroupProfilesGetResponse>;
57
+ /**
58
+ * Create or update container group profiles with specified configurations.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param containerGroupProfileName The name of the container group profile.
61
+ * @param containerGroupProfile The properties of the container group profile to be created or updated.
62
+ * @param options The options parameters.
63
+ */
64
+ createOrUpdate(resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: ContainerGroupProfilesCreateOrUpdateOptionalParams): Promise<ContainerGroupProfilesCreateOrUpdateResponse>;
65
+ /**
66
+ * Patches container group profile with specified properties.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param containerGroupProfileName The name of the container group profile.
69
+ * @param properties The container group profile properties that need to be updated.
70
+ * @param options The options parameters.
71
+ */
72
+ patch(resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: ContainerGroupProfilesPatchOptionalParams): Promise<ContainerGroupProfilesPatchResponse>;
73
+ /**
74
+ * Delete the specified container group profile in the specified subscription and resource group. The
75
+ * operation does not delete other resources provided by the user, such as volumes.
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param containerGroupProfileName The name of the container group profile.
78
+ * @param options The options parameters.
79
+ */
80
+ delete(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * ListNext
83
+ * @param nextLink The nextLink from the previous successful call to the List method.
84
+ * @param options The options parameters.
85
+ */
86
+ private _listNext;
87
+ /**
88
+ * ListByResourceGroupNext
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
91
+ * @param options The options parameters.
92
+ */
93
+ private _listByResourceGroupNext;
94
+ }
95
+ //# sourceMappingURL=containerGroupProfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroupProfiles.d.ts","sourceRoot":"","sources":["../../../src/operations/containerGroupProfiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EACL,qBAAqB,EAErB,wCAAwC,EAGxC,uDAAuD,EAEvD,uCAAuC,EACvC,iCAAiC,EACjC,kDAAkD,EAClD,4CAA4C,EAC5C,0BAA0B,EAC1B,yCAAyC,EACzC,mCAAmC,EACnC,0CAA0C,EAG3C,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,qBAAqB,CAAC;YAkBrC,cAAc;YAsBd,aAAa;IAQ5B;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC;YAsBrC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAMb;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;;;OAQG;IACH,GAAG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