@pulumi/gcp 6.44.0 → 6.45.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/alloydb/instance.d.ts +3 -0
- package/alloydb/instance.js +3 -0
- package/alloydb/instance.js.map +1 -1
- package/bigtable/gcpolicy.d.ts +58 -32
- package/bigtable/gcpolicy.js +45 -32
- package/bigtable/gcpolicy.js.map +1 -1
- package/bigtable/instance.d.ts +6 -3
- package/bigtable/instance.js.map +1 -1
- package/certificateauthority/authority.d.ts +3 -2
- package/certificateauthority/authority.js +3 -2
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +12 -5
- package/certificateauthority/certificate.js +12 -5
- package/certificateauthority/certificate.js.map +1 -1
- package/cloudrunv2/index.d.ts +6 -0
- package/cloudrunv2/index.js +27 -0
- package/cloudrunv2/index.js.map +1 -0
- package/cloudrunv2/job.d.ts +501 -0
- package/cloudrunv2/job.js +321 -0
- package/cloudrunv2/job.js.map +1 -0
- package/cloudrunv2/service.d.ts +574 -0
- package/cloudrunv2/service.js +334 -0
- package/cloudrunv2/service.js.map +1 -0
- package/compute/backendService.d.ts +19 -0
- package/compute/backendService.js +19 -0
- package/compute/backendService.js.map +1 -1
- package/compute/forwardingRule.d.ts +21 -30
- package/compute/forwardingRule.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +27 -0
- package/compute/instanceGroupManager.js +2 -0
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +27 -0
- package/compute/regionInstanceGroupManager.js +2 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/compute/routerInterface.d.ts +52 -31
- package/compute/routerInterface.js +4 -0
- package/compute/routerInterface.js.map +1 -1
- package/compute/securityPolicy.d.ts +83 -0
- package/compute/securityPolicy.js +73 -0
- package/compute/securityPolicy.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/cluster.d.ts +7 -4
- package/container/cluster.js.map +1 -1
- package/container/nodePool.d.ts +9 -6
- package/container/nodePool.js.map +1 -1
- package/datafusion/instance.d.ts +97 -5
- package/datafusion/instance.js +52 -5
- package/datafusion/instance.js.map +1 -1
- package/dataproc/metastoreService.d.ts +49 -0
- package/dataproc/metastoreService.js +34 -0
- package/dataproc/metastoreService.js.map +1 -1
- package/datastream/privateConnection.d.ts +16 -0
- package/datastream/privateConnection.js +4 -0
- package/datastream/privateConnection.js.map +1 -1
- package/eventarc/googleChannelConfig.d.ts +142 -0
- package/eventarc/googleChannelConfig.js +110 -0
- package/eventarc/googleChannelConfig.js.map +1 -0
- package/eventarc/index.d.ts +3 -0
- package/eventarc/index.js +6 -1
- package/eventarc/index.js.map +1 -1
- package/firebase/getAndroidApp.d.ts +36 -0
- package/firebase/getAndroidApp.js +22 -0
- package/firebase/getAndroidApp.js.map +1 -0
- package/firebase/index.d.ts +6 -0
- package/firebase/index.js +9 -1
- package/firebase/index.js.map +1 -1
- package/firebase/storageBucket.d.ts +109 -0
- package/firebase/storageBucket.js +91 -0
- package/firebase/storageBucket.js.map +1 -0
- package/gkebackup/backupPlan.d.ts +403 -0
- package/gkebackup/backupPlan.js +259 -0
- package/gkebackup/backupPlan.js.map +1 -0
- package/gkebackup/index.d.ts +3 -0
- package/gkebackup/index.js +22 -0
- package/gkebackup/index.js.map +1 -0
- package/gkehub/featureMembership.d.ts +1 -0
- package/gkehub/featureMembership.js +1 -0
- package/gkehub/featureMembership.js.map +1 -1
- package/iam/index.d.ts +3 -0
- package/iam/index.js +6 -1
- package/iam/index.js.map +1 -1
- package/iam/workforcePoolProvider.d.ts +510 -0
- package/iam/workforcePoolProvider.js +213 -0
- package/iam/workforcePoolProvider.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/logging/billingAccountBucketConfig.d.ts +20 -0
- package/logging/billingAccountBucketConfig.js +2 -0
- package/logging/billingAccountBucketConfig.js.map +1 -1
- package/logging/folderBucketConfig.d.ts +20 -0
- package/logging/folderBucketConfig.js +2 -0
- package/logging/folderBucketConfig.js.map +1 -1
- package/logging/getProjectCmekSettings.d.ts +97 -0
- package/logging/getProjectCmekSettings.js +43 -0
- package/logging/getProjectCmekSettings.js.map +1 -0
- package/logging/index.d.ts +3 -0
- package/logging/index.js +4 -1
- package/logging/index.js.map +1 -1
- package/logging/organizationBucketConfig.d.ts +20 -0
- package/logging/organizationBucketConfig.js +2 -0
- package/logging/organizationBucketConfig.js.map +1 -1
- package/logging/projectBucketConfig.d.ts +48 -2
- package/logging/projectBucketConfig.js +34 -0
- package/logging/projectBucketConfig.js.map +1 -1
- package/networkservices/edgeCacheOrigin.d.ts +55 -1
- package/networkservices/edgeCacheOrigin.js +26 -1
- package/networkservices/edgeCacheOrigin.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/securitycenter/index.d.ts +9 -0
- package/securitycenter/index.js +16 -1
- package/securitycenter/index.js.map +1 -1
- package/securitycenter/instanceIamBinding.d.ts +239 -0
- package/securitycenter/instanceIamBinding.js +218 -0
- package/securitycenter/instanceIamBinding.js.map +1 -0
- package/securitycenter/instanceIamMember.d.ts +239 -0
- package/securitycenter/instanceIamMember.js +218 -0
- package/securitycenter/instanceIamMember.js.map +1 -0
- package/securitycenter/instanceIamPolicy.d.ts +231 -0
- package/securitycenter/instanceIamPolicy.js +211 -0
- package/securitycenter/instanceIamPolicy.js.map +1 -0
- package/sql/database.d.ts +41 -0
- package/sql/database.js +22 -0
- package/sql/database.js.map +1 -1
- package/storage/bucket.d.ts +29 -7
- package/storage/bucket.js +18 -6
- 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 +1544 -98
- package/types/output.d.ts +1559 -94
- package/vertex/aiFeatureStoreEntityTypeIamBinding.d.ts +119 -0
- package/vertex/aiFeatureStoreEntityTypeIamBinding.js +96 -0
- package/vertex/aiFeatureStoreEntityTypeIamBinding.js.map +1 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.d.ts +119 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.js +96 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.js.map +1 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.d.ts +108 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.js +89 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.js.map +1 -0
- package/vertex/aiFeatureStoreIamBinding.d.ts +53 -43
- package/vertex/aiFeatureStoreIamBinding.js +11 -37
- package/vertex/aiFeatureStoreIamBinding.js.map +1 -1
- package/vertex/aiFeatureStoreIamMember.d.ts +53 -43
- package/vertex/aiFeatureStoreIamMember.js +11 -37
- package/vertex/aiFeatureStoreIamMember.js.map +1 -1
- package/vertex/aiFeatureStoreIamPolicy.d.ts +50 -43
- package/vertex/aiFeatureStoreIamPolicy.js +11 -37
- package/vertex/aiFeatureStoreIamPolicy.js.map +1 -1
- package/vertex/aiIndex.d.ts +314 -0
- package/vertex/aiIndex.js +188 -0
- package/vertex/aiIndex.js.map +1 -0
- package/vertex/aiTensorboard.d.ts +242 -0
- package/vertex/aiTensorboard.js +146 -0
- package/vertex/aiTensorboard.js.map +1 -0
- package/vertex/index.d.ts +15 -0
- package/vertex/index.js +26 -1
- package/vertex/index.js.map +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
26
|
+
*
|
|
27
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
28
|
+
*/
|
|
29
|
+
export declare class AiFeatureStoreEntityTypeIamBinding extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AiFeatureStoreEntityTypeIamBinding resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiFeatureStoreEntityTypeIamBindingState, opts?: pulumi.CustomResourceOptions): AiFeatureStoreEntityTypeIamBinding;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamBinding. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is AiFeatureStoreEntityTypeIamBinding;
|
|
45
|
+
readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreEntityTypeIamBindingCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
48
|
+
*/
|
|
49
|
+
readonly entitytype: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (Computed) The etag of the IAM policy.
|
|
52
|
+
*/
|
|
53
|
+
readonly etag: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
56
|
+
*/
|
|
57
|
+
readonly featurestore: pulumi.Output<string>;
|
|
58
|
+
readonly members: pulumi.Output<string[]>;
|
|
59
|
+
/**
|
|
60
|
+
* The role that should be applied. Only one
|
|
61
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
62
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
63
|
+
*/
|
|
64
|
+
readonly role: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a AiFeatureStoreEntityTypeIamBinding resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: AiFeatureStoreEntityTypeIamBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering AiFeatureStoreEntityTypeIamBinding resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface AiFeatureStoreEntityTypeIamBindingState {
|
|
78
|
+
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreEntityTypeIamBindingCondition>;
|
|
79
|
+
/**
|
|
80
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
81
|
+
*/
|
|
82
|
+
entitytype?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* (Computed) The etag of the IAM policy.
|
|
85
|
+
*/
|
|
86
|
+
etag?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
89
|
+
*/
|
|
90
|
+
featurestore?: pulumi.Input<string>;
|
|
91
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
|
+
/**
|
|
93
|
+
* The role that should be applied. Only one
|
|
94
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
95
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
96
|
+
*/
|
|
97
|
+
role?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a AiFeatureStoreEntityTypeIamBinding resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface AiFeatureStoreEntityTypeIamBindingArgs {
|
|
103
|
+
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreEntityTypeIamBindingCondition>;
|
|
104
|
+
/**
|
|
105
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
106
|
+
*/
|
|
107
|
+
entitytype: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
110
|
+
*/
|
|
111
|
+
featurestore: pulumi.Input<string>;
|
|
112
|
+
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
|
+
/**
|
|
114
|
+
* The role that should be applied. Only one
|
|
115
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
116
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
117
|
+
*/
|
|
118
|
+
role: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiFeatureStoreEntityTypeIamBinding = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
30
|
+
*
|
|
31
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
32
|
+
*/
|
|
33
|
+
class AiFeatureStoreEntityTypeIamBinding extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AiFeatureStoreEntityTypeIamBinding resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new AiFeatureStoreEntityTypeIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamBinding. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === AiFeatureStoreEntityTypeIamBinding.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
62
|
+
resourceInputs["entitytype"] = state ? state.entitytype : undefined;
|
|
63
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
64
|
+
resourceInputs["featurestore"] = state ? state.featurestore : undefined;
|
|
65
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
66
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.entitytype === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'entitytype'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.featurestore === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'featurestore'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'members'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'role'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["condition"] = args ? args.condition : undefined;
|
|
83
|
+
resourceInputs["entitytype"] = args ? args.entitytype : undefined;
|
|
84
|
+
resourceInputs["featurestore"] = args ? args.featurestore : undefined;
|
|
85
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
86
|
+
resourceInputs["role"] = args ? args.role : undefined;
|
|
87
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(AiFeatureStoreEntityTypeIamBinding.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.AiFeatureStoreEntityTypeIamBinding = AiFeatureStoreEntityTypeIamBinding;
|
|
94
|
+
/** @internal */
|
|
95
|
+
AiFeatureStoreEntityTypeIamBinding.__pulumiType = 'gcp:vertex/aiFeatureStoreEntityTypeIamBinding:AiFeatureStoreEntityTypeIamBinding';
|
|
96
|
+
//# sourceMappingURL=aiFeatureStoreEntityTypeIamBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiFeatureStoreEntityTypeIamBinding.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreEntityTypeIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzF,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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,C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I,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AA3FL,gFA4FC;AA9EG,gBAAgB;AACO,+CAAY,GAAG,kFAAkF,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
26
|
+
*
|
|
27
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
28
|
+
*/
|
|
29
|
+
export declare class AiFeatureStoreEntityTypeIamMember extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AiFeatureStoreEntityTypeIamMember resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiFeatureStoreEntityTypeIamMemberState, opts?: pulumi.CustomResourceOptions): AiFeatureStoreEntityTypeIamMember;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamMember. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is AiFeatureStoreEntityTypeIamMember;
|
|
45
|
+
readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreEntityTypeIamMemberCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
48
|
+
*/
|
|
49
|
+
readonly entitytype: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (Computed) The etag of the IAM policy.
|
|
52
|
+
*/
|
|
53
|
+
readonly etag: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
56
|
+
*/
|
|
57
|
+
readonly featurestore: pulumi.Output<string>;
|
|
58
|
+
readonly member: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The role that should be applied. Only one
|
|
61
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
62
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
63
|
+
*/
|
|
64
|
+
readonly role: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a AiFeatureStoreEntityTypeIamMember resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: AiFeatureStoreEntityTypeIamMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering AiFeatureStoreEntityTypeIamMember resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface AiFeatureStoreEntityTypeIamMemberState {
|
|
78
|
+
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreEntityTypeIamMemberCondition>;
|
|
79
|
+
/**
|
|
80
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
81
|
+
*/
|
|
82
|
+
entitytype?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* (Computed) The etag of the IAM policy.
|
|
85
|
+
*/
|
|
86
|
+
etag?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
89
|
+
*/
|
|
90
|
+
featurestore?: pulumi.Input<string>;
|
|
91
|
+
member?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The role that should be applied. Only one
|
|
94
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
95
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
96
|
+
*/
|
|
97
|
+
role?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a AiFeatureStoreEntityTypeIamMember resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface AiFeatureStoreEntityTypeIamMemberArgs {
|
|
103
|
+
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreEntityTypeIamMemberCondition>;
|
|
104
|
+
/**
|
|
105
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
106
|
+
*/
|
|
107
|
+
entitytype: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
110
|
+
*/
|
|
111
|
+
featurestore: pulumi.Input<string>;
|
|
112
|
+
member: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The role that should be applied. Only one
|
|
115
|
+
* `gcp.vertex.AiFeatureStoreEntityTypeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
116
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
117
|
+
*/
|
|
118
|
+
role: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiFeatureStoreEntityTypeIamMember = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
30
|
+
*
|
|
31
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
32
|
+
*/
|
|
33
|
+
class AiFeatureStoreEntityTypeIamMember extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AiFeatureStoreEntityTypeIamMember resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new AiFeatureStoreEntityTypeIamMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamMember. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === AiFeatureStoreEntityTypeIamMember.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
62
|
+
resourceInputs["entitytype"] = state ? state.entitytype : undefined;
|
|
63
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
64
|
+
resourceInputs["featurestore"] = state ? state.featurestore : undefined;
|
|
65
|
+
resourceInputs["member"] = state ? state.member : undefined;
|
|
66
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.entitytype === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'entitytype'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.featurestore === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'featurestore'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.member === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'member'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'role'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["condition"] = args ? args.condition : undefined;
|
|
83
|
+
resourceInputs["entitytype"] = args ? args.entitytype : undefined;
|
|
84
|
+
resourceInputs["featurestore"] = args ? args.featurestore : undefined;
|
|
85
|
+
resourceInputs["member"] = args ? args.member : undefined;
|
|
86
|
+
resourceInputs["role"] = args ? args.role : undefined;
|
|
87
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(AiFeatureStoreEntityTypeIamMember.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.AiFeatureStoreEntityTypeIamMember = AiFeatureStoreEntityTypeIamMember;
|
|
94
|
+
/** @internal */
|
|
95
|
+
AiFeatureStoreEntityTypeIamMember.__pulumiType = 'gcp:vertex/aiFeatureStoreEntityTypeIamMember:AiFeatureStoreEntityTypeIamMember';
|
|
96
|
+
//# sourceMappingURL=aiFeatureStoreEntityTypeIamMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiFeatureStoreEntityTypeIamMember.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreEntityTypeIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,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,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC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IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AA3FL,8EA4FC;AA9EG,gBAAgB;AACO,8CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
24
|
+
*
|
|
25
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
26
|
+
*/
|
|
27
|
+
export declare class AiFeatureStoreEntityTypeIamPolicy extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing AiFeatureStoreEntityTypeIamPolicy resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiFeatureStoreEntityTypeIamPolicyState, opts?: pulumi.CustomResourceOptions): AiFeatureStoreEntityTypeIamPolicy;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamPolicy. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is AiFeatureStoreEntityTypeIamPolicy;
|
|
43
|
+
/**
|
|
44
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
45
|
+
*/
|
|
46
|
+
readonly entitytype: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* (Computed) The etag of the IAM policy.
|
|
49
|
+
*/
|
|
50
|
+
readonly etag: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
53
|
+
*/
|
|
54
|
+
readonly featurestore: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The policy data generated by
|
|
57
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
58
|
+
*/
|
|
59
|
+
readonly policyData: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a AiFeatureStoreEntityTypeIamPolicy resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: AiFeatureStoreEntityTypeIamPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering AiFeatureStoreEntityTypeIamPolicy resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface AiFeatureStoreEntityTypeIamPolicyState {
|
|
73
|
+
/**
|
|
74
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
75
|
+
*/
|
|
76
|
+
entitytype?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* (Computed) The etag of the IAM policy.
|
|
79
|
+
*/
|
|
80
|
+
etag?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
83
|
+
*/
|
|
84
|
+
featurestore?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The policy data generated by
|
|
87
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
88
|
+
*/
|
|
89
|
+
policyData?: pulumi.Input<string>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a AiFeatureStoreEntityTypeIamPolicy resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface AiFeatureStoreEntityTypeIamPolicyArgs {
|
|
95
|
+
/**
|
|
96
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
97
|
+
*/
|
|
98
|
+
entitytype: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
|
|
101
|
+
*/
|
|
102
|
+
featurestore: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The policy data generated by
|
|
105
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
106
|
+
*/
|
|
107
|
+
policyData: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiFeatureStoreEntityTypeIamPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* {{featurestore}}/entityTypes/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestoreentitytype IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer user:jane@example.com"
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor "{{featurestore}}/entityTypes/{{featurestore_entitytype}} roles/viewer"
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy editor {{featurestore}}/entityTypes/{{featurestore_entitytype}}
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
30
|
+
*
|
|
31
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
32
|
+
*/
|
|
33
|
+
class AiFeatureStoreEntityTypeIamPolicy extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AiFeatureStoreEntityTypeIamPolicy resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new AiFeatureStoreEntityTypeIamPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of AiFeatureStoreEntityTypeIamPolicy. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === AiFeatureStoreEntityTypeIamPolicy.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["entitytype"] = state ? state.entitytype : undefined;
|
|
62
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
63
|
+
resourceInputs["featurestore"] = state ? state.featurestore : undefined;
|
|
64
|
+
resourceInputs["policyData"] = state ? state.policyData : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.entitytype === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'entitytype'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.featurestore === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'featurestore'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.policyData === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'policyData'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["entitytype"] = args ? args.entitytype : undefined;
|
|
78
|
+
resourceInputs["featurestore"] = args ? args.featurestore : undefined;
|
|
79
|
+
resourceInputs["policyData"] = args ? args.policyData : undefined;
|
|
80
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(AiFeatureStoreEntityTypeIamPolicy.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.AiFeatureStoreEntityTypeIamPolicy = AiFeatureStoreEntityTypeIamPolicy;
|
|
87
|
+
/** @internal */
|
|
88
|
+
AiFeatureStoreEntityTypeIamPolicy.__pulumiType = 'gcp:vertex/aiFeatureStoreEntityTypeIamPolicy:AiFeatureStoreEntityTypeIamPolicy';
|
|
89
|
+
//# sourceMappingURL=aiFeatureStoreEntityTypeIamPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiFeatureStoreEntityTypeIamPolicy.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreEntityTypeIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,I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