@pulumi/gcp 6.4.0 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apigee/environmentIamBinding.d.ts +166 -0
- package/apigee/environmentIamBinding.js +155 -0
- package/apigee/environmentIamBinding.js.map +1 -0
- package/apigee/environmentIamMember.d.ts +166 -0
- package/apigee/environmentIamMember.js +155 -0
- package/apigee/environmentIamMember.js.map +1 -0
- package/apigee/environmentIamPolicy.d.ts +156 -0
- package/apigee/environmentIamPolicy.js +148 -0
- package/apigee/environmentIamPolicy.js.map +1 -0
- package/apigee/index.d.ts +3 -0
- package/apigee/index.js +15 -0
- package/apigee/index.js.map +1 -1
- package/bigquery/dataTransferConfig.d.ts +3 -3
- package/bigquery/routine.d.ts +24 -3
- package/bigquery/routine.js +2 -0
- package/bigquery/routine.js.map +1 -1
- package/certificateauthority/authority.d.ts +2 -1
- package/certificateauthority/authority.js +2 -1
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +2 -0
- package/certificateauthority/certificate.js +2 -0
- package/certificateauthority/certificate.js.map +1 -1
- package/certificateauthority/certificateTemplate.d.ts +3 -0
- package/certificateauthority/certificateTemplate.js +3 -0
- package/certificateauthority/certificateTemplate.js.map +1 -1
- package/cloudbuild/trigger.d.ts +7 -0
- package/cloudbuild/trigger.js +7 -0
- package/cloudbuild/trigger.js.map +1 -1
- package/cloudbuild/workerPool.d.ts +60 -0
- package/cloudbuild/workerPool.js +60 -0
- package/cloudbuild/workerPool.js.map +1 -1
- package/cloudfunctions/function.d.ts +12 -0
- package/cloudfunctions/function.js +2 -0
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/compute/forwardingRule.d.ts +199 -10
- package/compute/forwardingRule.js +190 -4
- package/compute/forwardingRule.js.map +1 -1
- package/compute/networkPeering.d.ts +5 -5
- package/compute/networkPeering.js +5 -5
- package/compute/packetMirroring.d.ts +1 -1
- package/compute/packetMirroring.js +1 -1
- package/compute/regionBackendService.d.ts +6 -6
- package/compute/subnetwork.d.ts +9 -15
- package/compute/subnetwork.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/container/awsCluster.d.ts +326 -0
- package/container/awsCluster.js +198 -0
- package/container/awsCluster.js.map +1 -0
- package/container/awsNodePool.d.ts +355 -0
- package/container/awsNodePool.js +242 -0
- package/container/awsNodePool.js.map +1 -0
- package/container/azureClient.d.ts +156 -0
- package/container/azureClient.js +110 -0
- package/container/azureClient.js.map +1 -0
- package/container/azureCluster.d.ts +322 -0
- package/container/azureCluster.js +180 -0
- package/container/azureCluster.js.map +1 -0
- package/container/azureNodePool.d.ts +323 -0
- package/container/azureNodePool.js +200 -0
- package/container/azureNodePool.js.map +1 -0
- package/container/getAwsVersions.d.ts +66 -0
- package/container/getAwsVersions.js +42 -0
- package/container/getAwsVersions.js.map +1 -0
- package/container/getAzureVersions.d.ts +66 -0
- package/container/getAzureVersions.js +42 -0
- package/container/getAzureVersions.js.map +1 -0
- package/container/index.d.ts +7 -0
- package/container/index.js +27 -0
- package/container/index.js.map +1 -1
- package/filestore/instance.d.ts +33 -13
- package/filestore/instance.js +7 -12
- package/filestore/instance.js.map +1 -1
- package/notebooks/index.d.ts +3 -0
- package/notebooks/index.js +15 -0
- package/notebooks/index.js.map +1 -1
- package/notebooks/runtimeIamBinding.d.ts +193 -0
- package/notebooks/runtimeIamBinding.js +157 -0
- package/notebooks/runtimeIamBinding.js.map +1 -0
- package/notebooks/runtimeIamMember.d.ts +193 -0
- package/notebooks/runtimeIamMember.js +157 -0
- package/notebooks/runtimeIamMember.js.map +1 -0
- package/notebooks/runtimeIamPolicy.d.ts +183 -0
- package/notebooks/runtimeIamPolicy.js +150 -0
- package/notebooks/runtimeIamPolicy.js.map +1 -0
- package/osconfig/index.d.ts +1 -0
- package/osconfig/index.js +5 -0
- package/osconfig/index.js.map +1 -1
- package/osconfig/osPolicyAssignment.d.ts +672 -0
- package/osconfig/osPolicyAssignment.js +568 -0
- package/osconfig/osPolicyAssignment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/storage/bucket.d.ts +12 -0
- package/storage/bucket.js +2 -0
- package/storage/bucket.js.map +1 -1
- package/storage/getBucket.d.ts +1 -0
- package/storage/getBucket.js.map +1 -1
- package/types/input.d.ts +7380 -6218
- package/types/output.d.ts +6360 -5196
- package/vertex/aiMetadataStore.d.ts +3 -3
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Represents an OSPolicyAssignment resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### Fixed_os_policy_assignment
|
|
8
|
+
* An example of an osconfig os policy assignment with fixed rollout disruption budget
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gcp from "@pulumi/gcp";
|
|
12
|
+
*
|
|
13
|
+
* const primary = new gcp.osconfig.OsPolicyAssignment("primary", {
|
|
14
|
+
* description: "A test os policy assignment",
|
|
15
|
+
* instanceFilter: {
|
|
16
|
+
* all: false,
|
|
17
|
+
* exclusionLabels: [{
|
|
18
|
+
* labels: {
|
|
19
|
+
* "label-two": "value-two",
|
|
20
|
+
* },
|
|
21
|
+
* }],
|
|
22
|
+
* inclusionLabels: [{
|
|
23
|
+
* labels: {
|
|
24
|
+
* "label-one": "value-one",
|
|
25
|
+
* },
|
|
26
|
+
* }],
|
|
27
|
+
* inventories: [{
|
|
28
|
+
* osShortName: "centos",
|
|
29
|
+
* osVersion: "8.*",
|
|
30
|
+
* }],
|
|
31
|
+
* },
|
|
32
|
+
* location: "us-west1-a",
|
|
33
|
+
* osPolicies: [{
|
|
34
|
+
* allowNoResourceGroupMatch: false,
|
|
35
|
+
* description: "A test os policy",
|
|
36
|
+
* id: "policy",
|
|
37
|
+
* mode: "VALIDATION",
|
|
38
|
+
* resourceGroups: [
|
|
39
|
+
* {
|
|
40
|
+
* inventoryFilters: [{
|
|
41
|
+
* osShortName: "centos",
|
|
42
|
+
* osVersion: "8.*",
|
|
43
|
+
* }],
|
|
44
|
+
* resources: [
|
|
45
|
+
* {
|
|
46
|
+
* id: "apt",
|
|
47
|
+
* pkg: {
|
|
48
|
+
* apt: {
|
|
49
|
+
* name: "bazel",
|
|
50
|
+
* },
|
|
51
|
+
* desiredState: "INSTALLED",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* id: "deb1",
|
|
56
|
+
* pkg: {
|
|
57
|
+
* deb: {
|
|
58
|
+
* source: {
|
|
59
|
+
* localPath: "$HOME/package.deb",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* desiredState: "INSTALLED",
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* {
|
|
66
|
+
* id: "deb2",
|
|
67
|
+
* pkg: {
|
|
68
|
+
* deb: {
|
|
69
|
+
* pullDeps: true,
|
|
70
|
+
* source: {
|
|
71
|
+
* allowInsecure: true,
|
|
72
|
+
* remote: {
|
|
73
|
+
* sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
|
|
74
|
+
* uri: "ftp.us.debian.org/debian/package.deb",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* desiredState: "INSTALLED",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* {
|
|
82
|
+
* id: "deb3",
|
|
83
|
+
* pkg: {
|
|
84
|
+
* deb: {
|
|
85
|
+
* pullDeps: true,
|
|
86
|
+
* source: {
|
|
87
|
+
* gcs: {
|
|
88
|
+
* bucket: "test-bucket",
|
|
89
|
+
* generation: 1,
|
|
90
|
+
* object: "test-object",
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* desiredState: "INSTALLED",
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* {
|
|
98
|
+
* id: "yum",
|
|
99
|
+
* pkg: {
|
|
100
|
+
* desiredState: "INSTALLED",
|
|
101
|
+
* yum: {
|
|
102
|
+
* name: "gstreamer-plugins-base-devel.x86_64",
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* {
|
|
107
|
+
* id: "zypper",
|
|
108
|
+
* pkg: {
|
|
109
|
+
* desiredState: "INSTALLED",
|
|
110
|
+
* zypper: {
|
|
111
|
+
* name: "gcc",
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* {
|
|
116
|
+
* id: "rpm1",
|
|
117
|
+
* pkg: {
|
|
118
|
+
* desiredState: "INSTALLED",
|
|
119
|
+
* rpm: {
|
|
120
|
+
* pullDeps: true,
|
|
121
|
+
* source: {
|
|
122
|
+
* localPath: "$HOME/package.rpm",
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
127
|
+
* {
|
|
128
|
+
* id: "rpm2",
|
|
129
|
+
* pkg: {
|
|
130
|
+
* desiredState: "INSTALLED",
|
|
131
|
+
* rpm: {
|
|
132
|
+
* source: {
|
|
133
|
+
* allowInsecure: true,
|
|
134
|
+
* remote: {
|
|
135
|
+
* sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
|
|
136
|
+
* uri: "https://mirror.jaleco.com/centos/8.3.2011/BaseOS/x86_64/os/Packages/efi-filesystem-3-2.el8.noarch.rpm",
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* {
|
|
143
|
+
* id: "rpm3",
|
|
144
|
+
* pkg: {
|
|
145
|
+
* desiredState: "INSTALLED",
|
|
146
|
+
* rpm: {
|
|
147
|
+
* source: {
|
|
148
|
+
* gcs: {
|
|
149
|
+
* bucket: "test-bucket",
|
|
150
|
+
* generation: 1,
|
|
151
|
+
* object: "test-object",
|
|
152
|
+
* },
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
157
|
+
* ],
|
|
158
|
+
* },
|
|
159
|
+
* {
|
|
160
|
+
* resources: [
|
|
161
|
+
* {
|
|
162
|
+
* id: "apt-to-deb",
|
|
163
|
+
* pkg: {
|
|
164
|
+
* apt: {
|
|
165
|
+
* name: "bazel",
|
|
166
|
+
* },
|
|
167
|
+
* desiredState: "INSTALLED",
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
170
|
+
* {
|
|
171
|
+
* id: "deb-local-path-to-gcs",
|
|
172
|
+
* pkg: {
|
|
173
|
+
* deb: {
|
|
174
|
+
* source: {
|
|
175
|
+
* localPath: "$HOME/package.deb",
|
|
176
|
+
* },
|
|
177
|
+
* },
|
|
178
|
+
* desiredState: "INSTALLED",
|
|
179
|
+
* },
|
|
180
|
+
* },
|
|
181
|
+
* {
|
|
182
|
+
* id: "googet",
|
|
183
|
+
* pkg: {
|
|
184
|
+
* desiredState: "INSTALLED",
|
|
185
|
+
* googet: {
|
|
186
|
+
* name: "gcc",
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* },
|
|
190
|
+
* {
|
|
191
|
+
* id: "msi1",
|
|
192
|
+
* pkg: {
|
|
193
|
+
* desiredState: "INSTALLED",
|
|
194
|
+
* msi: {
|
|
195
|
+
* properties: ["REBOOT=ReallySuppress"],
|
|
196
|
+
* source: {
|
|
197
|
+
* localPath: "$HOME/package.msi",
|
|
198
|
+
* },
|
|
199
|
+
* },
|
|
200
|
+
* },
|
|
201
|
+
* },
|
|
202
|
+
* {
|
|
203
|
+
* id: "msi2",
|
|
204
|
+
* pkg: {
|
|
205
|
+
* desiredState: "INSTALLED",
|
|
206
|
+
* msi: {
|
|
207
|
+
* source: {
|
|
208
|
+
* allowInsecure: true,
|
|
209
|
+
* remote: {
|
|
210
|
+
* sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
|
|
211
|
+
* uri: "https://remote.uri.com/package.msi",
|
|
212
|
+
* },
|
|
213
|
+
* },
|
|
214
|
+
* },
|
|
215
|
+
* },
|
|
216
|
+
* },
|
|
217
|
+
* {
|
|
218
|
+
* id: "msi3",
|
|
219
|
+
* pkg: {
|
|
220
|
+
* desiredState: "INSTALLED",
|
|
221
|
+
* msi: {
|
|
222
|
+
* source: {
|
|
223
|
+
* gcs: {
|
|
224
|
+
* bucket: "test-bucket",
|
|
225
|
+
* generation: 1,
|
|
226
|
+
* object: "test-object",
|
|
227
|
+
* },
|
|
228
|
+
* },
|
|
229
|
+
* },
|
|
230
|
+
* },
|
|
231
|
+
* },
|
|
232
|
+
* ],
|
|
233
|
+
* },
|
|
234
|
+
* ],
|
|
235
|
+
* }],
|
|
236
|
+
* project: "my-project-name",
|
|
237
|
+
* rollout: {
|
|
238
|
+
* disruptionBudget: {
|
|
239
|
+
* fixed: 1,
|
|
240
|
+
* },
|
|
241
|
+
* minWaitDuration: "3.5s",
|
|
242
|
+
* },
|
|
243
|
+
* });
|
|
244
|
+
* ```
|
|
245
|
+
* ### Percent_os_policy_assignment
|
|
246
|
+
* An example of an osconfig os policy assignment with percent rollout disruption budget
|
|
247
|
+
* ```typescript
|
|
248
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
249
|
+
* import * as gcp from "@pulumi/gcp";
|
|
250
|
+
*
|
|
251
|
+
* const primary = new gcp.osconfig.OsPolicyAssignment("primary", {
|
|
252
|
+
* description: "A test os policy assignment",
|
|
253
|
+
* instanceFilter: {
|
|
254
|
+
* all: true,
|
|
255
|
+
* },
|
|
256
|
+
* location: "us-west1-a",
|
|
257
|
+
* osPolicies: [{
|
|
258
|
+
* id: "policy",
|
|
259
|
+
* mode: "VALIDATION",
|
|
260
|
+
* resourceGroups: [
|
|
261
|
+
* {
|
|
262
|
+
* resources: [
|
|
263
|
+
* {
|
|
264
|
+
* id: "apt-to-yum",
|
|
265
|
+
* repository: {
|
|
266
|
+
* apt: {
|
|
267
|
+
* archiveType: "DEB",
|
|
268
|
+
* components: ["doc"],
|
|
269
|
+
* distribution: "debian",
|
|
270
|
+
* gpgKey: ".gnupg/pubring.kbx",
|
|
271
|
+
* uri: "https://atl.mirrors.clouvider.net/debian",
|
|
272
|
+
* },
|
|
273
|
+
* },
|
|
274
|
+
* },
|
|
275
|
+
* {
|
|
276
|
+
* id: "yum",
|
|
277
|
+
* repository: {
|
|
278
|
+
* yum: {
|
|
279
|
+
* baseUrl: "http://centos.s.uw.edu/centos/",
|
|
280
|
+
* displayName: "yum",
|
|
281
|
+
* gpgKeys: ["RPM-GPG-KEY-CentOS-7"],
|
|
282
|
+
* id: "yum",
|
|
283
|
+
* },
|
|
284
|
+
* },
|
|
285
|
+
* },
|
|
286
|
+
* {
|
|
287
|
+
* id: "zypper",
|
|
288
|
+
* repository: {
|
|
289
|
+
* zypper: {
|
|
290
|
+
* baseUrl: "http://mirror.dal10.us.leaseweb.net/opensuse",
|
|
291
|
+
* displayName: "zypper",
|
|
292
|
+
* gpgKeys: ["sample-key-uri"],
|
|
293
|
+
* id: "zypper",
|
|
294
|
+
* },
|
|
295
|
+
* },
|
|
296
|
+
* },
|
|
297
|
+
* {
|
|
298
|
+
* id: "goo",
|
|
299
|
+
* repository: {
|
|
300
|
+
* goo: {
|
|
301
|
+
* name: "goo",
|
|
302
|
+
* url: "https://foo.com/googet/bar",
|
|
303
|
+
* },
|
|
304
|
+
* },
|
|
305
|
+
* },
|
|
306
|
+
* {
|
|
307
|
+
* exec: {
|
|
308
|
+
* enforce: {
|
|
309
|
+
* args: ["arg1"],
|
|
310
|
+
* file: {
|
|
311
|
+
* allowInsecure: true,
|
|
312
|
+
* remote: {
|
|
313
|
+
* sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
|
|
314
|
+
* uri: "https://www.example.com/script.sh",
|
|
315
|
+
* },
|
|
316
|
+
* },
|
|
317
|
+
* interpreter: "SHELL",
|
|
318
|
+
* outputFilePath: "$HOME/out",
|
|
319
|
+
* },
|
|
320
|
+
* validate: {
|
|
321
|
+
* args: ["arg1"],
|
|
322
|
+
* file: {
|
|
323
|
+
* localPath: "$HOME/script.sh",
|
|
324
|
+
* },
|
|
325
|
+
* interpreter: "SHELL",
|
|
326
|
+
* outputFilePath: "$HOME/out",
|
|
327
|
+
* },
|
|
328
|
+
* },
|
|
329
|
+
* id: "exec1",
|
|
330
|
+
* },
|
|
331
|
+
* {
|
|
332
|
+
* exec: {
|
|
333
|
+
* enforce: {
|
|
334
|
+
* args: ["arg1"],
|
|
335
|
+
* file: {
|
|
336
|
+
* localPath: "$HOME/script.sh",
|
|
337
|
+
* },
|
|
338
|
+
* interpreter: "SHELL",
|
|
339
|
+
* outputFilePath: "$HOME/out",
|
|
340
|
+
* },
|
|
341
|
+
* validate: {
|
|
342
|
+
* args: ["arg1"],
|
|
343
|
+
* file: {
|
|
344
|
+
* allowInsecure: true,
|
|
345
|
+
* remote: {
|
|
346
|
+
* sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
|
|
347
|
+
* uri: "https://www.example.com/script.sh",
|
|
348
|
+
* },
|
|
349
|
+
* },
|
|
350
|
+
* interpreter: "SHELL",
|
|
351
|
+
* outputFilePath: "$HOME/out",
|
|
352
|
+
* },
|
|
353
|
+
* },
|
|
354
|
+
* id: "exec2",
|
|
355
|
+
* },
|
|
356
|
+
* {
|
|
357
|
+
* exec: {
|
|
358
|
+
* enforce: {
|
|
359
|
+
* interpreter: "SHELL",
|
|
360
|
+
* outputFilePath: "$HOME/out",
|
|
361
|
+
* script: "pwd",
|
|
362
|
+
* },
|
|
363
|
+
* validate: {
|
|
364
|
+
* file: {
|
|
365
|
+
* allowInsecure: true,
|
|
366
|
+
* gcs: {
|
|
367
|
+
* bucket: "test-bucket",
|
|
368
|
+
* generation: 1,
|
|
369
|
+
* object: "test-object",
|
|
370
|
+
* },
|
|
371
|
+
* },
|
|
372
|
+
* interpreter: "SHELL",
|
|
373
|
+
* outputFilePath: "$HOME/out",
|
|
374
|
+
* },
|
|
375
|
+
* },
|
|
376
|
+
* id: "exec3",
|
|
377
|
+
* },
|
|
378
|
+
* {
|
|
379
|
+
* exec: {
|
|
380
|
+
* enforce: {
|
|
381
|
+
* file: {
|
|
382
|
+
* allowInsecure: true,
|
|
383
|
+
* gcs: {
|
|
384
|
+
* bucket: "test-bucket",
|
|
385
|
+
* generation: 1,
|
|
386
|
+
* object: "test-object",
|
|
387
|
+
* },
|
|
388
|
+
* },
|
|
389
|
+
* interpreter: "SHELL",
|
|
390
|
+
* outputFilePath: "$HOME/out",
|
|
391
|
+
* },
|
|
392
|
+
* validate: {
|
|
393
|
+
* interpreter: "SHELL",
|
|
394
|
+
* outputFilePath: "$HOME/out",
|
|
395
|
+
* script: "pwd",
|
|
396
|
+
* },
|
|
397
|
+
* },
|
|
398
|
+
* id: "exec4",
|
|
399
|
+
* },
|
|
400
|
+
* {
|
|
401
|
+
* file: {
|
|
402
|
+
* file: {
|
|
403
|
+
* localPath: "$HOME/file",
|
|
404
|
+
* },
|
|
405
|
+
* path: "$HOME/file",
|
|
406
|
+
* state: "PRESENT",
|
|
407
|
+
* },
|
|
408
|
+
* id: "file1",
|
|
409
|
+
* },
|
|
410
|
+
* ],
|
|
411
|
+
* },
|
|
412
|
+
* {
|
|
413
|
+
* resources: [
|
|
414
|
+
* {
|
|
415
|
+
* file: {
|
|
416
|
+
* file: {
|
|
417
|
+
* allowInsecure: true,
|
|
418
|
+
* remote: {
|
|
419
|
+
* sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
|
|
420
|
+
* uri: "https://www.example.com/file",
|
|
421
|
+
* },
|
|
422
|
+
* },
|
|
423
|
+
* path: "$HOME/file",
|
|
424
|
+
* state: "PRESENT",
|
|
425
|
+
* },
|
|
426
|
+
* id: "file2",
|
|
427
|
+
* },
|
|
428
|
+
* {
|
|
429
|
+
* file: {
|
|
430
|
+
* file: {
|
|
431
|
+
* gcs: {
|
|
432
|
+
* bucket: "test-bucket",
|
|
433
|
+
* generation: 1,
|
|
434
|
+
* object: "test-object",
|
|
435
|
+
* },
|
|
436
|
+
* },
|
|
437
|
+
* path: "$HOME/file",
|
|
438
|
+
* state: "PRESENT",
|
|
439
|
+
* },
|
|
440
|
+
* id: "file3",
|
|
441
|
+
* },
|
|
442
|
+
* {
|
|
443
|
+
* file: {
|
|
444
|
+
* content: "sample-content",
|
|
445
|
+
* path: "$HOME/file",
|
|
446
|
+
* state: "PRESENT",
|
|
447
|
+
* },
|
|
448
|
+
* id: "file4",
|
|
449
|
+
* },
|
|
450
|
+
* ],
|
|
451
|
+
* },
|
|
452
|
+
* ],
|
|
453
|
+
* }],
|
|
454
|
+
* project: "my-project-name",
|
|
455
|
+
* rollout: {
|
|
456
|
+
* disruptionBudget: {
|
|
457
|
+
* percent: 1,
|
|
458
|
+
* },
|
|
459
|
+
* minWaitDuration: "3.5s",
|
|
460
|
+
* },
|
|
461
|
+
* });
|
|
462
|
+
* ```
|
|
463
|
+
*
|
|
464
|
+
* ## Import
|
|
465
|
+
*
|
|
466
|
+
* OSPolicyAssignment can be imported using any of these accepted formats
|
|
467
|
+
*
|
|
468
|
+
* ```sh
|
|
469
|
+
* $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}
|
|
470
|
+
* ```
|
|
471
|
+
*
|
|
472
|
+
* ```sh
|
|
473
|
+
* $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default {{project}}/{{location}}/{{name}}
|
|
474
|
+
* ```
|
|
475
|
+
*
|
|
476
|
+
* ```sh
|
|
477
|
+
* $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default {{location}}/{{name}}
|
|
478
|
+
* ```
|
|
479
|
+
*/
|
|
480
|
+
export declare class OsPolicyAssignment extends pulumi.CustomResource {
|
|
481
|
+
/**
|
|
482
|
+
* Get an existing OsPolicyAssignment resource's state with the given name, ID, and optional extra
|
|
483
|
+
* properties used to qualify the lookup.
|
|
484
|
+
*
|
|
485
|
+
* @param name The _unique_ name of the resulting resource.
|
|
486
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
487
|
+
* @param state Any extra arguments used during the lookup.
|
|
488
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
489
|
+
*/
|
|
490
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OsPolicyAssignmentState, opts?: pulumi.CustomResourceOptions): OsPolicyAssignment;
|
|
491
|
+
/**
|
|
492
|
+
* Returns true if the given object is an instance of OsPolicyAssignment. This is designed to work even
|
|
493
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
494
|
+
*/
|
|
495
|
+
static isInstance(obj: any): obj is OsPolicyAssignment;
|
|
496
|
+
/**
|
|
497
|
+
* Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS
|
|
498
|
+
* policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for
|
|
499
|
+
* this field.
|
|
500
|
+
*/
|
|
501
|
+
readonly baseline: pulumi.Output<boolean>;
|
|
502
|
+
/**
|
|
503
|
+
* Output only. Indicates that this revision deletes the OS policy assignment.
|
|
504
|
+
*/
|
|
505
|
+
readonly deleted: pulumi.Output<boolean>;
|
|
506
|
+
/**
|
|
507
|
+
* OS policy assignment description. Length of the description is limited to 1024 characters.
|
|
508
|
+
*/
|
|
509
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
510
|
+
/**
|
|
511
|
+
* The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
|
|
512
|
+
*/
|
|
513
|
+
readonly etag: pulumi.Output<string>;
|
|
514
|
+
/**
|
|
515
|
+
* Required. Filter to select VMs.
|
|
516
|
+
*/
|
|
517
|
+
readonly instanceFilter: pulumi.Output<outputs.osconfig.OsPolicyAssignmentInstanceFilter>;
|
|
518
|
+
/**
|
|
519
|
+
* The location for the resource
|
|
520
|
+
*/
|
|
521
|
+
readonly location: pulumi.Output<string>;
|
|
522
|
+
/**
|
|
523
|
+
* Required. The name of the repository.
|
|
524
|
+
*/
|
|
525
|
+
readonly name: pulumi.Output<string>;
|
|
526
|
+
/**
|
|
527
|
+
* Required. List of OS policies to be applied to the VMs.
|
|
528
|
+
*/
|
|
529
|
+
readonly osPolicies: pulumi.Output<outputs.osconfig.OsPolicyAssignmentOsPolicy[]>;
|
|
530
|
+
/**
|
|
531
|
+
* The project for the resource
|
|
532
|
+
*/
|
|
533
|
+
readonly project: pulumi.Output<string>;
|
|
534
|
+
/**
|
|
535
|
+
* Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the
|
|
536
|
+
* `rollout_state` is one of: * IN_PROGRESS * CANCELLING
|
|
537
|
+
*/
|
|
538
|
+
readonly reconciling: pulumi.Output<boolean>;
|
|
539
|
+
/**
|
|
540
|
+
* Output only. The timestamp that the revision was created.
|
|
541
|
+
*/
|
|
542
|
+
readonly revisionCreateTime: pulumi.Output<string>;
|
|
543
|
+
/**
|
|
544
|
+
* Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy
|
|
545
|
+
* assignment
|
|
546
|
+
*/
|
|
547
|
+
readonly revisionId: pulumi.Output<string>;
|
|
548
|
+
/**
|
|
549
|
+
* Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instanceFilter - osPolicies 3) OSPolicyAssignment is deleted.
|
|
550
|
+
*/
|
|
551
|
+
readonly rollout: pulumi.Output<outputs.osconfig.OsPolicyAssignmentRollout>;
|
|
552
|
+
/**
|
|
553
|
+
* Output only. OS policy assignment rollout state Possible values: ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING,
|
|
554
|
+
* CANCELLED, SUCCEEDED
|
|
555
|
+
*/
|
|
556
|
+
readonly rolloutState: pulumi.Output<string>;
|
|
557
|
+
/**
|
|
558
|
+
* Output only. Server generated unique id for the OS policy assignment resource.
|
|
559
|
+
*/
|
|
560
|
+
readonly uid: pulumi.Output<string>;
|
|
561
|
+
/**
|
|
562
|
+
* Create a OsPolicyAssignment resource with the given unique name, arguments, and options.
|
|
563
|
+
*
|
|
564
|
+
* @param name The _unique_ name of the resource.
|
|
565
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
566
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
567
|
+
*/
|
|
568
|
+
constructor(name: string, args: OsPolicyAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Input properties used for looking up and filtering OsPolicyAssignment resources.
|
|
572
|
+
*/
|
|
573
|
+
export interface OsPolicyAssignmentState {
|
|
574
|
+
/**
|
|
575
|
+
* Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS
|
|
576
|
+
* policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for
|
|
577
|
+
* this field.
|
|
578
|
+
*/
|
|
579
|
+
baseline?: pulumi.Input<boolean>;
|
|
580
|
+
/**
|
|
581
|
+
* Output only. Indicates that this revision deletes the OS policy assignment.
|
|
582
|
+
*/
|
|
583
|
+
deleted?: pulumi.Input<boolean>;
|
|
584
|
+
/**
|
|
585
|
+
* OS policy assignment description. Length of the description is limited to 1024 characters.
|
|
586
|
+
*/
|
|
587
|
+
description?: pulumi.Input<string>;
|
|
588
|
+
/**
|
|
589
|
+
* The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
|
|
590
|
+
*/
|
|
591
|
+
etag?: pulumi.Input<string>;
|
|
592
|
+
/**
|
|
593
|
+
* Required. Filter to select VMs.
|
|
594
|
+
*/
|
|
595
|
+
instanceFilter?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentInstanceFilter>;
|
|
596
|
+
/**
|
|
597
|
+
* The location for the resource
|
|
598
|
+
*/
|
|
599
|
+
location?: pulumi.Input<string>;
|
|
600
|
+
/**
|
|
601
|
+
* Required. The name of the repository.
|
|
602
|
+
*/
|
|
603
|
+
name?: pulumi.Input<string>;
|
|
604
|
+
/**
|
|
605
|
+
* Required. List of OS policies to be applied to the VMs.
|
|
606
|
+
*/
|
|
607
|
+
osPolicies?: pulumi.Input<pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicy>[]>;
|
|
608
|
+
/**
|
|
609
|
+
* The project for the resource
|
|
610
|
+
*/
|
|
611
|
+
project?: pulumi.Input<string>;
|
|
612
|
+
/**
|
|
613
|
+
* Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the
|
|
614
|
+
* `rollout_state` is one of: * IN_PROGRESS * CANCELLING
|
|
615
|
+
*/
|
|
616
|
+
reconciling?: pulumi.Input<boolean>;
|
|
617
|
+
/**
|
|
618
|
+
* Output only. The timestamp that the revision was created.
|
|
619
|
+
*/
|
|
620
|
+
revisionCreateTime?: pulumi.Input<string>;
|
|
621
|
+
/**
|
|
622
|
+
* Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy
|
|
623
|
+
* assignment
|
|
624
|
+
*/
|
|
625
|
+
revisionId?: pulumi.Input<string>;
|
|
626
|
+
/**
|
|
627
|
+
* Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instanceFilter - osPolicies 3) OSPolicyAssignment is deleted.
|
|
628
|
+
*/
|
|
629
|
+
rollout?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentRollout>;
|
|
630
|
+
/**
|
|
631
|
+
* Output only. OS policy assignment rollout state Possible values: ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING,
|
|
632
|
+
* CANCELLED, SUCCEEDED
|
|
633
|
+
*/
|
|
634
|
+
rolloutState?: pulumi.Input<string>;
|
|
635
|
+
/**
|
|
636
|
+
* Output only. Server generated unique id for the OS policy assignment resource.
|
|
637
|
+
*/
|
|
638
|
+
uid?: pulumi.Input<string>;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* The set of arguments for constructing a OsPolicyAssignment resource.
|
|
642
|
+
*/
|
|
643
|
+
export interface OsPolicyAssignmentArgs {
|
|
644
|
+
/**
|
|
645
|
+
* OS policy assignment description. Length of the description is limited to 1024 characters.
|
|
646
|
+
*/
|
|
647
|
+
description?: pulumi.Input<string>;
|
|
648
|
+
/**
|
|
649
|
+
* Required. Filter to select VMs.
|
|
650
|
+
*/
|
|
651
|
+
instanceFilter: pulumi.Input<inputs.osconfig.OsPolicyAssignmentInstanceFilter>;
|
|
652
|
+
/**
|
|
653
|
+
* The location for the resource
|
|
654
|
+
*/
|
|
655
|
+
location: pulumi.Input<string>;
|
|
656
|
+
/**
|
|
657
|
+
* Required. The name of the repository.
|
|
658
|
+
*/
|
|
659
|
+
name?: pulumi.Input<string>;
|
|
660
|
+
/**
|
|
661
|
+
* Required. List of OS policies to be applied to the VMs.
|
|
662
|
+
*/
|
|
663
|
+
osPolicies: pulumi.Input<pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicy>[]>;
|
|
664
|
+
/**
|
|
665
|
+
* The project for the resource
|
|
666
|
+
*/
|
|
667
|
+
project?: pulumi.Input<string>;
|
|
668
|
+
/**
|
|
669
|
+
* Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instanceFilter - osPolicies 3) OSPolicyAssignment is deleted.
|
|
670
|
+
*/
|
|
671
|
+
rollout: pulumi.Input<inputs.osconfig.OsPolicyAssignmentRollout>;
|
|
672
|
+
}
|