@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.
- package/CHANGELOG.md +41 -10
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1855 -966
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +40 -0
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +55 -0
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +260 -0
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +58 -0
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesListSample.js +53 -0
- package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +42 -0
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +1 -0
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +88 -51
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsDeleteSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsGetSample.js +9 -6
- package/dist-esm/samples-dev/containerGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsListSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsRestartSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsStartSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsStartSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsStopSample.js +3 -2
- package/dist-esm/samples-dev/containerGroupsStopSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsUpdateSample.js +5 -4
- package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/containersAttachSample.js +3 -2
- package/dist-esm/samples-dev/containersAttachSample.js.map +1 -1
- package/dist-esm/samples-dev/containersExecuteCommandSample.js +5 -4
- package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +1 -1
- package/dist-esm/samples-dev/containersListLogsSample.js +4 -3
- package/dist-esm/samples-dev/containersListLogsSample.js.map +1 -1
- package/dist-esm/samples-dev/locationListCachedImagesSample.js +3 -2
- package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +1 -1
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js +3 -2
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +1 -1
- package/dist-esm/samples-dev/locationListUsageSample.js +3 -2
- package/dist-esm/samples-dev/locationListUsageSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +3 -2
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +1 -1
- package/dist-esm/src/containerInstanceManagementClient.d.ts +4 -3
- package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerInstanceManagementClient.js +13 -11
- package/dist-esm/src/containerInstanceManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +145 -3
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +898 -640
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +87 -47
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/containerGroupProfileOperations.d.ts +55 -0
- package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/containerGroupProfileOperations.js +191 -0
- package/dist-esm/src/operations/containerGroupProfileOperations.js.map +1 -0
- package/dist-esm/src/operations/containerGroupProfiles.d.ts +95 -0
- package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/containerGroupProfiles.js +401 -0
- package/dist-esm/src/operations/containerGroupProfiles.js.map +1 -0
- package/dist-esm/src/operations/containerGroups.d.ts +15 -15
- package/dist-esm/src/operations/containerGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/containerGroups.js +97 -97
- package/dist-esm/src/operations/containerGroups.js.map +1 -1
- package/dist-esm/src/operations/containers.d.ts +3 -3
- package/dist-esm/src/operations/containers.js +20 -20
- package/dist-esm/src/operations/containers.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/location.d.ts +8 -8
- package/dist-esm/src/operations/location.js +36 -36
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts +2 -2
- package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +1 -1
- package/dist-esm/src/operations/subnetServiceAssociationLink.js +11 -11
- package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +13 -13
- package/dist-esm/src/operationsInterfaces/containers.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts +2 -2
- package/dist-esm/test/containerinstance_examples.d.ts.map +1 -1
- package/dist-esm/test/containerinstance_examples.js +1 -4
- package/dist-esm/test/containerinstance_examples.js.map +1 -1
- package/package.json +31 -35
- package/review/arm-containerinstance.api.md +155 -3
- package/src/containerInstanceManagementClient.ts +29 -20
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +194 -17
- package/src/models/mappers.ts +974 -702
- package/src/models/parameters.ts +94 -48
- package/src/operations/containerGroupProfileOperations.ts +255 -0
- package/src/operations/containerGroupProfiles.ts +485 -0
- package/src/operations/containerGroups.ts +188 -201
- package/src/operations/containers.ts +30 -33
- package/src/operations/index.ts +2 -0
- package/src/operations/location.ts +63 -66
- package/src/operations/operations.ts +16 -16
- package/src/operations/subnetServiceAssociationLink.ts +24 -25
- package/src/operationsInterfaces/containerGroupProfileOperations.ts +50 -0
- package/src/operationsInterfaces/containerGroupProfiles.ts +99 -0
- package/src/operationsInterfaces/containerGroups.ts +28 -28
- package/src/operationsInterfaces/containers.ts +7 -7
- package/src/operationsInterfaces/index.ts +2 -0
- package/src/operationsInterfaces/location.ts +7 -7
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/subnetServiceAssociationLink.ts +4 -4
- package/src/pagingHelper.ts +1 -1
- package/types/arm-containerinstance.d.ts +275 -26
|
@@ -0,0 +1,401 @@
|
|
|
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 ContainerGroupProfiles operations. */
|
|
15
|
+
export class ContainerGroupProfilesImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class ContainerGroupProfiles class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get a list of container group profiles in the specified subscription. This operation returns
|
|
25
|
+
* properties of each container group profile including containers, image registry credentials, restart
|
|
26
|
+
* policy, IP address type, OS type,volumes,current revision number, etc.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(options) {
|
|
30
|
+
const iter = this.listPagingAll(options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listPagingPage(options, settings);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listPagingPage(options, settings) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = yield __await(this._list(options));
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield yield __await(page);
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield yield __await(page);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
listPagingAll(options) {
|
|
67
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
68
|
+
var _a, e_1, _b, _c;
|
|
69
|
+
try {
|
|
70
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
+
_c = _f.value;
|
|
72
|
+
_d = false;
|
|
73
|
+
const page = _c;
|
|
74
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
+
finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
+
}
|
|
82
|
+
finally { if (e_1) throw e_1.error; }
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Get a list of container group profiles in a specified subscription and resource group. This
|
|
88
|
+
* operation returns properties of each container group profile including containers, image registry
|
|
89
|
+
* credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
90
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
94
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
95
|
+
return {
|
|
96
|
+
next() {
|
|
97
|
+
return iter.next();
|
|
98
|
+
},
|
|
99
|
+
[Symbol.asyncIterator]() {
|
|
100
|
+
return this;
|
|
101
|
+
},
|
|
102
|
+
byPage: (settings) => {
|
|
103
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
104
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
|
+
}
|
|
106
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
111
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
112
|
+
let result;
|
|
113
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
114
|
+
if (!continuationToken) {
|
|
115
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
116
|
+
let page = result.value || [];
|
|
117
|
+
continuationToken = result.nextLink;
|
|
118
|
+
setContinuationToken(page, continuationToken);
|
|
119
|
+
yield yield __await(page);
|
|
120
|
+
}
|
|
121
|
+
while (continuationToken) {
|
|
122
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
123
|
+
continuationToken = result.nextLink;
|
|
124
|
+
let page = result.value || [];
|
|
125
|
+
setContinuationToken(page, continuationToken);
|
|
126
|
+
yield yield __await(page);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
131
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
132
|
+
var _a, e_2, _b, _c;
|
|
133
|
+
try {
|
|
134
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
+
_c = _f.value;
|
|
136
|
+
_d = false;
|
|
137
|
+
const page = _c;
|
|
138
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
+
finally {
|
|
143
|
+
try {
|
|
144
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
145
|
+
}
|
|
146
|
+
finally { if (e_2) throw e_2.error; }
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Get a list of container group profiles in the specified subscription. This operation returns
|
|
152
|
+
* properties of each container group profile including containers, image registry credentials, restart
|
|
153
|
+
* policy, IP address type, OS type,volumes,current revision number, etc.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
_list(options) {
|
|
157
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Get a list of container group profiles in a specified subscription and resource group. This
|
|
161
|
+
* operation returns properties of each container group profile including containers, image registry
|
|
162
|
+
* credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
163
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
|
+
* @param options The options parameters.
|
|
165
|
+
*/
|
|
166
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
167
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Gets the properties of the specified container group profile in the specified subscription and
|
|
171
|
+
* resource group. The operation returns the properties of container group profile including
|
|
172
|
+
* containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
|
|
173
|
+
* revision number, etc.
|
|
174
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
+
* @param containerGroupProfileName The name of the container group profile.
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
get(resourceGroupName, containerGroupProfileName, options) {
|
|
179
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, getOperationSpec);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Create or update container group profiles with specified configurations.
|
|
183
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
184
|
+
* @param containerGroupProfileName The name of the container group profile.
|
|
185
|
+
* @param containerGroupProfile The properties of the container group profile to be created or updated.
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile, options) {
|
|
189
|
+
return this.client.sendOperationRequest({
|
|
190
|
+
resourceGroupName,
|
|
191
|
+
containerGroupProfileName,
|
|
192
|
+
containerGroupProfile,
|
|
193
|
+
options,
|
|
194
|
+
}, createOrUpdateOperationSpec);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Patches container group profile with specified properties.
|
|
198
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
199
|
+
* @param containerGroupProfileName The name of the container group profile.
|
|
200
|
+
* @param properties The container group profile properties that need to be updated.
|
|
201
|
+
* @param options The options parameters.
|
|
202
|
+
*/
|
|
203
|
+
patch(resourceGroupName, containerGroupProfileName, properties, options) {
|
|
204
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, properties, options }, patchOperationSpec);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Delete the specified container group profile in the specified subscription and resource group. The
|
|
208
|
+
* operation does not delete other resources provided by the user, such as volumes.
|
|
209
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
210
|
+
* @param containerGroupProfileName The name of the container group profile.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
delete(resourceGroupName, containerGroupProfileName, options) {
|
|
214
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, deleteOperationSpec);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* ListNext
|
|
218
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
219
|
+
* @param options The options parameters.
|
|
220
|
+
*/
|
|
221
|
+
_listNext(nextLink, options) {
|
|
222
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* ListByResourceGroupNext
|
|
226
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
227
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
231
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
// Operation Specifications
|
|
235
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
236
|
+
const listOperationSpec = {
|
|
237
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
|
|
238
|
+
httpMethod: "GET",
|
|
239
|
+
responses: {
|
|
240
|
+
200: {
|
|
241
|
+
bodyMapper: Mappers.ContainerGroupProfileListResult,
|
|
242
|
+
},
|
|
243
|
+
default: {
|
|
244
|
+
bodyMapper: Mappers.CloudError,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
queryParameters: [Parameters.apiVersion],
|
|
248
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
249
|
+
headerParameters: [Parameters.accept],
|
|
250
|
+
serializer,
|
|
251
|
+
};
|
|
252
|
+
const listByResourceGroupOperationSpec = {
|
|
253
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
|
|
254
|
+
httpMethod: "GET",
|
|
255
|
+
responses: {
|
|
256
|
+
200: {
|
|
257
|
+
bodyMapper: Mappers.ContainerGroupProfileListResult,
|
|
258
|
+
},
|
|
259
|
+
default: {
|
|
260
|
+
bodyMapper: Mappers.CloudError,
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
queryParameters: [Parameters.apiVersion],
|
|
264
|
+
urlParameters: [
|
|
265
|
+
Parameters.$host,
|
|
266
|
+
Parameters.subscriptionId,
|
|
267
|
+
Parameters.resourceGroupName,
|
|
268
|
+
],
|
|
269
|
+
headerParameters: [Parameters.accept],
|
|
270
|
+
serializer,
|
|
271
|
+
};
|
|
272
|
+
const getOperationSpec = {
|
|
273
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
274
|
+
httpMethod: "GET",
|
|
275
|
+
responses: {
|
|
276
|
+
200: {
|
|
277
|
+
bodyMapper: Mappers.ContainerGroupProfile,
|
|
278
|
+
},
|
|
279
|
+
default: {
|
|
280
|
+
bodyMapper: Mappers.CloudError,
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
queryParameters: [Parameters.apiVersion],
|
|
284
|
+
urlParameters: [
|
|
285
|
+
Parameters.$host,
|
|
286
|
+
Parameters.subscriptionId,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.containerGroupProfileName,
|
|
289
|
+
],
|
|
290
|
+
headerParameters: [Parameters.accept],
|
|
291
|
+
serializer,
|
|
292
|
+
};
|
|
293
|
+
const createOrUpdateOperationSpec = {
|
|
294
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
295
|
+
httpMethod: "PUT",
|
|
296
|
+
responses: {
|
|
297
|
+
200: {
|
|
298
|
+
bodyMapper: Mappers.ContainerGroupProfile,
|
|
299
|
+
},
|
|
300
|
+
201: {
|
|
301
|
+
bodyMapper: Mappers.ContainerGroupProfile,
|
|
302
|
+
},
|
|
303
|
+
default: {
|
|
304
|
+
bodyMapper: Mappers.CloudError,
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
requestBody: Parameters.containerGroupProfile,
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
309
|
+
urlParameters: [
|
|
310
|
+
Parameters.$host,
|
|
311
|
+
Parameters.subscriptionId,
|
|
312
|
+
Parameters.resourceGroupName,
|
|
313
|
+
Parameters.containerGroupProfileName,
|
|
314
|
+
],
|
|
315
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
316
|
+
mediaType: "json",
|
|
317
|
+
serializer,
|
|
318
|
+
};
|
|
319
|
+
const patchOperationSpec = {
|
|
320
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
321
|
+
httpMethod: "PATCH",
|
|
322
|
+
responses: {
|
|
323
|
+
200: {
|
|
324
|
+
bodyMapper: Mappers.ContainerGroupProfile,
|
|
325
|
+
},
|
|
326
|
+
default: {
|
|
327
|
+
bodyMapper: Mappers.CloudError,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
requestBody: Parameters.properties,
|
|
331
|
+
queryParameters: [Parameters.apiVersion],
|
|
332
|
+
urlParameters: [
|
|
333
|
+
Parameters.$host,
|
|
334
|
+
Parameters.subscriptionId,
|
|
335
|
+
Parameters.resourceGroupName,
|
|
336
|
+
Parameters.containerGroupProfileName,
|
|
337
|
+
],
|
|
338
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
339
|
+
mediaType: "json",
|
|
340
|
+
serializer,
|
|
341
|
+
};
|
|
342
|
+
const deleteOperationSpec = {
|
|
343
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
344
|
+
httpMethod: "DELETE",
|
|
345
|
+
responses: {
|
|
346
|
+
200: {},
|
|
347
|
+
204: {},
|
|
348
|
+
default: {
|
|
349
|
+
bodyMapper: Mappers.CloudError,
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
queryParameters: [Parameters.apiVersion],
|
|
353
|
+
urlParameters: [
|
|
354
|
+
Parameters.$host,
|
|
355
|
+
Parameters.subscriptionId,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.containerGroupProfileName,
|
|
358
|
+
],
|
|
359
|
+
headerParameters: [Parameters.accept],
|
|
360
|
+
serializer,
|
|
361
|
+
};
|
|
362
|
+
const listNextOperationSpec = {
|
|
363
|
+
path: "{nextLink}",
|
|
364
|
+
httpMethod: "GET",
|
|
365
|
+
responses: {
|
|
366
|
+
200: {
|
|
367
|
+
bodyMapper: Mappers.ContainerGroupProfileListResult,
|
|
368
|
+
},
|
|
369
|
+
default: {
|
|
370
|
+
bodyMapper: Mappers.CloudError,
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
urlParameters: [
|
|
374
|
+
Parameters.$host,
|
|
375
|
+
Parameters.subscriptionId,
|
|
376
|
+
Parameters.nextLink,
|
|
377
|
+
],
|
|
378
|
+
headerParameters: [Parameters.accept],
|
|
379
|
+
serializer,
|
|
380
|
+
};
|
|
381
|
+
const listByResourceGroupNextOperationSpec = {
|
|
382
|
+
path: "{nextLink}",
|
|
383
|
+
httpMethod: "GET",
|
|
384
|
+
responses: {
|
|
385
|
+
200: {
|
|
386
|
+
bodyMapper: Mappers.ContainerGroupProfileListResult,
|
|
387
|
+
},
|
|
388
|
+
default: {
|
|
389
|
+
bodyMapper: Mappers.CloudError,
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
urlParameters: [
|
|
393
|
+
Parameters.$host,
|
|
394
|
+
Parameters.subscriptionId,
|
|
395
|
+
Parameters.resourceGroupName,
|
|
396
|
+
Parameters.nextLink,
|
|
397
|
+
],
|
|
398
|
+
headerParameters: [Parameters.accept],
|
|
399
|
+
serializer,
|
|
400
|
+
};
|
|
401
|
+
//# sourceMappingURL=containerGroupProfiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfiles.js","sourceRoot":"","sources":["../../../src/operations/containerGroupProfiles.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;AAsBnD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,IAA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
24
|
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
25
25
|
* returns properties of each container group including containers, image registry credentials, restart
|
|
26
26
|
* policy, IP address type, OS type, state, and volumes.
|
|
27
|
-
* @param resourceGroupName The name of the resource group.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
28
|
* @param options The options parameters.
|
|
29
29
|
*/
|
|
30
30
|
listByResourceGroup(resourceGroupName: string, options?: ContainerGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
|
|
@@ -41,7 +41,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
41
41
|
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
42
42
|
* returns properties of each container group including containers, image registry credentials, restart
|
|
43
43
|
* policy, IP address type, OS type, state, and volumes.
|
|
44
|
-
* @param resourceGroupName The name of the resource group.
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
45
|
* @param options The options parameters.
|
|
46
46
|
*/
|
|
47
47
|
private _listByResourceGroup;
|
|
@@ -49,14 +49,14 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
49
49
|
* Gets the properties of the specified container group in the specified subscription and resource
|
|
50
50
|
* group. The operation returns the properties of each container group including containers, image
|
|
51
51
|
* registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
52
|
-
* @param resourceGroupName The name of the resource group.
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
53
|
* @param containerGroupName The name of the container group.
|
|
54
54
|
* @param options The options parameters.
|
|
55
55
|
*/
|
|
56
56
|
get(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOptionalParams): Promise<ContainerGroupsGetResponse>;
|
|
57
57
|
/**
|
|
58
58
|
* Create or update container groups with specified configurations.
|
|
59
|
-
* @param resourceGroupName The name of the resource group.
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
60
|
* @param containerGroupName The name of the container group.
|
|
61
61
|
* @param containerGroup The properties of the container group to be created or updated.
|
|
62
62
|
* @param options The options parameters.
|
|
@@ -64,7 +64,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
64
64
|
beginCreateOrUpdate(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ContainerGroupsCreateOrUpdateResponse>, ContainerGroupsCreateOrUpdateResponse>>;
|
|
65
65
|
/**
|
|
66
66
|
* Create or update container groups with specified configurations.
|
|
67
|
-
* @param resourceGroupName The name of the resource group.
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
68
|
* @param containerGroupName The name of the container group.
|
|
69
69
|
* @param containerGroup The properties of the container group to be created or updated.
|
|
70
70
|
* @param options The options parameters.
|
|
@@ -72,7 +72,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
72
72
|
beginCreateOrUpdateAndWait(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<ContainerGroupsCreateOrUpdateResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* Updates container group tags with specified values.
|
|
75
|
-
* @param resourceGroupName The name of the resource group.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
76
|
* @param containerGroupName The name of the container group.
|
|
77
77
|
* @param resource The container group resource with just the tags to be updated.
|
|
78
78
|
* @param options The options parameters.
|
|
@@ -81,7 +81,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
81
81
|
/**
|
|
82
82
|
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
83
83
|
* does not delete other resources provided by the user, such as volumes.
|
|
84
|
-
* @param resourceGroupName The name of the resource group.
|
|
84
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
85
85
|
* @param containerGroupName The name of the container group.
|
|
86
86
|
* @param options The options parameters.
|
|
87
87
|
*/
|
|
@@ -89,7 +89,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
89
89
|
/**
|
|
90
90
|
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
91
91
|
* does not delete other resources provided by the user, such as volumes.
|
|
92
|
-
* @param resourceGroupName The name of the resource group.
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
93
|
* @param containerGroupName The name of the container group.
|
|
94
94
|
* @param options The options parameters.
|
|
95
95
|
*/
|
|
@@ -97,7 +97,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
97
97
|
/**
|
|
98
98
|
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
99
99
|
* will be downloaded.
|
|
100
|
-
* @param resourceGroupName The name of the resource group.
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
101
|
* @param containerGroupName The name of the container group.
|
|
102
102
|
* @param options The options parameters.
|
|
103
103
|
*/
|
|
@@ -105,7 +105,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
105
105
|
/**
|
|
106
106
|
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
107
107
|
* will be downloaded.
|
|
108
|
-
* @param resourceGroupName The name of the resource group.
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
109
|
* @param containerGroupName The name of the container group.
|
|
110
110
|
* @param options The options parameters.
|
|
111
111
|
*/
|
|
@@ -113,7 +113,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
113
113
|
/**
|
|
114
114
|
* Stops all containers in a container group. Compute resources will be deallocated and billing will
|
|
115
115
|
* stop.
|
|
116
|
-
* @param resourceGroupName The name of the resource group.
|
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
117
117
|
* @param containerGroupName The name of the container group.
|
|
118
118
|
* @param options The options parameters.
|
|
119
119
|
*/
|
|
@@ -121,7 +121,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
121
121
|
/**
|
|
122
122
|
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
123
123
|
* start.
|
|
124
|
-
* @param resourceGroupName The name of the resource group.
|
|
124
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
125
125
|
* @param containerGroupName The name of the container group.
|
|
126
126
|
* @param options The options parameters.
|
|
127
127
|
*/
|
|
@@ -129,7 +129,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
129
129
|
/**
|
|
130
130
|
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
131
131
|
* start.
|
|
132
|
-
* @param resourceGroupName The name of the resource group.
|
|
132
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
133
|
* @param containerGroupName The name of the container group.
|
|
134
134
|
* @param options The options parameters.
|
|
135
135
|
*/
|
|
@@ -137,7 +137,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
137
137
|
/**
|
|
138
138
|
* Gets all the network dependencies for this container group to allow complete control of network
|
|
139
139
|
* setting and configuration. For container groups, this will always be an empty list.
|
|
140
|
-
* @param resourceGroupName The name of the resource group.
|
|
140
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
141
141
|
* @param containerGroupName The name of the container group.
|
|
142
142
|
* @param options The options parameters.
|
|
143
143
|
*/
|
|
@@ -150,7 +150,7 @@ export declare class ContainerGroupsImpl implements ContainerGroups {
|
|
|
150
150
|
private _listNext;
|
|
151
151
|
/**
|
|
152
152
|
* ListByResourceGroupNext
|
|
153
|
-
* @param resourceGroupName The name of the resource group.
|
|
153
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
154
154
|
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
155
155
|
* @param options The options parameters.
|
|
156
156
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroups.d.ts","sourceRoot":"","sources":["../../../src/operations/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AAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qCAAqC,CAAC,EACrD,qCAAqC,CACtC,CACF;
|
|
1
|
+
{"version":3,"file":"containerGroups.d.ts","sourceRoot":"","sources":["../../../src/operations/containerGroups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EAEd,iCAAiC,EAGjC,gDAAgD,EAEhD,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,QAAQ,EACR,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,iCAAiC,EACjC,kCAAkC,EAClC,oEAAoE,EACpE,8DAA8D,EAG/D,MAAM,WAAW,CAAC;AAGnB,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,cAAc,CAAC;YAkB9B,cAAc;YAsBd,aAAa;IAQ5B;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,cAAc,CAAC;YAsB9B,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;;OAKG;IACH,OAAO,CAAC,KAAK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