@pulumi/gcp 6.37.0-alpha.1663276359 → 6.37.0-alpha.1663278410

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.
Files changed (96) hide show
  1. package/apigee/environment.d.ts +16 -0
  2. package/apigee/environment.js +2 -0
  3. package/apigee/environment.js.map +1 -1
  4. package/apigee/organization.d.ts +18 -2
  5. package/apigee/organization.js +2 -0
  6. package/apigee/organization.js.map +1 -1
  7. package/appengine/flexibleAppVersion.d.ts +32 -1
  8. package/appengine/flexibleAppVersion.js +19 -1
  9. package/appengine/flexibleAppVersion.js.map +1 -1
  10. package/bigqueryanalyticshub/dataExchanceIamMember.d.ts +136 -0
  11. package/bigqueryanalyticshub/dataExchanceIamMember.js +95 -0
  12. package/bigqueryanalyticshub/dataExchanceIamMember.js.map +1 -0
  13. package/bigqueryanalyticshub/dataExchange.d.ts +189 -0
  14. package/bigqueryanalyticshub/dataExchange.js +114 -0
  15. package/bigqueryanalyticshub/dataExchange.js.map +1 -0
  16. package/bigqueryanalyticshub/dataExchangeIamBinding.d.ts +136 -0
  17. package/bigqueryanalyticshub/dataExchangeIamBinding.js +95 -0
  18. package/bigqueryanalyticshub/dataExchangeIamBinding.js.map +1 -0
  19. package/bigqueryanalyticshub/dataExchangeIamPolicy.d.ts +126 -0
  20. package/bigqueryanalyticshub/dataExchangeIamPolicy.js +88 -0
  21. package/bigqueryanalyticshub/dataExchangeIamPolicy.js.map +1 -0
  22. package/bigqueryanalyticshub/index.d.ts +4 -0
  23. package/bigqueryanalyticshub/index.js +52 -0
  24. package/bigqueryanalyticshub/index.js.map +1 -0
  25. package/certificatemanager/certificateMap.d.ts +0 -2
  26. package/certificatemanager/certificateMap.js +0 -2
  27. package/certificatemanager/certificateMap.js.map +1 -1
  28. package/certificatemanager/certificateMapEntry.d.ts +0 -2
  29. package/certificatemanager/certificateMapEntry.js +0 -2
  30. package/certificatemanager/certificateMapEntry.js.map +1 -1
  31. package/certificatemanager/dnsAuthorization.d.ts +0 -2
  32. package/certificatemanager/dnsAuthorization.js +0 -2
  33. package/certificatemanager/dnsAuthorization.js.map +1 -1
  34. package/cloudbuild/trigger.d.ts +26 -0
  35. package/cloudbuild/trigger.js +10 -0
  36. package/cloudbuild/trigger.js.map +1 -1
  37. package/compute/resourcePolicy.d.ts +31 -0
  38. package/compute/resourcePolicy.js +31 -0
  39. package/compute/resourcePolicy.js.map +1 -1
  40. package/compute/snapshot.d.ts +53 -0
  41. package/compute/snapshot.js +28 -0
  42. package/compute/snapshot.js.map +1 -1
  43. package/compute/targetSSLProxy.d.ts +20 -2
  44. package/compute/targetSSLProxy.js +2 -3
  45. package/compute/targetSSLProxy.js.map +1 -1
  46. package/config/vars.d.ts +2 -0
  47. package/config/vars.js +12 -0
  48. package/config/vars.js.map +1 -1
  49. package/container/cluster.d.ts +36 -0
  50. package/container/cluster.js +6 -0
  51. package/container/cluster.js.map +1 -1
  52. package/container/getCluster.d.ts +3 -0
  53. package/container/getCluster.js.map +1 -1
  54. package/datastream/connectionProfile.d.ts +301 -0
  55. package/datastream/connectionProfile.js +190 -0
  56. package/datastream/connectionProfile.js.map +1 -0
  57. package/datastream/index.d.ts +1 -0
  58. package/datastream/index.js +37 -0
  59. package/datastream/index.js.map +1 -0
  60. package/dns/responsePolicyRule.d.ts +12 -0
  61. package/dns/responsePolicyRule.js +2 -0
  62. package/dns/responsePolicyRule.js.map +1 -1
  63. package/index.d.ts +3 -1
  64. package/index.js +6 -2
  65. package/index.js.map +1 -1
  66. package/logging/billingAccountSink.d.ts +3 -15
  67. package/logging/billingAccountSink.js.map +1 -1
  68. package/logging/folderSink.d.ts +6 -18
  69. package/logging/folderSink.js.map +1 -1
  70. package/logging/organizationSink.d.ts +3 -15
  71. package/logging/organizationSink.js.map +1 -1
  72. package/logging/projectSink.d.ts +3 -95
  73. package/logging/projectSink.js +0 -80
  74. package/logging/projectSink.js.map +1 -1
  75. package/monitoring/getNotificationChannel.d.ts +1 -0
  76. package/monitoring/getNotificationChannel.js.map +1 -1
  77. package/monitoring/notificationChannel.d.ts +25 -0
  78. package/monitoring/notificationChannel.js +3 -0
  79. package/monitoring/notificationChannel.js.map +1 -1
  80. package/package.json +2 -2
  81. package/package.json.dev +2 -2
  82. package/provider.d.ts +4 -0
  83. package/provider.js +2 -0
  84. package/provider.js.map +1 -1
  85. package/storage/bucketObject.d.ts +6 -15
  86. package/storage/bucketObject.js.map +1 -1
  87. package/storage/getBucketObject.d.ts +6 -0
  88. package/storage/getBucketObject.js.map +1 -1
  89. package/types/input.d.ts +364 -25
  90. package/types/output.d.ts +385 -25
  91. package/vertex/aiFeatureStore.d.ts +18 -0
  92. package/vertex/aiFeatureStore.js +5 -0
  93. package/vertex/aiFeatureStore.js.map +1 -1
  94. package/vertex/aiFeatureStoreEntityType.d.ts +3 -0
  95. package/vertex/aiFeatureStoreEntityType.js +3 -0
  96. package/vertex/aiFeatureStoreEntityType.js.map +1 -1
@@ -0,0 +1,189 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ * ### Bigquery Analyticshub Data Exchange Basic
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as gcp from "@pulumi/gcp";
9
+ *
10
+ * const dataExchange = new gcp.bigqueryanalyticshub.DataExchange("dataExchange", {
11
+ * location: "US",
12
+ * dataExchangeId: "my_data_exchange",
13
+ * displayName: "my_data_exchange",
14
+ * description: "example data exchange",
15
+ * }, {
16
+ * provider: google_beta,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * DataExchange can be imported using any of these accepted formats
23
+ *
24
+ * ```sh
25
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
26
+ * ```
27
+ *
28
+ * ```sh
29
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{project}}/{{location}}/{{data_exchange_id}}
30
+ * ```
31
+ *
32
+ * ```sh
33
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{location}}/{{data_exchange_id}}
34
+ * ```
35
+ *
36
+ * ```sh
37
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{data_exchange_id}}
38
+ * ```
39
+ */
40
+ export declare class DataExchange extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing DataExchange resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataExchangeState, opts?: pulumi.CustomResourceOptions): DataExchange;
51
+ /**
52
+ * Returns true if the given object is an instance of DataExchange. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is DataExchange;
56
+ /**
57
+ * 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.
58
+ */
59
+ readonly dataExchangeId: pulumi.Output<string>;
60
+ /**
61
+ * Description of the data exchange.
62
+ */
63
+ readonly description: pulumi.Output<string | undefined>;
64
+ /**
65
+ * Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.
66
+ */
67
+ readonly displayName: pulumi.Output<string>;
68
+ /**
69
+ * Documentation describing the data exchange.
70
+ */
71
+ readonly documentation: pulumi.Output<string | undefined>;
72
+ /**
73
+ * Base64 encoded image representing the data exchange.
74
+ */
75
+ readonly icon: pulumi.Output<string | undefined>;
76
+ /**
77
+ * Number of listings contained in the data exchange.
78
+ */
79
+ readonly listingCount: pulumi.Output<number>;
80
+ /**
81
+ * The name of the location this data exchange.
82
+ */
83
+ readonly location: pulumi.Output<string>;
84
+ /**
85
+ * The resource name of the data exchange, for example: "projects/myproject/locations/US/dataExchanges/123"
86
+ */
87
+ readonly name: pulumi.Output<string>;
88
+ /**
89
+ * Email or URL of the primary point of contact of the data exchange.
90
+ */
91
+ readonly primaryContact: pulumi.Output<string | undefined>;
92
+ /**
93
+ * The ID of the project in which the resource belongs.
94
+ * If it is not provided, the provider project is used.
95
+ */
96
+ readonly project: pulumi.Output<string>;
97
+ /**
98
+ * Create a DataExchange resource with the given unique name, arguments, and options.
99
+ *
100
+ * @param name The _unique_ name of the resource.
101
+ * @param args The arguments to use to populate this resource's properties.
102
+ * @param opts A bag of options that control this resource's behavior.
103
+ */
104
+ constructor(name: string, args: DataExchangeArgs, opts?: pulumi.CustomResourceOptions);
105
+ }
106
+ /**
107
+ * Input properties used for looking up and filtering DataExchange resources.
108
+ */
109
+ export interface DataExchangeState {
110
+ /**
111
+ * 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.
112
+ */
113
+ dataExchangeId?: pulumi.Input<string>;
114
+ /**
115
+ * Description of the data exchange.
116
+ */
117
+ description?: pulumi.Input<string>;
118
+ /**
119
+ * Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.
120
+ */
121
+ displayName?: pulumi.Input<string>;
122
+ /**
123
+ * Documentation describing the data exchange.
124
+ */
125
+ documentation?: pulumi.Input<string>;
126
+ /**
127
+ * Base64 encoded image representing the data exchange.
128
+ */
129
+ icon?: pulumi.Input<string>;
130
+ /**
131
+ * Number of listings contained in the data exchange.
132
+ */
133
+ listingCount?: pulumi.Input<number>;
134
+ /**
135
+ * The name of the location this data exchange.
136
+ */
137
+ location?: pulumi.Input<string>;
138
+ /**
139
+ * The resource name of the data exchange, for example: "projects/myproject/locations/US/dataExchanges/123"
140
+ */
141
+ name?: pulumi.Input<string>;
142
+ /**
143
+ * Email or URL of the primary point of contact of the data exchange.
144
+ */
145
+ primaryContact?: pulumi.Input<string>;
146
+ /**
147
+ * The ID of the project in which the resource belongs.
148
+ * If it is not provided, the provider project is used.
149
+ */
150
+ project?: pulumi.Input<string>;
151
+ }
152
+ /**
153
+ * The set of arguments for constructing a DataExchange resource.
154
+ */
155
+ export interface DataExchangeArgs {
156
+ /**
157
+ * 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.
158
+ */
159
+ dataExchangeId: pulumi.Input<string>;
160
+ /**
161
+ * Description of the data exchange.
162
+ */
163
+ description?: pulumi.Input<string>;
164
+ /**
165
+ * Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.
166
+ */
167
+ displayName: pulumi.Input<string>;
168
+ /**
169
+ * Documentation describing the data exchange.
170
+ */
171
+ documentation?: pulumi.Input<string>;
172
+ /**
173
+ * Base64 encoded image representing the data exchange.
174
+ */
175
+ icon?: pulumi.Input<string>;
176
+ /**
177
+ * The name of the location this data exchange.
178
+ */
179
+ location: pulumi.Input<string>;
180
+ /**
181
+ * Email or URL of the primary point of contact of the data exchange.
182
+ */
183
+ primaryContact?: pulumi.Input<string>;
184
+ /**
185
+ * The ID of the project in which the resource belongs.
186
+ * If it is not provided, the provider project is used.
187
+ */
188
+ project?: pulumi.Input<string>;
189
+ }
@@ -0,0 +1,114 @@
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.DataExchange = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ * ### Bigquery Analyticshub Data Exchange Basic
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as gcp from "@pulumi/gcp";
15
+ *
16
+ * const dataExchange = new gcp.bigqueryanalyticshub.DataExchange("dataExchange", {
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
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * DataExchange can be imported using any of these accepted formats
29
+ *
30
+ * ```sh
31
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
32
+ * ```
33
+ *
34
+ * ```sh
35
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{project}}/{{location}}/{{data_exchange_id}}
36
+ * ```
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{location}}/{{data_exchange_id}}
40
+ * ```
41
+ *
42
+ * ```sh
43
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{data_exchange_id}}
44
+ * ```
45
+ */
46
+ class DataExchange extends pulumi.CustomResource {
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["dataExchangeId"] = state ? state.dataExchangeId : undefined;
53
+ resourceInputs["description"] = state ? state.description : undefined;
54
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
55
+ resourceInputs["documentation"] = state ? state.documentation : undefined;
56
+ resourceInputs["icon"] = state ? state.icon : undefined;
57
+ resourceInputs["listingCount"] = state ? state.listingCount : undefined;
58
+ resourceInputs["location"] = state ? state.location : undefined;
59
+ resourceInputs["name"] = state ? state.name : undefined;
60
+ resourceInputs["primaryContact"] = state ? state.primaryContact : undefined;
61
+ resourceInputs["project"] = state ? state.project : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ if ((!args || args.dataExchangeId === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'dataExchangeId'");
67
+ }
68
+ if ((!args || args.displayName === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'displayName'");
70
+ }
71
+ if ((!args || args.location === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'location'");
73
+ }
74
+ resourceInputs["dataExchangeId"] = args ? args.dataExchangeId : undefined;
75
+ resourceInputs["description"] = args ? args.description : undefined;
76
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
77
+ resourceInputs["documentation"] = args ? args.documentation : undefined;
78
+ resourceInputs["icon"] = args ? args.icon : undefined;
79
+ resourceInputs["location"] = args ? args.location : undefined;
80
+ resourceInputs["primaryContact"] = args ? args.primaryContact : undefined;
81
+ resourceInputs["project"] = args ? args.project : undefined;
82
+ resourceInputs["listingCount"] = undefined /*out*/;
83
+ resourceInputs["name"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(DataExchange.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ /**
89
+ * Get an existing DataExchange resource's state with the given name, ID, and optional extra
90
+ * properties used to qualify the lookup.
91
+ *
92
+ * @param name The _unique_ name of the resulting resource.
93
+ * @param id The _unique_ provider ID of the resource to lookup.
94
+ * @param state Any extra arguments used during the lookup.
95
+ * @param opts Optional settings to control the behavior of the CustomResource.
96
+ */
97
+ static get(name, id, state, opts) {
98
+ return new DataExchange(name, state, Object.assign(Object.assign({}, opts), { id: id }));
99
+ }
100
+ /**
101
+ * Returns true if the given object is an instance of DataExchange. This is designed to work even
102
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
103
+ */
104
+ static isInstance(obj) {
105
+ if (obj === undefined || obj === null) {
106
+ return false;
107
+ }
108
+ return obj['__pulumiType'] === DataExchange.__pulumiType;
109
+ }
110
+ }
111
+ exports.DataExchange = DataExchange;
112
+ /** @internal */
113
+ DataExchange.__pulumiType = 'gcp:bigqueryanalyticshub/dataExchange:DataExchange';
114
+ //# sourceMappingURL=dataExchange.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataExchange.js","sourceRoot":"","sources":["../../bigqueryanalyticshub/dataExchange.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA8EnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAA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,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAsHC;AAxGG,gBAAgB;AACO,yBAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * ## Import
5
+ *
6
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}} * {{project}}/{{location}}/{{data_exchange_id}} * {{location}}/{{data_exchange_id}} * {{data_exchange_id}} Any variables not passed in the import command will be taken from the provider configuration. Bigquery Analytics Hub dataexchange 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.
7
+ *
8
+ * ```sh
9
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchangeIamBinding:DataExchangeIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}} roles/viewer user:jane@example.com"
10
+ * ```
11
+ *
12
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
13
+ *
14
+ * ```sh
15
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchangeIamBinding:DataExchangeIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}} roles/viewer"
16
+ * ```
17
+ *
18
+ * IAM policy imports use the identifier of the resource in question, e.g.
19
+ *
20
+ * ```sh
21
+ * $ pulumi import gcp:bigqueryanalyticshub/dataExchangeIamBinding:DataExchangeIamBinding editor projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
22
+ * ```
23
+ *
24
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
25
+ *
26
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
27
+ */
28
+ export declare class DataExchangeIamBinding extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing DataExchangeIamBinding resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataExchangeIamBindingState, opts?: pulumi.CustomResourceOptions): DataExchangeIamBinding;
39
+ /**
40
+ * Returns true if the given object is an instance of DataExchangeIamBinding. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is DataExchangeIamBinding;
44
+ readonly condition: pulumi.Output<outputs.bigqueryanalyticshub.DataExchangeIamBindingCondition | undefined>;
45
+ /**
46
+ * 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
47
+ */
48
+ readonly dataExchangeId: pulumi.Output<string>;
49
+ /**
50
+ * (Computed) The etag of the IAM policy.
51
+ */
52
+ readonly etag: pulumi.Output<string>;
53
+ /**
54
+ * The name of the location this data exchange.
55
+ * Used to find the parent resource to bind the IAM policy to
56
+ */
57
+ readonly location: pulumi.Output<string>;
58
+ readonly members: pulumi.Output<string[]>;
59
+ /**
60
+ * The ID of the project in which the resource belongs.
61
+ * 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.
62
+ */
63
+ readonly project: pulumi.Output<string>;
64
+ /**
65
+ * The role that should be applied. Only one
66
+ * `gcp.bigqueryanalyticshub.DataExchangeIamBinding` can be used per role. Note that custom roles must be of the format
67
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
68
+ */
69
+ readonly role: pulumi.Output<string>;
70
+ /**
71
+ * Create a DataExchangeIamBinding resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args: DataExchangeIamBindingArgs, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * Input properties used for looking up and filtering DataExchangeIamBinding resources.
81
+ */
82
+ export interface DataExchangeIamBindingState {
83
+ condition?: pulumi.Input<inputs.bigqueryanalyticshub.DataExchangeIamBindingCondition>;
84
+ /**
85
+ * 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
86
+ */
87
+ dataExchangeId?: pulumi.Input<string>;
88
+ /**
89
+ * (Computed) The etag of the IAM policy.
90
+ */
91
+ etag?: pulumi.Input<string>;
92
+ /**
93
+ * The name of the location this data exchange.
94
+ * Used to find the parent resource to bind the IAM policy to
95
+ */
96
+ location?: pulumi.Input<string>;
97
+ members?: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * The ID of the project in which the resource belongs.
100
+ * 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.
101
+ */
102
+ project?: pulumi.Input<string>;
103
+ /**
104
+ * The role that should be applied. Only one
105
+ * `gcp.bigqueryanalyticshub.DataExchangeIamBinding` can be used per role. Note that custom roles must be of the format
106
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
107
+ */
108
+ role?: pulumi.Input<string>;
109
+ }
110
+ /**
111
+ * The set of arguments for constructing a DataExchangeIamBinding resource.
112
+ */
113
+ export interface DataExchangeIamBindingArgs {
114
+ condition?: pulumi.Input<inputs.bigqueryanalyticshub.DataExchangeIamBindingCondition>;
115
+ /**
116
+ * 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
117
+ */
118
+ dataExchangeId: pulumi.Input<string>;
119
+ /**
120
+ * The name of the location this data exchange.
121
+ * Used to find the parent resource to bind the IAM policy to
122
+ */
123
+ location?: pulumi.Input<string>;
124
+ members: pulumi.Input<pulumi.Input<string>[]>;
125
+ /**
126
+ * The ID of the project in which the resource belongs.
127
+ * 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.
128
+ */
129
+ project?: pulumi.Input<string>;
130
+ /**
131
+ * The role that should be applied. Only one
132
+ * `gcp.bigqueryanalyticshub.DataExchangeIamBinding` can be used per role. Note that custom roles must be of the format
133
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
134
+ */
135
+ role: pulumi.Input<string>;
136
+ }
@@ -0,0 +1,95 @@
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.DataExchangeIamBinding = 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}} * {{project}}/{{location}}/{{data_exchange_id}} * {{location}}/{{data_exchange_id}} * {{data_exchange_id}} Any variables not passed in the import command will be taken from the provider configuration. Bigquery Analytics Hub dataexchange 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/dataExchangeIamBinding:DataExchangeIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_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/dataExchangeIamBinding:DataExchangeIamBinding editor "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_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/dataExchangeIamBinding:DataExchangeIamBinding editor projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_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 DataExchangeIamBinding 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["location"] = state ? state.location : undefined;
43
+ resourceInputs["members"] = state ? state.members : undefined;
44
+ resourceInputs["project"] = state ? state.project : undefined;
45
+ resourceInputs["role"] = state ? state.role : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.dataExchangeId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'dataExchangeId'");
51
+ }
52
+ if ((!args || args.members === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'members'");
54
+ }
55
+ if ((!args || args.role === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'role'");
57
+ }
58
+ resourceInputs["condition"] = args ? args.condition : undefined;
59
+ resourceInputs["dataExchangeId"] = args ? args.dataExchangeId : undefined;
60
+ resourceInputs["location"] = args ? args.location : undefined;
61
+ resourceInputs["members"] = args ? args.members : undefined;
62
+ resourceInputs["project"] = args ? args.project : undefined;
63
+ resourceInputs["role"] = args ? args.role : undefined;
64
+ resourceInputs["etag"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(DataExchangeIamBinding.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ /**
70
+ * Get an existing DataExchangeIamBinding resource's state with the given name, ID, and optional extra
71
+ * properties used to qualify the lookup.
72
+ *
73
+ * @param name The _unique_ name of the resulting resource.
74
+ * @param id The _unique_ provider ID of the resource to lookup.
75
+ * @param state Any extra arguments used during the lookup.
76
+ * @param opts Optional settings to control the behavior of the CustomResource.
77
+ */
78
+ static get(name, id, state, opts) {
79
+ return new DataExchangeIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
80
+ }
81
+ /**
82
+ * Returns true if the given object is an instance of DataExchangeIamBinding. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj) {
86
+ if (obj === undefined || obj === null) {
87
+ return false;
88
+ }
89
+ return obj['__pulumiType'] === DataExchangeIamBinding.__pulumiType;
90
+ }
91
+ }
92
+ exports.DataExchangeIamBinding = DataExchangeIamBinding;
93
+ /** @internal */
94
+ DataExchangeIamBinding.__pulumiType = 'gcp:bigqueryanalyticshub/dataExchangeIamBinding:DataExchangeIamBinding';
95
+ //# sourceMappingURL=dataExchangeIamBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataExchangeIamBinding.js","sourceRoot":"","sources":["../../bigqueryanalyticshub/dataExchangeIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IA+D7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GA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