@pulumi/gcp 6.40.0 → 6.41.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/appengine/standardAppVersion.d.ts +28 -0
- package/appengine/standardAppVersion.js +18 -0
- package/appengine/standardAppVersion.js.map +1 -1
- package/bigquery/reservation.d.ts +29 -1
- package/bigquery/reservation.js +6 -1
- package/bigquery/reservation.js.map +1 -1
- package/bigqueryanalyticshub/index.d.ts +12 -0
- package/bigqueryanalyticshub/index.js +21 -1
- package/bigqueryanalyticshub/index.js.map +1 -1
- package/bigqueryanalyticshub/listing.d.ts +280 -0
- package/bigqueryanalyticshub/listing.js +146 -0
- package/bigqueryanalyticshub/listing.js.map +1 -0
- package/bigqueryanalyticshub/listingIamBinding.d.ts +149 -0
- package/bigqueryanalyticshub/listingIamBinding.js +100 -0
- package/bigqueryanalyticshub/listingIamBinding.js.map +1 -0
- package/bigqueryanalyticshub/listingIamMember.d.ts +149 -0
- package/bigqueryanalyticshub/listingIamMember.js +100 -0
- package/bigqueryanalyticshub/listingIamMember.js.map +1 -0
- package/bigqueryanalyticshub/listingIamPolicy.d.ts +138 -0
- package/bigqueryanalyticshub/listingIamPolicy.js +93 -0
- package/bigqueryanalyticshub/listingIamPolicy.js.map +1 -0
- package/bigquerydatapolicy/dataPolicy.d.ts +178 -0
- package/bigquerydatapolicy/dataPolicy.js +122 -0
- package/bigquerydatapolicy/dataPolicy.js.map +1 -0
- package/bigquerydatapolicy/dataPolicyIamBinding.d.ts +128 -0
- package/bigquerydatapolicy/dataPolicyIamBinding.js +95 -0
- package/bigquerydatapolicy/dataPolicyIamBinding.js.map +1 -0
- package/bigquerydatapolicy/dataPolicyIamMember.d.ts +128 -0
- package/bigquerydatapolicy/dataPolicyIamMember.js +95 -0
- package/bigquerydatapolicy/dataPolicyIamMember.js.map +1 -0
- package/bigquerydatapolicy/dataPolicyIamPolicy.d.ts +117 -0
- package/bigquerydatapolicy/dataPolicyIamPolicy.js +88 -0
- package/bigquerydatapolicy/dataPolicyIamPolicy.js.map +1 -0
- package/bigquerydatapolicy/index.d.ts +12 -0
- package/bigquerydatapolicy/index.js +37 -0
- package/bigquerydatapolicy/index.js.map +1 -0
- package/cloudfunctionsv2/getFunction.d.ts +79 -0
- package/cloudfunctionsv2/getFunction.js +41 -0
- package/cloudfunctionsv2/getFunction.js.map +1 -0
- package/cloudfunctionsv2/index.d.ts +3 -0
- package/cloudfunctionsv2/index.js +4 -1
- package/cloudfunctionsv2/index.js.map +1 -1
- package/cloudids/endpoint.d.ts +197 -0
- package/cloudids/endpoint.js +127 -0
- package/cloudids/endpoint.js.map +1 -0
- package/cloudids/index.d.ts +3 -0
- package/cloudids/index.js +22 -0
- package/cloudids/index.js.map +1 -0
- package/cloudrun/service.d.ts +37 -0
- package/cloudrun/service.js +37 -0
- package/cloudrun/service.js.map +1 -1
- package/compute/backendBucket.d.ts +15 -0
- package/compute/backendBucket.js +2 -0
- package/compute/backendBucket.js.map +1 -1
- package/compute/backendService.d.ts +15 -0
- package/compute/backendService.js +2 -0
- package/compute/backendService.js.map +1 -1
- package/compute/getBackendBucket.d.ts +1 -0
- package/compute/getBackendBucket.js.map +1 -1
- package/compute/getBackendService.d.ts +1 -0
- package/compute/getBackendService.js.map +1 -1
- package/compute/getSnapshot.d.ts +106 -0
- package/compute/getSnapshot.js +50 -0
- package/compute/getSnapshot.js.map +1 -0
- package/compute/index.d.ts +6 -0
- package/compute/index.js +11 -3
- package/compute/index.js.map +1 -1
- package/compute/instance.d.ts +9 -3
- package/compute/instance.js +3 -0
- package/compute/instance.js.map +1 -1
- package/compute/regionTargetTcpProxy.d.ts +203 -0
- package/compute/regionTargetTcpProxy.js +93 -0
- package/compute/regionTargetTcpProxy.js.map +1 -0
- package/config/vars.d.ts +2 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/dataflow/flexTemplateJob.d.ts +0 -6
- package/dataflow/flexTemplateJob.js.map +1 -1
- package/datafusion/instance.d.ts +39 -0
- package/datafusion/instance.js +26 -0
- package/datafusion/instance.js.map +1 -1
- package/dataproc/metastoreFederation.d.ts +40 -2
- package/dataproc/metastoreFederation.js +38 -0
- package/dataproc/metastoreFederation.js.map +1 -1
- package/datastream/connectionProfile.d.ts +25 -0
- package/datastream/connectionProfile.js +15 -0
- package/datastream/connectionProfile.js.map +1 -1
- package/dns/managedZone.d.ts +32 -0
- package/dns/managedZone.js +19 -0
- package/dns/managedZone.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/orgpolicy/customConstraint.d.ts +204 -0
- package/orgpolicy/customConstraint.js +141 -0
- package/orgpolicy/customConstraint.js.map +1 -0
- package/orgpolicy/index.d.ts +3 -0
- package/orgpolicy/index.js +6 -1
- package/orgpolicy/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +4 -0
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/secretmanager/secretVersion.d.ts +1 -1
- package/secretmanager/secretVersion.js +1 -1
- package/sql/user.d.ts +5 -3
- package/sql/user.js +3 -1
- package/sql/user.js.map +1 -1
- package/storage/bucket.d.ts +15 -3
- package/storage/bucket.js +2 -0
- package/storage/bucket.js.map +1 -1
- package/storage/getBucket.d.ts +1 -0
- package/storage/getBucket.js.map +1 -1
- package/types/input.d.ts +228 -14
- package/types/output.d.ts +361 -16
- package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +182 -0
- package/vertex/aiFeatureStoreEntityTypeFeature.js +121 -0
- package/vertex/aiFeatureStoreEntityTypeFeature.js.map +1 -0
- package/vertex/index.d.ts +3 -0
- package/vertex/index.js +6 -1
- package/vertex/index.js.map +1 -1
- package/vpcaccess/getConnector.d.ts +89 -0
- package/vpcaccess/getConnector.js +49 -0
- package/vpcaccess/getConnector.js.map +1 -0
- package/vpcaccess/index.d.ts +3 -0
- package/vpcaccess/index.js +4 -1
- package/vpcaccess/index.js.map +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
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.Listing = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Bigquery Analyticshub Listing Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gcp from "@pulumi/gcp";
|
|
15
|
+
*
|
|
16
|
+
* const listingDataExchange = new gcp.bigqueryanalyticshub.DataExchange("listingDataExchange", {
|
|
17
|
+
* location: "US",
|
|
18
|
+
* dataExchangeId: "my_data_exchange",
|
|
19
|
+
* displayName: "my_data_exchange",
|
|
20
|
+
* description: "example data exchange",
|
|
21
|
+
* }, {
|
|
22
|
+
* provider: google_beta,
|
|
23
|
+
* });
|
|
24
|
+
* const listingDataset = new gcp.bigquery.Dataset("listingDataset", {
|
|
25
|
+
* datasetId: "my_listing",
|
|
26
|
+
* friendlyName: "my_listing",
|
|
27
|
+
* description: "example data exchange",
|
|
28
|
+
* location: "US",
|
|
29
|
+
* }, {
|
|
30
|
+
* provider: google_beta,
|
|
31
|
+
* });
|
|
32
|
+
* const listingListing = new gcp.bigqueryanalyticshub.Listing("listingListing", {
|
|
33
|
+
* location: "US",
|
|
34
|
+
* dataExchangeId: listingDataExchange.dataExchangeId,
|
|
35
|
+
* listingId: "my_listing",
|
|
36
|
+
* displayName: "my_listing",
|
|
37
|
+
* description: "example data exchange",
|
|
38
|
+
* bigqueryDataset: {
|
|
39
|
+
* dataset: listingDataset.id,
|
|
40
|
+
* },
|
|
41
|
+
* }, {
|
|
42
|
+
* provider: google_beta,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* Listing can be imported using any of these accepted formats
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import gcp:bigqueryanalyticshub/listing:Listing default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}}
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import gcp:bigqueryanalyticshub/listing:Listing default {{project}}/{{location}}/{{data_exchange_id}}/{{listing_id}}
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import gcp:bigqueryanalyticshub/listing:Listing default {{location}}/{{data_exchange_id}}/{{listing_id}}
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
class Listing extends pulumi.CustomResource {
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["bigqueryDataset"] = state ? state.bigqueryDataset : undefined;
|
|
69
|
+
resourceInputs["categories"] = state ? state.categories : undefined;
|
|
70
|
+
resourceInputs["dataExchangeId"] = state ? state.dataExchangeId : undefined;
|
|
71
|
+
resourceInputs["dataProvider"] = state ? state.dataProvider : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
74
|
+
resourceInputs["documentation"] = state ? state.documentation : undefined;
|
|
75
|
+
resourceInputs["icon"] = state ? state.icon : undefined;
|
|
76
|
+
resourceInputs["listingId"] = state ? state.listingId : undefined;
|
|
77
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
78
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
79
|
+
resourceInputs["primaryContact"] = state ? state.primaryContact : undefined;
|
|
80
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
81
|
+
resourceInputs["publisher"] = state ? state.publisher : undefined;
|
|
82
|
+
resourceInputs["requestAccess"] = state ? state.requestAccess : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if ((!args || args.bigqueryDataset === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'bigqueryDataset'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.dataExchangeId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'dataExchangeId'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'displayName'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.listingId === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'listingId'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'location'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["bigqueryDataset"] = args ? args.bigqueryDataset : undefined;
|
|
102
|
+
resourceInputs["categories"] = args ? args.categories : undefined;
|
|
103
|
+
resourceInputs["dataExchangeId"] = args ? args.dataExchangeId : undefined;
|
|
104
|
+
resourceInputs["dataProvider"] = args ? args.dataProvider : undefined;
|
|
105
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
106
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
107
|
+
resourceInputs["documentation"] = args ? args.documentation : undefined;
|
|
108
|
+
resourceInputs["icon"] = args ? args.icon : undefined;
|
|
109
|
+
resourceInputs["listingId"] = args ? args.listingId : undefined;
|
|
110
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
111
|
+
resourceInputs["primaryContact"] = args ? args.primaryContact : undefined;
|
|
112
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
113
|
+
resourceInputs["publisher"] = args ? args.publisher : undefined;
|
|
114
|
+
resourceInputs["requestAccess"] = args ? args.requestAccess : undefined;
|
|
115
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
super(Listing.__pulumiType, name, resourceInputs, opts);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Get an existing Listing resource's state with the given name, ID, and optional extra
|
|
122
|
+
* properties used to qualify the lookup.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resulting resource.
|
|
125
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
126
|
+
* @param state Any extra arguments used during the lookup.
|
|
127
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
128
|
+
*/
|
|
129
|
+
static get(name, id, state, opts) {
|
|
130
|
+
return new Listing(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Returns true if the given object is an instance of Listing. This is designed to work even
|
|
134
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
135
|
+
*/
|
|
136
|
+
static isInstance(obj) {
|
|
137
|
+
if (obj === undefined || obj === null) {
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
return obj['__pulumiType'] === Listing.__pulumiType;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
exports.Listing = Listing;
|
|
144
|
+
/** @internal */
|
|
145
|
+
Listing.__pulumiType = 'gcp:bigqueryanalyticshub/listing:Listing';
|
|
146
|
+
//# sourceMappingURL=listing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listing.js","sourceRoot":"","sources":["../../bigqueryanalyticshub/listing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;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,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA6JC;AA/IG,gBAAgB;AACO,oBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
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* projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} * {{project}}/{{location}}/{{data_exchange_id}}/{{listing_id}} * {{location}}/{{data_exchange_id}}/{{listing_id}} * {{listing_id}} Any variables not passed in the import command will be taken from the provider configuration. Bigquery Analytics Hub listing 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}}
|
|
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 ListingIamBinding extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ListingIamBinding 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?: ListingIamBindingState, opts?: pulumi.CustomResourceOptions): ListingIamBinding;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ListingIamBinding. 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 ListingIamBinding;
|
|
45
|
+
readonly condition: pulumi.Output<outputs.bigqueryanalyticshub.ListingIamBindingCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
48
|
+
*/
|
|
49
|
+
readonly dataExchangeId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (Computed) The etag of the IAM policy.
|
|
52
|
+
*/
|
|
53
|
+
readonly etag: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
56
|
+
*/
|
|
57
|
+
readonly listingId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the location this data exchange listing.
|
|
60
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
61
|
+
*/
|
|
62
|
+
readonly location: pulumi.Output<string>;
|
|
63
|
+
readonly members: pulumi.Output<string[]>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the project in which the resource belongs.
|
|
66
|
+
* 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.
|
|
67
|
+
*/
|
|
68
|
+
readonly project: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The role that should be applied. Only one
|
|
71
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
72
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
73
|
+
*/
|
|
74
|
+
readonly role: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a ListingIamBinding resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: ListingIamBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering ListingIamBinding resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface ListingIamBindingState {
|
|
88
|
+
condition?: pulumi.Input<inputs.bigqueryanalyticshub.ListingIamBindingCondition>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
91
|
+
*/
|
|
92
|
+
dataExchangeId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* (Computed) The etag of the IAM policy.
|
|
95
|
+
*/
|
|
96
|
+
etag?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
99
|
+
*/
|
|
100
|
+
listingId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the location this data exchange listing.
|
|
103
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
104
|
+
*/
|
|
105
|
+
location?: pulumi.Input<string>;
|
|
106
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the project in which the resource belongs.
|
|
109
|
+
* 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.
|
|
110
|
+
*/
|
|
111
|
+
project?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The role that should be applied. Only one
|
|
114
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
115
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
116
|
+
*/
|
|
117
|
+
role?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a ListingIamBinding resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface ListingIamBindingArgs {
|
|
123
|
+
condition?: pulumi.Input<inputs.bigqueryanalyticshub.ListingIamBindingCondition>;
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
126
|
+
*/
|
|
127
|
+
dataExchangeId: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
130
|
+
*/
|
|
131
|
+
listingId: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the location this data exchange listing.
|
|
134
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
135
|
+
*/
|
|
136
|
+
location?: pulumi.Input<string>;
|
|
137
|
+
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the project in which the resource belongs.
|
|
140
|
+
* 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.
|
|
141
|
+
*/
|
|
142
|
+
project?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The role that should be applied. Only one
|
|
145
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
146
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
147
|
+
*/
|
|
148
|
+
role: pulumi.Input<string>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.ListingIamBinding = 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* projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} * {{project}}/{{location}}/{{data_exchange_id}}/{{listing_id}} * {{location}}/{{data_exchange_id}}/{{listing_id}} * {{listing_id}} Any variables not passed in the import command will be taken from the provider configuration. Bigquery Analytics Hub listing 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamBinding:ListingIamBinding editor projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}}
|
|
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 ListingIamBinding extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
40
|
+
resourceInputs["dataExchangeId"] = state ? state.dataExchangeId : undefined;
|
|
41
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
42
|
+
resourceInputs["listingId"] = state ? state.listingId : undefined;
|
|
43
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
44
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
45
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
46
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.dataExchangeId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'dataExchangeId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.listingId === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'listingId'");
|
|
55
|
+
}
|
|
56
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'members'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'role'");
|
|
61
|
+
}
|
|
62
|
+
resourceInputs["condition"] = args ? args.condition : undefined;
|
|
63
|
+
resourceInputs["dataExchangeId"] = args ? args.dataExchangeId : undefined;
|
|
64
|
+
resourceInputs["listingId"] = args ? args.listingId : undefined;
|
|
65
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
66
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
67
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
68
|
+
resourceInputs["role"] = args ? args.role : undefined;
|
|
69
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(ListingIamBinding.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing ListingIamBinding resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new ListingIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of ListingIamBinding. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === ListingIamBinding.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.ListingIamBinding = ListingIamBinding;
|
|
98
|
+
/** @internal */
|
|
99
|
+
ListingIamBinding.__pulumiType = 'gcp:bigqueryanalyticshub/listingIamBinding:ListingIamBinding';
|
|
100
|
+
//# sourceMappingURL=listingIamBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listingIamBinding.js","sourceRoot":"","sources":["../../bigqueryanalyticshub/listingIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAmExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,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AAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAxGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA0GC;AA5FG,gBAAgB;AACO,8BAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
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* projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} * {{project}}/{{location}}/{{data_exchange_id}}/{{listing_id}} * {{location}}/{{data_exchange_id}}/{{listing_id}} * {{listing_id}} Any variables not passed in the import command will be taken from the provider configuration. Bigquery Analytics Hub listing 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:bigqueryanalyticshub/listingIamMember:ListingIamMember editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamMember:ListingIamMember editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}} 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:bigqueryanalyticshub/listingIamMember:ListingIamMember editor projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}}
|
|
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 ListingIamMember extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ListingIamMember 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?: ListingIamMemberState, opts?: pulumi.CustomResourceOptions): ListingIamMember;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ListingIamMember. 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 ListingIamMember;
|
|
45
|
+
readonly condition: pulumi.Output<outputs.bigqueryanalyticshub.ListingIamMemberCondition | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
48
|
+
*/
|
|
49
|
+
readonly dataExchangeId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (Computed) The etag of the IAM policy.
|
|
52
|
+
*/
|
|
53
|
+
readonly etag: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
56
|
+
*/
|
|
57
|
+
readonly listingId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the location this data exchange listing.
|
|
60
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
61
|
+
*/
|
|
62
|
+
readonly location: pulumi.Output<string>;
|
|
63
|
+
readonly member: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the project in which the resource belongs.
|
|
66
|
+
* 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.
|
|
67
|
+
*/
|
|
68
|
+
readonly project: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The role that should be applied. Only one
|
|
71
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
72
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
73
|
+
*/
|
|
74
|
+
readonly role: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a ListingIamMember resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: ListingIamMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering ListingIamMember resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface ListingIamMemberState {
|
|
88
|
+
condition?: pulumi.Input<inputs.bigqueryanalyticshub.ListingIamMemberCondition>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
91
|
+
*/
|
|
92
|
+
dataExchangeId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* (Computed) The etag of the IAM policy.
|
|
95
|
+
*/
|
|
96
|
+
etag?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
99
|
+
*/
|
|
100
|
+
listingId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the location this data exchange listing.
|
|
103
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
104
|
+
*/
|
|
105
|
+
location?: pulumi.Input<string>;
|
|
106
|
+
member?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the project in which the resource belongs.
|
|
109
|
+
* 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.
|
|
110
|
+
*/
|
|
111
|
+
project?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The role that should be applied. Only one
|
|
114
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
115
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
116
|
+
*/
|
|
117
|
+
role?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a ListingIamMember resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface ListingIamMemberArgs {
|
|
123
|
+
condition?: pulumi.Input<inputs.bigqueryanalyticshub.ListingIamMemberCondition>;
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
126
|
+
*/
|
|
127
|
+
dataExchangeId: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the listing. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Used to find the parent resource to bind the IAM policy to
|
|
130
|
+
*/
|
|
131
|
+
listingId: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the location this data exchange listing.
|
|
134
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
135
|
+
*/
|
|
136
|
+
location?: pulumi.Input<string>;
|
|
137
|
+
member: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the project in which the resource belongs.
|
|
140
|
+
* 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.
|
|
141
|
+
*/
|
|
142
|
+
project?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The role that should be applied. Only one
|
|
145
|
+
* `gcp.bigqueryanalyticshub.ListingIamBinding` can be used per role. Note that custom roles must be of the format
|
|
146
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
147
|
+
*/
|
|
148
|
+
role: pulumi.Input<string>;
|
|
149
|
+
}
|