@azure/arm-containerinstance 9.1.1-alpha.20241024.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 +30 -31
- 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,260 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Create or update container group profiles with specified configurations.
|
|
17
|
+
*
|
|
18
|
+
* @summary Create or update container group profiles with specified configurations.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json
|
|
20
|
+
*/
|
|
21
|
+
function confidentialContainerGroupProfile() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-0000-0000-0000-000000000000";
|
|
25
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
+
const containerGroupProfileName = "demo1";
|
|
27
|
+
const containerGroupProfile = {
|
|
28
|
+
confidentialComputeProperties: {
|
|
29
|
+
ccePolicy: "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
|
|
30
|
+
},
|
|
31
|
+
containers: [
|
|
32
|
+
{
|
|
33
|
+
name: "accdemo",
|
|
34
|
+
command: [],
|
|
35
|
+
environmentVariables: [],
|
|
36
|
+
image: "confiimage",
|
|
37
|
+
ports: [{ port: 8000 }],
|
|
38
|
+
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
39
|
+
securityContext: {
|
|
40
|
+
capabilities: { add: ["CAP_NET_ADMIN"] },
|
|
41
|
+
privileged: false,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
imageRegistryCredentials: [],
|
|
46
|
+
ipAddress: { type: "Public", ports: [{ port: 8000, protocol: "TCP" }] },
|
|
47
|
+
location: "westeurope",
|
|
48
|
+
osType: "Linux",
|
|
49
|
+
sku: "Confidential",
|
|
50
|
+
zones: ["1"],
|
|
51
|
+
};
|
|
52
|
+
const credential = new DefaultAzureCredential();
|
|
53
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
54
|
+
const result = yield client.containerGroupProfiles.createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile);
|
|
55
|
+
console.log(result);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* This sample demonstrates how to Create or update container group profiles with specified configurations.
|
|
60
|
+
*
|
|
61
|
+
* @summary Create or update container group profiles with specified configurations.
|
|
62
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json
|
|
63
|
+
*/
|
|
64
|
+
function containerGroupProfileCreateWithExtensions() {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
67
|
+
"00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
69
|
+
const containerGroupProfileName = "demo1";
|
|
70
|
+
const containerGroupProfile = {
|
|
71
|
+
containers: [
|
|
72
|
+
{
|
|
73
|
+
name: "demo1",
|
|
74
|
+
command: [],
|
|
75
|
+
environmentVariables: [],
|
|
76
|
+
image: "nginx",
|
|
77
|
+
ports: [{ port: 80 }],
|
|
78
|
+
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
imageRegistryCredentials: [],
|
|
82
|
+
ipAddress: { type: "Private", ports: [{ port: 80, protocol: "TCP" }] },
|
|
83
|
+
location: "eastus2",
|
|
84
|
+
osType: "Linux",
|
|
85
|
+
zones: ["1"],
|
|
86
|
+
extensions: [
|
|
87
|
+
{
|
|
88
|
+
name: "kube-proxy",
|
|
89
|
+
extensionType: "kube-proxy",
|
|
90
|
+
protectedSettings: { kubeConfig: "<kubeconfig encoded string>" },
|
|
91
|
+
settings: { clusterCidr: "10.240.0.0/16", kubeVersion: "v1.9.10" },
|
|
92
|
+
version: "1.0",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "vk-realtime-metrics",
|
|
96
|
+
extensionType: "realtime-metrics",
|
|
97
|
+
version: "1.0",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
};
|
|
101
|
+
const credential = new DefaultAzureCredential();
|
|
102
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
103
|
+
const result = yield client.containerGroupProfiles.createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile);
|
|
104
|
+
console.log(result);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* This sample demonstrates how to Create or update container group profiles with specified configurations.
|
|
109
|
+
*
|
|
110
|
+
* @summary Create or update container group profiles with specified configurations.
|
|
111
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json
|
|
112
|
+
*/
|
|
113
|
+
function containerGroupProfileWithEncryptionProperties() {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
116
|
+
"00000000-0000-0000-0000-000000000000";
|
|
117
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
118
|
+
const containerGroupProfileName = "demo1";
|
|
119
|
+
const containerGroupProfile = {
|
|
120
|
+
containers: [
|
|
121
|
+
{
|
|
122
|
+
name: "demo1",
|
|
123
|
+
command: [],
|
|
124
|
+
environmentVariables: [],
|
|
125
|
+
image: "nginx",
|
|
126
|
+
ports: [{ port: 80 }],
|
|
127
|
+
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
encryptionProperties: {
|
|
131
|
+
identity: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity",
|
|
132
|
+
keyName: "test-key",
|
|
133
|
+
keyVersion: "<key version>",
|
|
134
|
+
vaultBaseUrl: "https://testkeyvault.vault.azure.net",
|
|
135
|
+
},
|
|
136
|
+
imageRegistryCredentials: [],
|
|
137
|
+
ipAddress: { type: "Public", ports: [{ port: 80, protocol: "TCP" }] },
|
|
138
|
+
location: "eastus2",
|
|
139
|
+
osType: "Linux",
|
|
140
|
+
zones: ["1"],
|
|
141
|
+
};
|
|
142
|
+
const credential = new DefaultAzureCredential();
|
|
143
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
144
|
+
const result = yield client.containerGroupProfiles.createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile);
|
|
145
|
+
console.log(result);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* This sample demonstrates how to Create or update container group profiles with specified configurations.
|
|
150
|
+
*
|
|
151
|
+
* @summary Create or update container group profiles with specified configurations.
|
|
152
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesCreateOrUpdate.json
|
|
153
|
+
*/
|
|
154
|
+
function containerGroupProfilesCreateOrUpdate() {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
157
|
+
"00000000-0000-0000-0000-000000000000";
|
|
158
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
159
|
+
const containerGroupProfileName = "demo1";
|
|
160
|
+
const containerGroupProfile = {
|
|
161
|
+
containers: [
|
|
162
|
+
{
|
|
163
|
+
name: "demo1",
|
|
164
|
+
command: [],
|
|
165
|
+
environmentVariables: [],
|
|
166
|
+
image: "nginx",
|
|
167
|
+
ports: [{ port: 80 }],
|
|
168
|
+
resources: {
|
|
169
|
+
requests: { cpu: 1, gpu: { count: 1, sku: "K80" }, memoryInGB: 1.5 },
|
|
170
|
+
},
|
|
171
|
+
volumeMounts: [
|
|
172
|
+
{ name: "volume1", mountPath: "/mnt/volume1", readOnly: false },
|
|
173
|
+
{ name: "volume2", mountPath: "/mnt/volume2", readOnly: false },
|
|
174
|
+
{ name: "volume3", mountPath: "/mnt/volume3", readOnly: true },
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
diagnostics: {
|
|
179
|
+
logAnalytics: {
|
|
180
|
+
logType: "ContainerInsights",
|
|
181
|
+
metadata: { podUuid: "test-metadata-value" },
|
|
182
|
+
workspaceId: "workspaceid",
|
|
183
|
+
workspaceKey: "workspaceKey",
|
|
184
|
+
workspaceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
imageRegistryCredentials: [],
|
|
188
|
+
ipAddress: { type: "Public", ports: [{ port: 80, protocol: "TCP" }] },
|
|
189
|
+
location: "west us",
|
|
190
|
+
osType: "Linux",
|
|
191
|
+
volumes: [
|
|
192
|
+
{
|
|
193
|
+
name: "volume1",
|
|
194
|
+
azureFile: {
|
|
195
|
+
shareName: "shareName",
|
|
196
|
+
storageAccountKey: "accountKey",
|
|
197
|
+
storageAccountName: "accountName",
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
{ name: "volume2", emptyDir: {} },
|
|
201
|
+
{
|
|
202
|
+
name: "volume3",
|
|
203
|
+
secret: {
|
|
204
|
+
secretKey1: "SecretValue1InBase64",
|
|
205
|
+
secretKey2: "SecretValue2InBase64",
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
zones: ["1"],
|
|
210
|
+
};
|
|
211
|
+
const credential = new DefaultAzureCredential();
|
|
212
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
213
|
+
const result = yield client.containerGroupProfiles.createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile);
|
|
214
|
+
console.log(result);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* This sample demonstrates how to Create or update container group profiles with specified configurations.
|
|
219
|
+
*
|
|
220
|
+
* @summary Create or update container group profiles with specified configurations.
|
|
221
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsProfileCreateOrUpdate_CreatePriority.json
|
|
222
|
+
*/
|
|
223
|
+
function containerGroupsCreateWithPriority() {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
226
|
+
"00000000-0000-0000-0000-000000000000";
|
|
227
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
228
|
+
const containerGroupProfileName = "demo1";
|
|
229
|
+
const containerGroupProfile = {
|
|
230
|
+
containers: [
|
|
231
|
+
{
|
|
232
|
+
name: "test-container-001",
|
|
233
|
+
command: ["/bin/sh", "-c", "sleep 10"],
|
|
234
|
+
image: "alpine:latest",
|
|
235
|
+
resources: { requests: { cpu: 1, memoryInGB: 1 } },
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
location: "eastus",
|
|
239
|
+
osType: "Linux",
|
|
240
|
+
priority: "Spot",
|
|
241
|
+
restartPolicy: "Never",
|
|
242
|
+
sku: "Standard",
|
|
243
|
+
};
|
|
244
|
+
const credential = new DefaultAzureCredential();
|
|
245
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
246
|
+
const result = yield client.containerGroupProfiles.createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile);
|
|
247
|
+
console.log(result);
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
function main() {
|
|
251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
+
confidentialContainerGroupProfile();
|
|
253
|
+
containerGroupProfileCreateWithExtensions();
|
|
254
|
+
containerGroupProfileWithEncryptionProperties();
|
|
255
|
+
containerGroupProfilesCreateOrUpdate();
|
|
256
|
+
containerGroupsCreateWithPriority();
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
main().catch(console.error);
|
|
260
|
+
//# sourceMappingURL=containerGroupProfilesCreateOrUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAA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AK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Delete the specified container group profile in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.
|
|
17
|
+
*
|
|
18
|
+
* @summary Delete the specified container group profile in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesDelete.json
|
|
20
|
+
*/
|
|
21
|
+
function containerGroupProfilesDelete() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-0000-0000-0000-000000000000";
|
|
25
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
+
const containerGroupProfileName = "demo1";
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
29
|
+
const result = yield client.containerGroupProfiles.delete(resourceGroupName, containerGroupProfileName);
|
|
30
|
+
console.log(result);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function main() {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
containerGroupProfilesDelete();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
main().catch(console.error);
|
|
39
|
+
//# sourceMappingURL=containerGroupProfilesDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,yBAAyB,GAAG,OAAO,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
|
|
17
|
+
*
|
|
18
|
+
* @summary Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGetPriority.json
|
|
20
|
+
*/
|
|
21
|
+
function containerGroupProfilesGetWithPriority() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-0000-0000-0000-000000000000";
|
|
25
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
+
const containerGroupProfileName = "demo1";
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
29
|
+
const result = yield client.containerGroupProfiles.get(resourceGroupName, containerGroupProfileName);
|
|
30
|
+
console.log(result);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* This sample demonstrates how to Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
|
|
35
|
+
*
|
|
36
|
+
* @summary Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
|
|
37
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGet.json
|
|
38
|
+
*/
|
|
39
|
+
function containerGroupProfilesGetSucceeded() {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
42
|
+
"00000000-0000-0000-0000-000000000000";
|
|
43
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
44
|
+
const containerGroupProfileName = "demo1";
|
|
45
|
+
const credential = new DefaultAzureCredential();
|
|
46
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
47
|
+
const result = yield client.containerGroupProfiles.get(resourceGroupName, containerGroupProfileName);
|
|
48
|
+
console.log(result);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function main() {
|
|
52
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
containerGroupProfilesGetWithPriority();
|
|
54
|
+
containerGroupProfilesGetSucceeded();
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
main().catch(console.error);
|
|
58
|
+
//# sourceMappingURL=containerGroupProfilesGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesGetSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,yBAAyB,GAAG,OAAO,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,yBAAyB,GAAG,OAAO,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;QACxC,kCAAkC,EAAE,CAAC;IACvC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get a list of container group profiles in a specified subscription and resource group. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
17
|
+
*
|
|
18
|
+
* @summary Get a list of container group profiles in a specified subscription and resource group. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesListByResourceGroup.json
|
|
20
|
+
*/
|
|
21
|
+
function containerGroupProfilesListByResourceGroup() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
25
|
+
"00000000-0000-0000-0000-000000000000";
|
|
26
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
29
|
+
const resArray = new Array();
|
|
30
|
+
try {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.containerGroupProfiles.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
|
+
_c = _f.value;
|
|
33
|
+
_d = false;
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
39
|
+
finally {
|
|
40
|
+
try {
|
|
41
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
42
|
+
}
|
|
43
|
+
finally { if (e_1) throw e_1.error; }
|
|
44
|
+
}
|
|
45
|
+
console.log(resArray);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function main() {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
containerGroupProfilesListByResourceGroup();
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
main().catch(console.error);
|
|
54
|
+
//# sourceMappingURL=containerGroupProfilesListByResourceGroupSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,mBAAmB,CACtE,iBAAiB,CAClB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get a list of container group profiles in the specified subscription. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type,volumes,current revision number, etc.
|
|
17
|
+
*
|
|
18
|
+
* @summary Get a list of container group profiles in the specified subscription. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type,volumes,current revision number, etc.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesList.json
|
|
20
|
+
*/
|
|
21
|
+
function containerGroupProfilesList() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
25
|
+
"00000000-0000-0000-0000-000000000000";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
28
|
+
const resArray = new Array();
|
|
29
|
+
try {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.containerGroupProfiles.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
|
+
_c = _f.value;
|
|
32
|
+
_d = false;
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
+
finally {
|
|
39
|
+
try {
|
|
40
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
41
|
+
}
|
|
42
|
+
finally { if (e_1) throw e_1.error; }
|
|
43
|
+
}
|
|
44
|
+
console.log(resArray);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function main() {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
containerGroupProfilesList();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
main().catch(console.error);
|
|
53
|
+
//# sourceMappingURL=containerGroupProfilesListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesListSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAAvC,cAAoC;gBAApC,WAAoC;gBAAhD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesPatchSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesPatchSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Patches container group profile with specified properties.
|
|
17
|
+
*
|
|
18
|
+
* @summary Patches container group profile with specified properties.
|
|
19
|
+
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesPatch.json
|
|
20
|
+
*/
|
|
21
|
+
function containerGroupProfilesPatch() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-0000-0000-0000-000000000000";
|
|
25
|
+
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demoResource";
|
|
26
|
+
const containerGroupProfileName = "demo1";
|
|
27
|
+
const properties = {
|
|
28
|
+
tags: { tag1key: "tag1Value", tag2key: "tag2Value" },
|
|
29
|
+
};
|
|
30
|
+
const credential = new DefaultAzureCredential();
|
|
31
|
+
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
32
|
+
const result = yield client.containerGroupProfiles.patch(resourceGroupName, containerGroupProfileName, properties);
|
|
33
|
+
console.log(result);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function main() {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
containerGroupProfilesPatch();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
main().catch(console.error);
|
|
42
|
+
//# sourceMappingURL=containerGroupProfilesPatchSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerGroupProfilesPatchSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesPatchSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,cAAc,CAAC;QACpE,MAAM,yBAAyB,GAAG,OAAO,CAAC;QAC1C,MAAM,UAAU,GAA+B;YAC7C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE;SACrD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,KAAK,CACtD,iBAAiB,EACjB,yBAAyB,EACzB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|