@pulumi/gcp 9.18.0 → 9.19.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/biglake/getIcebergTableIamPolicy.d.ts +28 -0
- package/biglake/getIcebergTableIamPolicy.js +28 -0
- package/biglake/getIcebergTableIamPolicy.js.map +1 -1
- package/biglake/icebergTable.d.ts +7 -7
- package/biglake/icebergTable.js +7 -7
- package/biglake/icebergTableIamBinding.d.ts +124 -0
- package/biglake/icebergTableIamBinding.js +124 -0
- package/biglake/icebergTableIamBinding.js.map +1 -1
- package/biglake/icebergTableIamMember.d.ts +124 -0
- package/biglake/icebergTableIamMember.js +124 -0
- package/biglake/icebergTableIamMember.js.map +1 -1
- package/biglake/icebergTableIamPolicy.d.ts +124 -0
- package/biglake/icebergTableIamPolicy.js +124 -0
- package/biglake/icebergTableIamPolicy.js.map +1 -1
- package/bigquery/connection.d.ts +1 -1
- package/bigquery/connection.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/chronicle/dashboardChart.d.ts +348 -0
- package/chronicle/dashboardChart.js +272 -0
- package/chronicle/dashboardChart.js.map +1 -0
- package/chronicle/dataTable.d.ts +0 -5
- package/chronicle/dataTable.js +0 -5
- package/chronicle/dataTable.js.map +1 -1
- package/chronicle/feed.d.ts +372 -0
- package/chronicle/feed.js +230 -0
- package/chronicle/feed.js.map +1 -0
- package/chronicle/index.d.ts +6 -0
- package/chronicle/index.js +11 -1
- package/chronicle/index.js.map +1 -1
- package/cloudrunv2/service.d.ts +31 -1
- package/cloudrunv2/service.js +31 -1
- package/cloudrunv2/service.js.map +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +24 -0
- package/compute/organizationSecurityPolicyAssociation.js +4 -0
- package/compute/organizationSecurityPolicyAssociation.js.map +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +2 -2
- package/compute/organizationSecurityPolicyRule.js +2 -2
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/compute/urlmap.d.ts +190 -0
- package/compute/urlmap.js +190 -0
- package/compute/urlmap.js.map +1 -1
- package/container/cluster.d.ts +27 -0
- package/container/cluster.js +2 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +1 -0
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +1 -1
- package/dataform/folder.js +1 -1
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +9 -9
- package/dataplex/datascan.js +9 -9
- package/dataplex/entryLink.d.ts +26 -12
- package/dataplex/entryLink.js +13 -12
- package/dataplex/entryLink.js.map +1 -1
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/batch.d.ts +6 -5
- package/dataproc/batch.js +6 -5
- package/dataproc/batch.js.map +1 -1
- package/dataproc/metastoreService.d.ts +2 -2
- package/dataproc/metastoreService.js +2 -2
- package/datastream/stream.d.ts +2 -2
- package/datastream/stream.js +2 -2
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/diagflow/conversationProfile.d.ts +2 -2
- package/diagflow/conversationProfile.js +2 -2
- package/discoveryengine/getDataStore.d.ts +128 -0
- package/discoveryengine/getDataStore.js +88 -0
- package/discoveryengine/getDataStore.js.map +1 -0
- package/discoveryengine/getDataStores.d.ts +77 -0
- package/discoveryengine/getDataStores.js +58 -0
- package/discoveryengine/getDataStores.js.map +1 -0
- package/discoveryengine/index.d.ts +6 -0
- package/discoveryengine/index.js +7 -1
- package/discoveryengine/index.js.map +1 -1
- package/dns/getRecordSets.d.ts +119 -0
- package/dns/getRecordSets.js +78 -0
- package/dns/getRecordSets.js.map +1 -0
- package/dns/index.d.ts +3 -0
- package/dns/index.js +4 -1
- package/dns/index.js.map +1 -1
- package/iam/getWorkloadIdentityPool.d.ts +1 -0
- package/iam/getWorkloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPool.d.ts +24 -0
- package/iam/workloadIdentityPool.js +5 -0
- package/iam/workloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPoolManagedIdentity.d.ts +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js.map +1 -1
- package/iam/workloadIdentityPoolNamespace.d.ts +0 -3
- package/iam/workloadIdentityPoolNamespace.js +0 -3
- package/iam/workloadIdentityPoolNamespace.js.map +1 -1
- package/lustre/getInstance.d.ts +3 -0
- package/lustre/getInstance.js.map +1 -1
- package/lustre/instance.d.ts +119 -27
- package/lustre/instance.js +6 -3
- package/lustre/instance.js.map +1 -1
- package/migrationcenter/preferenceSet.d.ts +26 -0
- package/migrationcenter/preferenceSet.js +26 -0
- package/migrationcenter/preferenceSet.js.map +1 -1
- package/modelarmor/template.d.ts +104 -2
- package/modelarmor/template.js +104 -2
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/index.d.ts +3 -0
- package/networkconnectivity/index.js +6 -1
- package/networkconnectivity/index.js.map +1 -1
- package/networkconnectivity/transport.d.ts +368 -0
- package/networkconnectivity/transport.js +159 -0
- package/networkconnectivity/transport.js.map +1 -0
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -2
- package/observability/traceScope.js +2 -2
- package/organizations/index.d.ts +3 -0
- package/organizations/index.js +6 -1
- package/organizations/index.js.map +1 -1
- package/organizations/serviceIdentity.d.ts +122 -0
- package/organizations/serviceIdentity.js +101 -0
- package/organizations/serviceIdentity.js.map +1 -0
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/pubsub/subscription.d.ts +42 -4
- package/pubsub/subscription.js +42 -4
- package/pubsub/subscription.js.map +1 -1
- package/pubsub/topic.d.ts +36 -0
- package/pubsub/topic.js +36 -0
- package/pubsub/topic.js.map +1 -1
- package/spanner/database.d.ts +1 -0
- package/spanner/database.js +1 -0
- package/spanner/database.js.map +1 -1
- package/types/input.d.ts +5577 -123
- package/types/output.d.ts +5978 -156
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
- package/vertex/aiReasoningEngine.d.ts +77 -0
- package/vertex/aiReasoningEngine.js +61 -0
- package/vertex/aiReasoningEngine.js.map +1 -1
package/lustre/instance.d.ts
CHANGED
|
@@ -76,14 +76,17 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
76
76
|
*/
|
|
77
77
|
static isInstance(obj: any): obj is Instance;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* IP-based access rules for the Managed Lustre instance. These options
|
|
80
|
+
* define the root user squash configuration.
|
|
81
81
|
* Structure is documented below.
|
|
82
82
|
*/
|
|
83
83
|
readonly accessRulesOptions: pulumi.Output<outputs.lustre.InstanceAccessRulesOptions | undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* The storage capacity of the instance in gibibytes (GiB). Allowed values
|
|
86
|
-
* are from `
|
|
86
|
+
* are from `9000` to `7632000`, depending on the `perUnitStorageThroughput`.
|
|
87
|
+
* See [Performance tiers and maximum storage
|
|
88
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
89
|
+
* for specific minimums, maximums, and step sizes for each performance tier.
|
|
87
90
|
*/
|
|
88
91
|
readonly capacityGib: pulumi.Output<string>;
|
|
89
92
|
/**
|
|
@@ -94,6 +97,11 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
94
97
|
* A user-readable description of the instance.
|
|
95
98
|
*/
|
|
96
99
|
readonly description: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Dynamic tier options for a Managed Lustre instance.
|
|
102
|
+
* Structure is documented below.
|
|
103
|
+
*/
|
|
104
|
+
readonly dynamicTierOptions: pulumi.Output<outputs.lustre.InstanceDynamicTierOptions | undefined>;
|
|
97
105
|
/**
|
|
98
106
|
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
99
107
|
*/
|
|
@@ -120,7 +128,12 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
120
128
|
*/
|
|
121
129
|
readonly instanceId: pulumi.Output<string>;
|
|
122
130
|
/**
|
|
123
|
-
* The KMS key
|
|
131
|
+
* The Cloud KMS key name to use for data encryption.
|
|
132
|
+
* If not set, the instance will use Google-managed encryption keys.
|
|
133
|
+
* If set, the instance will use customer-managed encryption keys.
|
|
134
|
+
* The key must be in the same region as the instance.
|
|
135
|
+
* The key format is:
|
|
136
|
+
* projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
|
|
124
137
|
*/
|
|
125
138
|
readonly kmsKey: pulumi.Output<string | undefined>;
|
|
126
139
|
/**
|
|
@@ -136,7 +149,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
136
149
|
*/
|
|
137
150
|
readonly location: pulumi.Output<string>;
|
|
138
151
|
/**
|
|
139
|
-
*
|
|
152
|
+
* Defines a maintenance policy for a resource.
|
|
140
153
|
* Structure is documented below.
|
|
141
154
|
*/
|
|
142
155
|
readonly maintenancePolicy: pulumi.Output<outputs.lustre.InstanceMaintenancePolicy | undefined>;
|
|
@@ -155,10 +168,15 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
155
168
|
*/
|
|
156
169
|
readonly network: pulumi.Output<string>;
|
|
157
170
|
/**
|
|
158
|
-
* The throughput of the instance in
|
|
159
|
-
*
|
|
171
|
+
* The throughput of the instance in MBps per TiB. Valid values are 125, 250,
|
|
172
|
+
* 500, 1000.
|
|
173
|
+
* See [Performance tiers and maximum storage
|
|
174
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
175
|
+
* for more information.
|
|
176
|
+
* If the instance is using the Dynamic tier, this field must not be set or
|
|
177
|
+
* must be set to zero.
|
|
160
178
|
*/
|
|
161
|
-
readonly perUnitStorageThroughput: pulumi.Output<string>;
|
|
179
|
+
readonly perUnitStorageThroughput: pulumi.Output<string | undefined>;
|
|
162
180
|
/**
|
|
163
181
|
* The placement policy name for the instance in the format of
|
|
164
182
|
* projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
|
|
@@ -178,13 +196,32 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
178
196
|
}>;
|
|
179
197
|
/**
|
|
180
198
|
* The state of the instance.
|
|
181
|
-
*
|
|
199
|
+
* Possible values:
|
|
200
|
+
* ACTIVE
|
|
201
|
+
* CREATING
|
|
202
|
+
* DELETING
|
|
203
|
+
* UPGRADING
|
|
204
|
+
* REPAIRING
|
|
205
|
+
* STOPPED
|
|
206
|
+
* UPDATING
|
|
207
|
+
* SUSPENDED
|
|
182
208
|
*/
|
|
183
209
|
readonly state: pulumi.Output<string>;
|
|
184
210
|
/**
|
|
185
|
-
* The reason why the instance is in a certain state.
|
|
211
|
+
* The reason why the instance is in a certain state (e.g. SUSPENDED).
|
|
186
212
|
*/
|
|
187
213
|
readonly stateReason: pulumi.Output<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Unique ID of the resource.
|
|
216
|
+
* This is unrelated to the access rules which allow specifying the root
|
|
217
|
+
* squash uid.
|
|
218
|
+
*/
|
|
219
|
+
readonly uid: pulumi.Output<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Represents a scheduled maintenance event.
|
|
222
|
+
* Structure is documented below.
|
|
223
|
+
*/
|
|
224
|
+
readonly upcomingMaintenanceSchedules: pulumi.Output<outputs.lustre.InstanceUpcomingMaintenanceSchedule[]>;
|
|
188
225
|
/**
|
|
189
226
|
* Timestamp when the instance was last updated.
|
|
190
227
|
*/
|
|
@@ -203,14 +240,17 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
203
240
|
*/
|
|
204
241
|
export interface InstanceState {
|
|
205
242
|
/**
|
|
206
|
-
*
|
|
207
|
-
*
|
|
243
|
+
* IP-based access rules for the Managed Lustre instance. These options
|
|
244
|
+
* define the root user squash configuration.
|
|
208
245
|
* Structure is documented below.
|
|
209
246
|
*/
|
|
210
247
|
accessRulesOptions?: pulumi.Input<inputs.lustre.InstanceAccessRulesOptions>;
|
|
211
248
|
/**
|
|
212
249
|
* The storage capacity of the instance in gibibytes (GiB). Allowed values
|
|
213
|
-
* are from `
|
|
250
|
+
* are from `9000` to `7632000`, depending on the `perUnitStorageThroughput`.
|
|
251
|
+
* See [Performance tiers and maximum storage
|
|
252
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
253
|
+
* for specific minimums, maximums, and step sizes for each performance tier.
|
|
214
254
|
*/
|
|
215
255
|
capacityGib?: pulumi.Input<string>;
|
|
216
256
|
/**
|
|
@@ -221,6 +261,11 @@ export interface InstanceState {
|
|
|
221
261
|
* A user-readable description of the instance.
|
|
222
262
|
*/
|
|
223
263
|
description?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Dynamic tier options for a Managed Lustre instance.
|
|
266
|
+
* Structure is documented below.
|
|
267
|
+
*/
|
|
268
|
+
dynamicTierOptions?: pulumi.Input<inputs.lustre.InstanceDynamicTierOptions>;
|
|
224
269
|
/**
|
|
225
270
|
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
226
271
|
*/
|
|
@@ -247,7 +292,12 @@ export interface InstanceState {
|
|
|
247
292
|
*/
|
|
248
293
|
instanceId?: pulumi.Input<string>;
|
|
249
294
|
/**
|
|
250
|
-
* The KMS key
|
|
295
|
+
* The Cloud KMS key name to use for data encryption.
|
|
296
|
+
* If not set, the instance will use Google-managed encryption keys.
|
|
297
|
+
* If set, the instance will use customer-managed encryption keys.
|
|
298
|
+
* The key must be in the same region as the instance.
|
|
299
|
+
* The key format is:
|
|
300
|
+
* projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
|
|
251
301
|
*/
|
|
252
302
|
kmsKey?: pulumi.Input<string>;
|
|
253
303
|
/**
|
|
@@ -263,7 +313,7 @@ export interface InstanceState {
|
|
|
263
313
|
*/
|
|
264
314
|
location?: pulumi.Input<string>;
|
|
265
315
|
/**
|
|
266
|
-
*
|
|
316
|
+
* Defines a maintenance policy for a resource.
|
|
267
317
|
* Structure is documented below.
|
|
268
318
|
*/
|
|
269
319
|
maintenancePolicy?: pulumi.Input<inputs.lustre.InstanceMaintenancePolicy>;
|
|
@@ -282,8 +332,13 @@ export interface InstanceState {
|
|
|
282
332
|
*/
|
|
283
333
|
network?: pulumi.Input<string>;
|
|
284
334
|
/**
|
|
285
|
-
* The throughput of the instance in
|
|
286
|
-
*
|
|
335
|
+
* The throughput of the instance in MBps per TiB. Valid values are 125, 250,
|
|
336
|
+
* 500, 1000.
|
|
337
|
+
* See [Performance tiers and maximum storage
|
|
338
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
339
|
+
* for more information.
|
|
340
|
+
* If the instance is using the Dynamic tier, this field must not be set or
|
|
341
|
+
* must be set to zero.
|
|
287
342
|
*/
|
|
288
343
|
perUnitStorageThroughput?: pulumi.Input<string>;
|
|
289
344
|
/**
|
|
@@ -305,13 +360,32 @@ export interface InstanceState {
|
|
|
305
360
|
}>;
|
|
306
361
|
/**
|
|
307
362
|
* The state of the instance.
|
|
308
|
-
*
|
|
363
|
+
* Possible values:
|
|
364
|
+
* ACTIVE
|
|
365
|
+
* CREATING
|
|
366
|
+
* DELETING
|
|
367
|
+
* UPGRADING
|
|
368
|
+
* REPAIRING
|
|
369
|
+
* STOPPED
|
|
370
|
+
* UPDATING
|
|
371
|
+
* SUSPENDED
|
|
309
372
|
*/
|
|
310
373
|
state?: pulumi.Input<string>;
|
|
311
374
|
/**
|
|
312
|
-
* The reason why the instance is in a certain state.
|
|
375
|
+
* The reason why the instance is in a certain state (e.g. SUSPENDED).
|
|
313
376
|
*/
|
|
314
377
|
stateReason?: pulumi.Input<string>;
|
|
378
|
+
/**
|
|
379
|
+
* Unique ID of the resource.
|
|
380
|
+
* This is unrelated to the access rules which allow specifying the root
|
|
381
|
+
* squash uid.
|
|
382
|
+
*/
|
|
383
|
+
uid?: pulumi.Input<string>;
|
|
384
|
+
/**
|
|
385
|
+
* Represents a scheduled maintenance event.
|
|
386
|
+
* Structure is documented below.
|
|
387
|
+
*/
|
|
388
|
+
upcomingMaintenanceSchedules?: pulumi.Input<pulumi.Input<inputs.lustre.InstanceUpcomingMaintenanceSchedule>[]>;
|
|
315
389
|
/**
|
|
316
390
|
* Timestamp when the instance was last updated.
|
|
317
391
|
*/
|
|
@@ -322,20 +396,28 @@ export interface InstanceState {
|
|
|
322
396
|
*/
|
|
323
397
|
export interface InstanceArgs {
|
|
324
398
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
399
|
+
* IP-based access rules for the Managed Lustre instance. These options
|
|
400
|
+
* define the root user squash configuration.
|
|
327
401
|
* Structure is documented below.
|
|
328
402
|
*/
|
|
329
403
|
accessRulesOptions?: pulumi.Input<inputs.lustre.InstanceAccessRulesOptions>;
|
|
330
404
|
/**
|
|
331
405
|
* The storage capacity of the instance in gibibytes (GiB). Allowed values
|
|
332
|
-
* are from `
|
|
406
|
+
* are from `9000` to `7632000`, depending on the `perUnitStorageThroughput`.
|
|
407
|
+
* See [Performance tiers and maximum storage
|
|
408
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
409
|
+
* for specific minimums, maximums, and step sizes for each performance tier.
|
|
333
410
|
*/
|
|
334
411
|
capacityGib: pulumi.Input<string>;
|
|
335
412
|
/**
|
|
336
413
|
* A user-readable description of the instance.
|
|
337
414
|
*/
|
|
338
415
|
description?: pulumi.Input<string>;
|
|
416
|
+
/**
|
|
417
|
+
* Dynamic tier options for a Managed Lustre instance.
|
|
418
|
+
* Structure is documented below.
|
|
419
|
+
*/
|
|
420
|
+
dynamicTierOptions?: pulumi.Input<inputs.lustre.InstanceDynamicTierOptions>;
|
|
339
421
|
/**
|
|
340
422
|
* The filesystem name for this instance. This name is used by client-side
|
|
341
423
|
* tools, including when mounting the instance. Must be eight characters or
|
|
@@ -356,7 +438,12 @@ export interface InstanceArgs {
|
|
|
356
438
|
*/
|
|
357
439
|
instanceId: pulumi.Input<string>;
|
|
358
440
|
/**
|
|
359
|
-
* The KMS key
|
|
441
|
+
* The Cloud KMS key name to use for data encryption.
|
|
442
|
+
* If not set, the instance will use Google-managed encryption keys.
|
|
443
|
+
* If set, the instance will use customer-managed encryption keys.
|
|
444
|
+
* The key must be in the same region as the instance.
|
|
445
|
+
* The key format is:
|
|
446
|
+
* projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
|
|
360
447
|
*/
|
|
361
448
|
kmsKey?: pulumi.Input<string>;
|
|
362
449
|
/**
|
|
@@ -372,7 +459,7 @@ export interface InstanceArgs {
|
|
|
372
459
|
*/
|
|
373
460
|
location: pulumi.Input<string>;
|
|
374
461
|
/**
|
|
375
|
-
*
|
|
462
|
+
* Defines a maintenance policy for a resource.
|
|
376
463
|
* Structure is documented below.
|
|
377
464
|
*/
|
|
378
465
|
maintenancePolicy?: pulumi.Input<inputs.lustre.InstanceMaintenancePolicy>;
|
|
@@ -383,10 +470,15 @@ export interface InstanceArgs {
|
|
|
383
470
|
*/
|
|
384
471
|
network: pulumi.Input<string>;
|
|
385
472
|
/**
|
|
386
|
-
* The throughput of the instance in
|
|
387
|
-
*
|
|
473
|
+
* The throughput of the instance in MBps per TiB. Valid values are 125, 250,
|
|
474
|
+
* 500, 1000.
|
|
475
|
+
* See [Performance tiers and maximum storage
|
|
476
|
+
* capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers)
|
|
477
|
+
* for more information.
|
|
478
|
+
* If the instance is using the Dynamic tier, this field must not be set or
|
|
479
|
+
* must be set to zero.
|
|
388
480
|
*/
|
|
389
|
-
perUnitStorageThroughput
|
|
481
|
+
perUnitStorageThroughput?: pulumi.Input<string>;
|
|
390
482
|
/**
|
|
391
483
|
* The placement policy name for the instance in the format of
|
|
392
484
|
* projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
|
package/lustre/instance.js
CHANGED
|
@@ -95,6 +95,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
95
95
|
resourceInputs["capacityGib"] = state?.capacityGib;
|
|
96
96
|
resourceInputs["createTime"] = state?.createTime;
|
|
97
97
|
resourceInputs["description"] = state?.description;
|
|
98
|
+
resourceInputs["dynamicTierOptions"] = state?.dynamicTierOptions;
|
|
98
99
|
resourceInputs["effectiveLabels"] = state?.effectiveLabels;
|
|
99
100
|
resourceInputs["filesystem"] = state?.filesystem;
|
|
100
101
|
resourceInputs["gkeSupportEnabled"] = state?.gkeSupportEnabled;
|
|
@@ -112,6 +113,8 @@ class Instance extends pulumi.CustomResource {
|
|
|
112
113
|
resourceInputs["pulumiLabels"] = state?.pulumiLabels;
|
|
113
114
|
resourceInputs["state"] = state?.state;
|
|
114
115
|
resourceInputs["stateReason"] = state?.stateReason;
|
|
116
|
+
resourceInputs["uid"] = state?.uid;
|
|
117
|
+
resourceInputs["upcomingMaintenanceSchedules"] = state?.upcomingMaintenanceSchedules;
|
|
115
118
|
resourceInputs["updateTime"] = state?.updateTime;
|
|
116
119
|
}
|
|
117
120
|
else {
|
|
@@ -131,12 +134,10 @@ class Instance extends pulumi.CustomResource {
|
|
|
131
134
|
if (args?.network === undefined && !opts.urn) {
|
|
132
135
|
throw new Error("Missing required property 'network'");
|
|
133
136
|
}
|
|
134
|
-
if (args?.perUnitStorageThroughput === undefined && !opts.urn) {
|
|
135
|
-
throw new Error("Missing required property 'perUnitStorageThroughput'");
|
|
136
|
-
}
|
|
137
137
|
resourceInputs["accessRulesOptions"] = args?.accessRulesOptions;
|
|
138
138
|
resourceInputs["capacityGib"] = args?.capacityGib;
|
|
139
139
|
resourceInputs["description"] = args?.description;
|
|
140
|
+
resourceInputs["dynamicTierOptions"] = args?.dynamicTierOptions;
|
|
140
141
|
resourceInputs["filesystem"] = args?.filesystem;
|
|
141
142
|
resourceInputs["gkeSupportEnabled"] = args?.gkeSupportEnabled;
|
|
142
143
|
resourceInputs["instanceId"] = args?.instanceId;
|
|
@@ -155,6 +156,8 @@ class Instance extends pulumi.CustomResource {
|
|
|
155
156
|
resourceInputs["pulumiLabels"] = undefined /*out*/;
|
|
156
157
|
resourceInputs["state"] = undefined /*out*/;
|
|
157
158
|
resourceInputs["stateReason"] = undefined /*out*/;
|
|
159
|
+
resourceInputs["uid"] = undefined /*out*/;
|
|
160
|
+
resourceInputs["upcomingMaintenanceSchedules"] = undefined /*out*/;
|
|
158
161
|
resourceInputs["updateTime"] = undefined /*out*/;
|
|
159
162
|
}
|
|
160
163
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/lustre/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../lustre/instance.ts"],"names":[],"mappings":";AAAA,sEAAsE;A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C;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnQL,4BAoQC;AAtPG,gBAAgB;AACO,qBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -74,6 +74,32 @@ import * as outputs from "../types/output";
|
|
|
74
74
|
* },
|
|
75
75
|
* });
|
|
76
76
|
* ```
|
|
77
|
+
* ### Preference Set Compute Engine Preferences Disk Type
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as gcp from "@pulumi/gcp";
|
|
82
|
+
*
|
|
83
|
+
* const _default = new gcp.migrationcenter.PreferenceSet("default", {
|
|
84
|
+
* location: "us-central1",
|
|
85
|
+
* preferenceSetId: "preference-set-test",
|
|
86
|
+
* description: "Terraform integration test description",
|
|
87
|
+
* displayName: "Terraform integration test display",
|
|
88
|
+
* virtualMachinePreferences: {
|
|
89
|
+
* sizingOptimizationStrategy: "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
|
|
90
|
+
* targetProduct: "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
|
|
91
|
+
* computeEnginePreferences: {
|
|
92
|
+
* licenseType: "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
|
|
93
|
+
* machinePreferences: {
|
|
94
|
+
* allowedMachineSeries: [{
|
|
95
|
+
* code: "C3",
|
|
96
|
+
* }],
|
|
97
|
+
* },
|
|
98
|
+
* persistentDiskType: "PERSISTENT_DISK_TYPE_SSD",
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
77
103
|
*
|
|
78
104
|
* ## Import
|
|
79
105
|
*
|
|
@@ -78,6 +78,32 @@ const utilities = require("../utilities");
|
|
|
78
78
|
* },
|
|
79
79
|
* });
|
|
80
80
|
* ```
|
|
81
|
+
* ### Preference Set Compute Engine Preferences Disk Type
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as gcp from "@pulumi/gcp";
|
|
86
|
+
*
|
|
87
|
+
* const _default = new gcp.migrationcenter.PreferenceSet("default", {
|
|
88
|
+
* location: "us-central1",
|
|
89
|
+
* preferenceSetId: "preference-set-test",
|
|
90
|
+
* description: "Terraform integration test description",
|
|
91
|
+
* displayName: "Terraform integration test display",
|
|
92
|
+
* virtualMachinePreferences: {
|
|
93
|
+
* sizingOptimizationStrategy: "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
|
|
94
|
+
* targetProduct: "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
|
|
95
|
+
* computeEnginePreferences: {
|
|
96
|
+
* licenseType: "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
|
|
97
|
+
* machinePreferences: {
|
|
98
|
+
* allowedMachineSeries: [{
|
|
99
|
+
* code: "C3",
|
|
100
|
+
* }],
|
|
101
|
+
* },
|
|
102
|
+
* persistentDiskType: "PERSISTENT_DISK_TYPE_SSD",
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
81
107
|
*
|
|
82
108
|
* ## Import
|
|
83
109
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferenceSet.js","sourceRoot":"","sources":["../../migrationcenter/preferenceSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"preferenceSet.js","sourceRoot":"","sources":["../../migrationcenter/preferenceSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmHG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,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,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7GL,sCA8GC;AAhGG,gBAAgB;AACO,0BAAY,GAAG,iDAAiD,CAAC"}
|
package/modelarmor/template.d.ts
CHANGED
|
@@ -14,12 +14,114 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* import * as gcp from "@pulumi/gcp";
|
|
15
15
|
*
|
|
16
16
|
* const template_basic = new gcp.modelarmor.Template("template-basic", {
|
|
17
|
-
* location: "
|
|
18
|
-
* templateId: "
|
|
17
|
+
* location: "us-central1",
|
|
18
|
+
* templateId: "modelarmor1",
|
|
19
19
|
* filterConfig: {},
|
|
20
20
|
* templateMetadata: {},
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
|
+
* ### Modelarmor Template Filter Config
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as gcp from "@pulumi/gcp";
|
|
28
|
+
*
|
|
29
|
+
* const template_filter_config = new gcp.modelarmor.Template("template-filter-config", {
|
|
30
|
+
* location: "us-central1",
|
|
31
|
+
* templateId: "modelarmor2",
|
|
32
|
+
* filterConfig: {
|
|
33
|
+
* raiSettings: {
|
|
34
|
+
* raiFilters: [{
|
|
35
|
+
* filterType: "HATE_SPEECH",
|
|
36
|
+
* confidenceLevel: "HIGH",
|
|
37
|
+
* }],
|
|
38
|
+
* },
|
|
39
|
+
* sdpSettings: {
|
|
40
|
+
* basicConfig: {
|
|
41
|
+
* filterEnforcement: "ENABLED",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* piAndJailbreakFilterSettings: {
|
|
45
|
+
* filterEnforcement: "ENABLED",
|
|
46
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
47
|
+
* },
|
|
48
|
+
* maliciousUriFilterSettings: {
|
|
49
|
+
* filterEnforcement: "ENABLED",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* templateMetadata: {
|
|
53
|
+
* multiLanguageDetection: {
|
|
54
|
+
* enableMultiLanguageDetection: false,
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
* ### Modelarmor Template Template Metadata
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as gcp from "@pulumi/gcp";
|
|
64
|
+
*
|
|
65
|
+
* const template_template_metadata = new gcp.modelarmor.Template("template-template-metadata", {
|
|
66
|
+
* location: "us-central1",
|
|
67
|
+
* templateId: "modelarmor3",
|
|
68
|
+
* filterConfig: {
|
|
69
|
+
* raiSettings: {
|
|
70
|
+
* raiFilters: [{
|
|
71
|
+
* filterType: "HARASSMENT",
|
|
72
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
73
|
+
* }],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* templateMetadata: {
|
|
77
|
+
* customLlmResponseSafetyErrorMessage: "This is a custom error message for LLM response",
|
|
78
|
+
* logSanitizeOperations: false,
|
|
79
|
+
* logTemplateOperations: true,
|
|
80
|
+
* multiLanguageDetection: {
|
|
81
|
+
* enableMultiLanguageDetection: true,
|
|
82
|
+
* },
|
|
83
|
+
* ignorePartialInvocationFailures: false,
|
|
84
|
+
* customPromptSafetyErrorCode: 400,
|
|
85
|
+
* customPromptSafetyErrorMessage: "This is a custom error message for prompt",
|
|
86
|
+
* customLlmResponseSafetyErrorCode: 401,
|
|
87
|
+
* enforcementType: "INSPECT_ONLY",
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
* ### Modelarmor Template Label
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as gcp from "@pulumi/gcp";
|
|
96
|
+
*
|
|
97
|
+
* const template_label_advanced_config = new gcp.modelarmor.Template("template-label-advanced-config", {
|
|
98
|
+
* location: "us-central1",
|
|
99
|
+
* templateId: "modelarmor4",
|
|
100
|
+
* labels: {
|
|
101
|
+
* "test-label": "template-test-label",
|
|
102
|
+
* },
|
|
103
|
+
* filterConfig: {
|
|
104
|
+
* raiSettings: {
|
|
105
|
+
* raiFilters: [{
|
|
106
|
+
* filterType: "DANGEROUS",
|
|
107
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
108
|
+
* }],
|
|
109
|
+
* },
|
|
110
|
+
* sdpSettings: {
|
|
111
|
+
* advancedConfig: {
|
|
112
|
+
* inspectTemplate: "projects/llm-firewall-demo/locations/us-central1/inspectTemplates/t3",
|
|
113
|
+
* deidentifyTemplate: "projects/llm-firewall-demo/locations/us-central1/deidentifyTemplates/t2",
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* templateMetadata: {
|
|
118
|
+
* multiLanguageDetection: {
|
|
119
|
+
* enableMultiLanguageDetection: false,
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* });
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
23
125
|
* ## Import
|
|
24
126
|
*
|
|
25
127
|
* Template can be imported using any of these accepted formats:
|
package/modelarmor/template.js
CHANGED
|
@@ -18,12 +18,114 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* import * as gcp from "@pulumi/gcp";
|
|
19
19
|
*
|
|
20
20
|
* const template_basic = new gcp.modelarmor.Template("template-basic", {
|
|
21
|
-
* location: "
|
|
22
|
-
* templateId: "
|
|
21
|
+
* location: "us-central1",
|
|
22
|
+
* templateId: "modelarmor1",
|
|
23
23
|
* filterConfig: {},
|
|
24
24
|
* templateMetadata: {},
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
+
* ### Modelarmor Template Filter Config
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as gcp from "@pulumi/gcp";
|
|
32
|
+
*
|
|
33
|
+
* const template_filter_config = new gcp.modelarmor.Template("template-filter-config", {
|
|
34
|
+
* location: "us-central1",
|
|
35
|
+
* templateId: "modelarmor2",
|
|
36
|
+
* filterConfig: {
|
|
37
|
+
* raiSettings: {
|
|
38
|
+
* raiFilters: [{
|
|
39
|
+
* filterType: "HATE_SPEECH",
|
|
40
|
+
* confidenceLevel: "HIGH",
|
|
41
|
+
* }],
|
|
42
|
+
* },
|
|
43
|
+
* sdpSettings: {
|
|
44
|
+
* basicConfig: {
|
|
45
|
+
* filterEnforcement: "ENABLED",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* piAndJailbreakFilterSettings: {
|
|
49
|
+
* filterEnforcement: "ENABLED",
|
|
50
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
51
|
+
* },
|
|
52
|
+
* maliciousUriFilterSettings: {
|
|
53
|
+
* filterEnforcement: "ENABLED",
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* templateMetadata: {
|
|
57
|
+
* multiLanguageDetection: {
|
|
58
|
+
* enableMultiLanguageDetection: false,
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
* ### Modelarmor Template Template Metadata
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as gcp from "@pulumi/gcp";
|
|
68
|
+
*
|
|
69
|
+
* const template_template_metadata = new gcp.modelarmor.Template("template-template-metadata", {
|
|
70
|
+
* location: "us-central1",
|
|
71
|
+
* templateId: "modelarmor3",
|
|
72
|
+
* filterConfig: {
|
|
73
|
+
* raiSettings: {
|
|
74
|
+
* raiFilters: [{
|
|
75
|
+
* filterType: "HARASSMENT",
|
|
76
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
77
|
+
* }],
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* templateMetadata: {
|
|
81
|
+
* customLlmResponseSafetyErrorMessage: "This is a custom error message for LLM response",
|
|
82
|
+
* logSanitizeOperations: false,
|
|
83
|
+
* logTemplateOperations: true,
|
|
84
|
+
* multiLanguageDetection: {
|
|
85
|
+
* enableMultiLanguageDetection: true,
|
|
86
|
+
* },
|
|
87
|
+
* ignorePartialInvocationFailures: false,
|
|
88
|
+
* customPromptSafetyErrorCode: 400,
|
|
89
|
+
* customPromptSafetyErrorMessage: "This is a custom error message for prompt",
|
|
90
|
+
* customLlmResponseSafetyErrorCode: 401,
|
|
91
|
+
* enforcementType: "INSPECT_ONLY",
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
* ### Modelarmor Template Label
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as gcp from "@pulumi/gcp";
|
|
100
|
+
*
|
|
101
|
+
* const template_label_advanced_config = new gcp.modelarmor.Template("template-label-advanced-config", {
|
|
102
|
+
* location: "us-central1",
|
|
103
|
+
* templateId: "modelarmor4",
|
|
104
|
+
* labels: {
|
|
105
|
+
* "test-label": "template-test-label",
|
|
106
|
+
* },
|
|
107
|
+
* filterConfig: {
|
|
108
|
+
* raiSettings: {
|
|
109
|
+
* raiFilters: [{
|
|
110
|
+
* filterType: "DANGEROUS",
|
|
111
|
+
* confidenceLevel: "MEDIUM_AND_ABOVE",
|
|
112
|
+
* }],
|
|
113
|
+
* },
|
|
114
|
+
* sdpSettings: {
|
|
115
|
+
* advancedConfig: {
|
|
116
|
+
* inspectTemplate: "projects/llm-firewall-demo/locations/us-central1/inspectTemplates/t3",
|
|
117
|
+
* deidentifyTemplate: "projects/llm-firewall-demo/locations/us-central1/deidentifyTemplates/t2",
|
|
118
|
+
* },
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* templateMetadata: {
|
|
122
|
+
* multiLanguageDetection: {
|
|
123
|
+
* enableMultiLanguageDetection: false,
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
27
129
|
* ## Import
|
|
28
130
|
*
|
|
29
131
|
* Template can be imported using any of these accepted formats:
|