@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
|
@@ -2,55 +2,29 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* A collection of DataItems and Annotations on them.
|
|
6
|
-
*
|
|
7
|
-
* To get more information about Featurestore, see:
|
|
8
|
-
*
|
|
9
|
-
* * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
|
|
10
|
-
* * How-to Guides
|
|
11
|
-
* * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
* ### Vertex Ai Featurestore
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as gcp from "@pulumi/gcp";
|
|
19
|
-
*
|
|
20
|
-
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
21
|
-
* encryptionSpec: {
|
|
22
|
-
* kmsKeyName: "kms-name",
|
|
23
|
-
* },
|
|
24
|
-
* forceDestroy: true,
|
|
25
|
-
* labels: {
|
|
26
|
-
* foo: "bar",
|
|
27
|
-
* },
|
|
28
|
-
* onlineServingConfig: {
|
|
29
|
-
* fixedNodeCount: 2,
|
|
30
|
-
* },
|
|
31
|
-
* region: "us-central1",
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
5
|
* ## Import
|
|
36
6
|
*
|
|
37
|
-
*
|
|
7
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
|
|
38
8
|
*
|
|
39
9
|
* ```sh
|
|
40
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
10
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
|
|
41
11
|
* ```
|
|
42
12
|
*
|
|
43
|
-
*
|
|
44
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{project}}/{{region}}/{{name}}
|
|
45
|
-
* ```
|
|
13
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
46
14
|
*
|
|
47
15
|
* ```sh
|
|
48
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
16
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
|
|
49
17
|
* ```
|
|
50
18
|
*
|
|
19
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
20
|
+
*
|
|
51
21
|
* ```sh
|
|
52
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
22
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
|
|
53
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`.
|
|
54
28
|
*/
|
|
55
29
|
export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
|
|
56
30
|
/**
|
|
@@ -69,18 +43,31 @@ export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
|
|
|
69
43
|
*/
|
|
70
44
|
static isInstance(obj: any): obj is AiFeatureStoreIamBinding;
|
|
71
45
|
readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreIamBindingCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* (Computed) The etag of the IAM policy.
|
|
48
|
+
*/
|
|
72
49
|
readonly etag: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
52
|
+
*/
|
|
73
53
|
readonly featurestore: pulumi.Output<string>;
|
|
74
54
|
readonly members: pulumi.Output<string[]>;
|
|
75
55
|
/**
|
|
76
56
|
* The ID of the project in which the resource belongs.
|
|
77
|
-
* If it is not provided, the provider project is used.
|
|
57
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
78
58
|
*/
|
|
79
59
|
readonly project: pulumi.Output<string>;
|
|
80
60
|
/**
|
|
81
|
-
* The region of the dataset. eg us-central1
|
|
61
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
62
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
63
|
+
* region is specified, it is taken from the provider configuration.
|
|
82
64
|
*/
|
|
83
65
|
readonly region: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The role that should be applied. Only one
|
|
68
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
69
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
70
|
+
*/
|
|
84
71
|
readonly role: pulumi.Output<string>;
|
|
85
72
|
/**
|
|
86
73
|
* Create a AiFeatureStoreIamBinding resource with the given unique name, arguments, and options.
|
|
@@ -96,18 +83,31 @@ export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
|
|
|
96
83
|
*/
|
|
97
84
|
export interface AiFeatureStoreIamBindingState {
|
|
98
85
|
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamBindingCondition>;
|
|
86
|
+
/**
|
|
87
|
+
* (Computed) The etag of the IAM policy.
|
|
88
|
+
*/
|
|
99
89
|
etag?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
92
|
+
*/
|
|
100
93
|
featurestore?: pulumi.Input<string>;
|
|
101
94
|
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
102
95
|
/**
|
|
103
96
|
* The ID of the project in which the resource belongs.
|
|
104
|
-
* If it is not provided, the provider project is used.
|
|
97
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
105
98
|
*/
|
|
106
99
|
project?: pulumi.Input<string>;
|
|
107
100
|
/**
|
|
108
|
-
* The region of the dataset. eg us-central1
|
|
101
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
102
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
103
|
+
* region is specified, it is taken from the provider configuration.
|
|
109
104
|
*/
|
|
110
105
|
region?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The role that should be applied. Only one
|
|
108
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
109
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
110
|
+
*/
|
|
111
111
|
role?: pulumi.Input<string>;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
@@ -115,16 +115,26 @@ export interface AiFeatureStoreIamBindingState {
|
|
|
115
115
|
*/
|
|
116
116
|
export interface AiFeatureStoreIamBindingArgs {
|
|
117
117
|
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamBindingCondition>;
|
|
118
|
+
/**
|
|
119
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
120
|
+
*/
|
|
118
121
|
featurestore: pulumi.Input<string>;
|
|
119
122
|
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
123
|
/**
|
|
121
124
|
* The ID of the project in which the resource belongs.
|
|
122
|
-
* If it is not provided, the provider project is used.
|
|
125
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
123
126
|
*/
|
|
124
127
|
project?: pulumi.Input<string>;
|
|
125
128
|
/**
|
|
126
|
-
* The region of the dataset. eg us-central1
|
|
129
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
130
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
131
|
+
* region is specified, it is taken from the provider configuration.
|
|
127
132
|
*/
|
|
128
133
|
region?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The role that should be applied. Only one
|
|
136
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
137
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
138
|
+
*/
|
|
129
139
|
role: pulumi.Input<string>;
|
|
130
140
|
}
|
|
@@ -6,55 +6,29 @@ exports.AiFeatureStoreIamBinding = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* A collection of DataItems and Annotations on them.
|
|
10
|
-
*
|
|
11
|
-
* To get more information about Featurestore, see:
|
|
12
|
-
*
|
|
13
|
-
* * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
|
|
14
|
-
* * How-to Guides
|
|
15
|
-
* * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
* ### Vertex Ai Featurestore
|
|
19
|
-
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as gcp from "@pulumi/gcp";
|
|
23
|
-
*
|
|
24
|
-
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
25
|
-
* encryptionSpec: {
|
|
26
|
-
* kmsKeyName: "kms-name",
|
|
27
|
-
* },
|
|
28
|
-
* forceDestroy: true,
|
|
29
|
-
* labels: {
|
|
30
|
-
* foo: "bar",
|
|
31
|
-
* },
|
|
32
|
-
* onlineServingConfig: {
|
|
33
|
-
* fixedNodeCount: 2,
|
|
34
|
-
* },
|
|
35
|
-
* region: "us-central1",
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
9
|
* ## Import
|
|
40
10
|
*
|
|
41
|
-
*
|
|
11
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
|
|
42
12
|
*
|
|
43
13
|
* ```sh
|
|
44
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
|
|
45
15
|
* ```
|
|
46
16
|
*
|
|
47
|
-
*
|
|
48
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{project}}/{{region}}/{{name}}
|
|
49
|
-
* ```
|
|
17
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
50
18
|
*
|
|
51
19
|
* ```sh
|
|
52
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
|
|
53
21
|
* ```
|
|
54
22
|
*
|
|
23
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
24
|
+
*
|
|
55
25
|
* ```sh
|
|
56
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding
|
|
26
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
|
|
57
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`.
|
|
58
32
|
*/
|
|
59
33
|
class AiFeatureStoreIamBinding extends pulumi.CustomResource {
|
|
60
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiFeatureStoreIamBinding.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"aiFeatureStoreIamBinding.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAsCD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CA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from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* A collection of DataItems and Annotations on them.
|
|
6
|
-
*
|
|
7
|
-
* To get more information about Featurestore, see:
|
|
8
|
-
*
|
|
9
|
-
* * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
|
|
10
|
-
* * How-to Guides
|
|
11
|
-
* * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
* ### Vertex Ai Featurestore
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as gcp from "@pulumi/gcp";
|
|
19
|
-
*
|
|
20
|
-
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
21
|
-
* encryptionSpec: {
|
|
22
|
-
* kmsKeyName: "kms-name",
|
|
23
|
-
* },
|
|
24
|
-
* forceDestroy: true,
|
|
25
|
-
* labels: {
|
|
26
|
-
* foo: "bar",
|
|
27
|
-
* },
|
|
28
|
-
* onlineServingConfig: {
|
|
29
|
-
* fixedNodeCount: 2,
|
|
30
|
-
* },
|
|
31
|
-
* region: "us-central1",
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
5
|
* ## Import
|
|
36
6
|
*
|
|
37
|
-
*
|
|
7
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
|
|
38
8
|
*
|
|
39
9
|
* ```sh
|
|
40
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
10
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
|
|
41
11
|
* ```
|
|
42
12
|
*
|
|
43
|
-
*
|
|
44
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{project}}/{{region}}/{{name}}
|
|
45
|
-
* ```
|
|
13
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
46
14
|
*
|
|
47
15
|
* ```sh
|
|
48
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
16
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
|
|
49
17
|
* ```
|
|
50
18
|
*
|
|
19
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
20
|
+
*
|
|
51
21
|
* ```sh
|
|
52
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
22
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
|
|
53
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`.
|
|
54
28
|
*/
|
|
55
29
|
export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
|
|
56
30
|
/**
|
|
@@ -69,18 +43,31 @@ export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
|
|
|
69
43
|
*/
|
|
70
44
|
static isInstance(obj: any): obj is AiFeatureStoreIamMember;
|
|
71
45
|
readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreIamMemberCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* (Computed) The etag of the IAM policy.
|
|
48
|
+
*/
|
|
72
49
|
readonly etag: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
52
|
+
*/
|
|
73
53
|
readonly featurestore: pulumi.Output<string>;
|
|
74
54
|
readonly member: pulumi.Output<string>;
|
|
75
55
|
/**
|
|
76
56
|
* The ID of the project in which the resource belongs.
|
|
77
|
-
* If it is not provided, the provider project is used.
|
|
57
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
78
58
|
*/
|
|
79
59
|
readonly project: pulumi.Output<string>;
|
|
80
60
|
/**
|
|
81
|
-
* The region of the dataset. eg us-central1
|
|
61
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
62
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
63
|
+
* region is specified, it is taken from the provider configuration.
|
|
82
64
|
*/
|
|
83
65
|
readonly region: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The role that should be applied. Only one
|
|
68
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
69
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
70
|
+
*/
|
|
84
71
|
readonly role: pulumi.Output<string>;
|
|
85
72
|
/**
|
|
86
73
|
* Create a AiFeatureStoreIamMember resource with the given unique name, arguments, and options.
|
|
@@ -96,18 +83,31 @@ export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
|
|
|
96
83
|
*/
|
|
97
84
|
export interface AiFeatureStoreIamMemberState {
|
|
98
85
|
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamMemberCondition>;
|
|
86
|
+
/**
|
|
87
|
+
* (Computed) The etag of the IAM policy.
|
|
88
|
+
*/
|
|
99
89
|
etag?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
92
|
+
*/
|
|
100
93
|
featurestore?: pulumi.Input<string>;
|
|
101
94
|
member?: pulumi.Input<string>;
|
|
102
95
|
/**
|
|
103
96
|
* The ID of the project in which the resource belongs.
|
|
104
|
-
* If it is not provided, the provider project is used.
|
|
97
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
105
98
|
*/
|
|
106
99
|
project?: pulumi.Input<string>;
|
|
107
100
|
/**
|
|
108
|
-
* The region of the dataset. eg us-central1
|
|
101
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
102
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
103
|
+
* region is specified, it is taken from the provider configuration.
|
|
109
104
|
*/
|
|
110
105
|
region?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The role that should be applied. Only one
|
|
108
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
109
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
110
|
+
*/
|
|
111
111
|
role?: pulumi.Input<string>;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
@@ -115,16 +115,26 @@ export interface AiFeatureStoreIamMemberState {
|
|
|
115
115
|
*/
|
|
116
116
|
export interface AiFeatureStoreIamMemberArgs {
|
|
117
117
|
condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamMemberCondition>;
|
|
118
|
+
/**
|
|
119
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
120
|
+
*/
|
|
118
121
|
featurestore: pulumi.Input<string>;
|
|
119
122
|
member: pulumi.Input<string>;
|
|
120
123
|
/**
|
|
121
124
|
* The ID of the project in which the resource belongs.
|
|
122
|
-
* If it is not provided, the provider project is used.
|
|
125
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
123
126
|
*/
|
|
124
127
|
project?: pulumi.Input<string>;
|
|
125
128
|
/**
|
|
126
|
-
* The region of the dataset. eg us-central1
|
|
129
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
130
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
131
|
+
* region is specified, it is taken from the provider configuration.
|
|
127
132
|
*/
|
|
128
133
|
region?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The role that should be applied. Only one
|
|
136
|
+
* `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
|
|
137
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
138
|
+
*/
|
|
129
139
|
role: pulumi.Input<string>;
|
|
130
140
|
}
|
|
@@ -6,55 +6,29 @@ exports.AiFeatureStoreIamMember = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* A collection of DataItems and Annotations on them.
|
|
10
|
-
*
|
|
11
|
-
* To get more information about Featurestore, see:
|
|
12
|
-
*
|
|
13
|
-
* * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
|
|
14
|
-
* * How-to Guides
|
|
15
|
-
* * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
* ### Vertex Ai Featurestore
|
|
19
|
-
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as gcp from "@pulumi/gcp";
|
|
23
|
-
*
|
|
24
|
-
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
25
|
-
* encryptionSpec: {
|
|
26
|
-
* kmsKeyName: "kms-name",
|
|
27
|
-
* },
|
|
28
|
-
* forceDestroy: true,
|
|
29
|
-
* labels: {
|
|
30
|
-
* foo: "bar",
|
|
31
|
-
* },
|
|
32
|
-
* onlineServingConfig: {
|
|
33
|
-
* fixedNodeCount: 2,
|
|
34
|
-
* },
|
|
35
|
-
* region: "us-central1",
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
9
|
* ## Import
|
|
40
10
|
*
|
|
41
|
-
*
|
|
11
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
|
|
42
12
|
*
|
|
43
13
|
* ```sh
|
|
44
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
|
|
45
15
|
* ```
|
|
46
16
|
*
|
|
47
|
-
*
|
|
48
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{project}}/{{region}}/{{name}}
|
|
49
|
-
* ```
|
|
17
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
50
18
|
*
|
|
51
19
|
* ```sh
|
|
52
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
|
|
53
21
|
* ```
|
|
54
22
|
*
|
|
23
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
24
|
+
*
|
|
55
25
|
* ```sh
|
|
56
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember
|
|
26
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
|
|
57
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`.
|
|
58
32
|
*/
|
|
59
33
|
class AiFeatureStoreIamMember extends pulumi.CustomResource {
|
|
60
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiFeatureStoreIamMember.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"aiFeatureStoreIamMember.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CA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;AApFG,gBAAgB;AACO,oCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -1,54 +1,28 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* A collection of DataItems and Annotations on them.
|
|
4
|
-
*
|
|
5
|
-
* To get more information about Featurestore, see:
|
|
6
|
-
*
|
|
7
|
-
* * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
|
|
8
|
-
* * How-to Guides
|
|
9
|
-
* * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
* ### Vertex Ai Featurestore
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as gcp from "@pulumi/gcp";
|
|
17
|
-
*
|
|
18
|
-
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
19
|
-
* encryptionSpec: {
|
|
20
|
-
* kmsKeyName: "kms-name",
|
|
21
|
-
* },
|
|
22
|
-
* forceDestroy: true,
|
|
23
|
-
* labels: {
|
|
24
|
-
* foo: "bar",
|
|
25
|
-
* },
|
|
26
|
-
* onlineServingConfig: {
|
|
27
|
-
* fixedNodeCount: 2,
|
|
28
|
-
* },
|
|
29
|
-
* region: "us-central1",
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
3
|
* ## Import
|
|
34
4
|
*
|
|
35
|
-
*
|
|
5
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
|
|
36
6
|
*
|
|
37
7
|
* ```sh
|
|
38
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy
|
|
8
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
|
|
39
9
|
* ```
|
|
40
10
|
*
|
|
41
|
-
*
|
|
42
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy default {{project}}/{{region}}/{{name}}
|
|
43
|
-
* ```
|
|
11
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
44
12
|
*
|
|
45
13
|
* ```sh
|
|
46
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy
|
|
14
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
|
|
47
15
|
* ```
|
|
48
16
|
*
|
|
17
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
18
|
+
*
|
|
49
19
|
* ```sh
|
|
50
|
-
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy
|
|
20
|
+
* $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
|
|
51
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`.
|
|
52
26
|
*/
|
|
53
27
|
export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
|
|
54
28
|
/**
|
|
@@ -66,16 +40,28 @@ export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
|
|
|
66
40
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
41
|
*/
|
|
68
42
|
static isInstance(obj: any): obj is AiFeatureStoreIamPolicy;
|
|
43
|
+
/**
|
|
44
|
+
* (Computed) The etag of the IAM policy.
|
|
45
|
+
*/
|
|
69
46
|
readonly etag: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
49
|
+
*/
|
|
70
50
|
readonly featurestore: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The policy data generated by
|
|
53
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
54
|
+
*/
|
|
71
55
|
readonly policyData: pulumi.Output<string>;
|
|
72
56
|
/**
|
|
73
57
|
* The ID of the project in which the resource belongs.
|
|
74
|
-
* If it is not provided, the provider project is used.
|
|
58
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
75
59
|
*/
|
|
76
60
|
readonly project: pulumi.Output<string>;
|
|
77
61
|
/**
|
|
78
|
-
* The region of the dataset. eg us-central1
|
|
62
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
63
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
64
|
+
* region is specified, it is taken from the provider configuration.
|
|
79
65
|
*/
|
|
80
66
|
readonly region: pulumi.Output<string>;
|
|
81
67
|
/**
|
|
@@ -91,16 +77,28 @@ export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
|
|
|
91
77
|
* Input properties used for looking up and filtering AiFeatureStoreIamPolicy resources.
|
|
92
78
|
*/
|
|
93
79
|
export interface AiFeatureStoreIamPolicyState {
|
|
80
|
+
/**
|
|
81
|
+
* (Computed) The etag of the IAM policy.
|
|
82
|
+
*/
|
|
94
83
|
etag?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
86
|
+
*/
|
|
95
87
|
featurestore?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The policy data generated by
|
|
90
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
91
|
+
*/
|
|
96
92
|
policyData?: pulumi.Input<string>;
|
|
97
93
|
/**
|
|
98
94
|
* The ID of the project in which the resource belongs.
|
|
99
|
-
* If it is not provided, the provider project is used.
|
|
95
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
100
96
|
*/
|
|
101
97
|
project?: pulumi.Input<string>;
|
|
102
98
|
/**
|
|
103
|
-
* The region of the dataset. eg us-central1
|
|
99
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
100
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
101
|
+
* region is specified, it is taken from the provider configuration.
|
|
104
102
|
*/
|
|
105
103
|
region?: pulumi.Input<string>;
|
|
106
104
|
}
|
|
@@ -108,15 +106,24 @@ export interface AiFeatureStoreIamPolicyState {
|
|
|
108
106
|
* The set of arguments for constructing a AiFeatureStoreIamPolicy resource.
|
|
109
107
|
*/
|
|
110
108
|
export interface AiFeatureStoreIamPolicyArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
111
|
+
*/
|
|
111
112
|
featurestore: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The policy data generated by
|
|
115
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
116
|
+
*/
|
|
112
117
|
policyData: pulumi.Input<string>;
|
|
113
118
|
/**
|
|
114
119
|
* The ID of the project in which the resource belongs.
|
|
115
|
-
* If it is not provided, the provider project is used.
|
|
120
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
116
121
|
*/
|
|
117
122
|
project?: pulumi.Input<string>;
|
|
118
123
|
/**
|
|
119
|
-
* The region of the dataset. eg us-central1
|
|
124
|
+
* The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
125
|
+
* the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
|
126
|
+
* region is specified, it is taken from the provider configuration.
|
|
120
127
|
*/
|
|
121
128
|
region?: pulumi.Input<string>;
|
|
122
129
|
}
|