@pulumi/gcp 6.49.0 → 6.50.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.
Files changed (88) hide show
  1. package/alloydb/backup.d.ts +8 -8
  2. package/alloydb/backup.js +8 -8
  3. package/alloydb/cluster.d.ts +1 -50
  4. package/alloydb/cluster.js +1 -50
  5. package/alloydb/cluster.js.map +1 -1
  6. package/alloydb/instance.d.ts +9 -10
  7. package/alloydb/instance.js +9 -10
  8. package/alloydb/instance.js.map +1 -1
  9. package/apigee/addonsConfig.d.ts +172 -0
  10. package/apigee/addonsConfig.js +161 -0
  11. package/apigee/addonsConfig.js.map +1 -0
  12. package/apigee/index.d.ts +3 -0
  13. package/apigee/index.js +6 -1
  14. package/apigee/index.js.map +1 -1
  15. package/cloudbuildv2/connectionIAMBinding.d.ts +125 -0
  16. package/cloudbuildv2/connectionIAMBinding.js +92 -0
  17. package/cloudbuildv2/connectionIAMBinding.js.map +1 -0
  18. package/cloudbuildv2/connectionIAMMember.d.ts +125 -0
  19. package/cloudbuildv2/connectionIAMMember.js +92 -0
  20. package/cloudbuildv2/connectionIAMMember.js.map +1 -0
  21. package/cloudbuildv2/connectionIAMPolicy.d.ts +114 -0
  22. package/cloudbuildv2/connectionIAMPolicy.js +85 -0
  23. package/cloudbuildv2/connectionIAMPolicy.js.map +1 -0
  24. package/cloudbuildv2/index.d.ts +9 -0
  25. package/cloudbuildv2/index.js +16 -1
  26. package/cloudbuildv2/index.js.map +1 -1
  27. package/compute/externalVpnGateway.d.ts +18 -0
  28. package/compute/externalVpnGateway.js +2 -0
  29. package/compute/externalVpnGateway.js.map +1 -1
  30. package/compute/getInstanceGroupManager.d.ts +1 -0
  31. package/compute/getInstanceGroupManager.js.map +1 -1
  32. package/compute/getInstanceTemplate.d.ts +4 -0
  33. package/compute/getInstanceTemplate.js.map +1 -1
  34. package/compute/instanceGroupManager.d.ts +12 -0
  35. package/compute/instanceGroupManager.js +2 -0
  36. package/compute/instanceGroupManager.js.map +1 -1
  37. package/compute/instanceTemplate.d.ts +12 -0
  38. package/compute/instanceTemplate.js +2 -0
  39. package/compute/instanceTemplate.js.map +1 -1
  40. package/compute/network.d.ts +15 -6
  41. package/compute/network.js.map +1 -1
  42. package/compute/regionInstanceGroupManager.d.ts +12 -0
  43. package/compute/regionInstanceGroupManager.js +2 -0
  44. package/compute/regionInstanceGroupManager.js.map +1 -1
  45. package/compute/regionTargetTcpProxy.d.ts +10 -0
  46. package/compute/regionTargetTcpProxy.js +10 -0
  47. package/compute/regionTargetTcpProxy.js.map +1 -1
  48. package/datafusion/instance.d.ts +0 -9
  49. package/datafusion/instance.js +0 -9
  50. package/datafusion/instance.js.map +1 -1
  51. package/datastream/stream.d.ts +170 -0
  52. package/datastream/stream.js +170 -0
  53. package/datastream/stream.js.map +1 -1
  54. package/eventarc/channel.d.ts +3 -3
  55. package/eventarc/channel.js +3 -3
  56. package/eventarc/googleChannelConfig.d.ts +3 -3
  57. package/eventarc/googleChannelConfig.js +3 -3
  58. package/firebase/androidApp.d.ts +3 -3
  59. package/firebase/appleApp.d.ts +9 -9
  60. package/firestore/database.d.ts +197 -0
  61. package/firestore/database.js +90 -0
  62. package/firestore/database.js.map +1 -0
  63. package/firestore/index.d.ts +3 -0
  64. package/firestore/index.js +6 -1
  65. package/firestore/index.js.map +1 -1
  66. package/package.json +2 -2
  67. package/package.json.dev +2 -2
  68. package/redis/instance.d.ts +2 -2
  69. package/securitycenter/instanceIamBinding.d.ts +0 -9
  70. package/securitycenter/instanceIamBinding.js +0 -9
  71. package/securitycenter/instanceIamBinding.js.map +1 -1
  72. package/securitycenter/instanceIamMember.d.ts +0 -9
  73. package/securitycenter/instanceIamMember.js +0 -9
  74. package/securitycenter/instanceIamMember.js.map +1 -1
  75. package/securitycenter/instanceIamPolicy.d.ts +0 -9
  76. package/securitycenter/instanceIamPolicy.js +0 -9
  77. package/securitycenter/instanceIamPolicy.js.map +1 -1
  78. package/sql/databaseInstance.d.ts +1 -0
  79. package/sql/databaseInstance.js +1 -0
  80. package/sql/databaseInstance.js.map +1 -1
  81. package/types/input.d.ts +570 -1
  82. package/types/output.d.ts +575 -1
  83. package/vertex/aiFeatureStore.d.ts +44 -0
  84. package/vertex/aiFeatureStore.js +25 -0
  85. package/vertex/aiFeatureStore.js.map +1 -1
  86. package/vertex/aiFeatureStoreEntityType.d.ts +32 -0
  87. package/vertex/aiFeatureStoreEntityType.js +6 -0
  88. package/vertex/aiFeatureStoreEntityType.js.map +1 -1
@@ -0,0 +1,161 @@
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.AddonsConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Configures the add-ons for the Apigee organization. The existing add-on configuration will be fully replaced.
10
+ *
11
+ * To get more information about AddonsConfig, see:
12
+ *
13
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations#setaddons)
14
+ * * How-to Guides
15
+ * * [Creating an API organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org)
16
+ *
17
+ * ## Example Usage
18
+ * ### Apigee Addons Basic
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as gcp from "@pulumi/gcp";
23
+ *
24
+ * const testOrganization = new gcp.apigee.AddonsConfig("testOrganization", {
25
+ * addonsConfig: {
26
+ * apiSecurityConfig: {
27
+ * enabled: true,
28
+ * },
29
+ * monetizationConfig: {
30
+ * enabled: true,
31
+ * },
32
+ * },
33
+ * org: "test_organization",
34
+ * });
35
+ * ```
36
+ * ### Apigee Addons Full
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as gcp from "@pulumi/gcp";
41
+ *
42
+ * const current = gcp.organizations.getClientConfig({});
43
+ * const apigee = new gcp.projects.Service("apigee", {
44
+ * project: current.then(current => current.project),
45
+ * service: "apigee.googleapis.com",
46
+ * });
47
+ * const compute = new gcp.projects.Service("compute", {
48
+ * project: current.then(current => current.project),
49
+ * service: "compute.googleapis.com",
50
+ * });
51
+ * const servicenetworking = new gcp.projects.Service("servicenetworking", {
52
+ * project: current.then(current => current.project),
53
+ * service: "servicenetworking.googleapis.com",
54
+ * });
55
+ * const apigeeNetwork = new gcp.compute.Network("apigeeNetwork", {project: current.then(current => current.project)}, {
56
+ * dependsOn: [compute],
57
+ * });
58
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
59
+ * purpose: "VPC_PEERING",
60
+ * addressType: "INTERNAL",
61
+ * prefixLength: 16,
62
+ * network: apigeeNetwork.id,
63
+ * project: current.then(current => current.project),
64
+ * });
65
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
66
+ * network: apigeeNetwork.id,
67
+ * service: "servicenetworking.googleapis.com",
68
+ * reservedPeeringRanges: [apigeeRange.name],
69
+ * });
70
+ * const org = new gcp.apigee.Organization("org", {
71
+ * analyticsRegion: "us-central1",
72
+ * projectId: current.then(current => current.project),
73
+ * authorizedNetwork: apigeeNetwork.id,
74
+ * billingType: "EVALUATION",
75
+ * }, {
76
+ * dependsOn: [
77
+ * apigeeVpcConnection,
78
+ * apigee,
79
+ * ],
80
+ * });
81
+ * const testOrganization = new gcp.apigee.AddonsConfig("testOrganization", {
82
+ * org: org.name,
83
+ * addonsConfig: {
84
+ * integrationConfig: {
85
+ * enabled: true,
86
+ * },
87
+ * apiSecurityConfig: {
88
+ * enabled: true,
89
+ * },
90
+ * connectorsPlatformConfig: {
91
+ * enabled: true,
92
+ * },
93
+ * monetizationConfig: {
94
+ * enabled: true,
95
+ * },
96
+ * advancedApiOpsConfig: {
97
+ * enabled: true,
98
+ * },
99
+ * },
100
+ * });
101
+ * ```
102
+ *
103
+ * ## Import
104
+ *
105
+ * AddonsConfig can be imported using any of these accepted formats
106
+ *
107
+ * ```sh
108
+ * $ pulumi import gcp:apigee/addonsConfig:AddonsConfig default organizations/{{name}}
109
+ * ```
110
+ *
111
+ * ```sh
112
+ * $ pulumi import gcp:apigee/addonsConfig:AddonsConfig default {{name}}
113
+ * ```
114
+ */
115
+ class AddonsConfig extends pulumi.CustomResource {
116
+ /**
117
+ * Get an existing AddonsConfig resource's state with the given name, ID, and optional extra
118
+ * properties used to qualify the lookup.
119
+ *
120
+ * @param name The _unique_ name of the resulting resource.
121
+ * @param id The _unique_ provider ID of the resource to lookup.
122
+ * @param state Any extra arguments used during the lookup.
123
+ * @param opts Optional settings to control the behavior of the CustomResource.
124
+ */
125
+ static get(name, id, state, opts) {
126
+ return new AddonsConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
127
+ }
128
+ /**
129
+ * Returns true if the given object is an instance of AddonsConfig. This is designed to work even
130
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
131
+ */
132
+ static isInstance(obj) {
133
+ if (obj === undefined || obj === null) {
134
+ return false;
135
+ }
136
+ return obj['__pulumiType'] === AddonsConfig.__pulumiType;
137
+ }
138
+ constructor(name, argsOrState, opts) {
139
+ let resourceInputs = {};
140
+ opts = opts || {};
141
+ if (opts.id) {
142
+ const state = argsOrState;
143
+ resourceInputs["addonsConfig"] = state ? state.addonsConfig : undefined;
144
+ resourceInputs["org"] = state ? state.org : undefined;
145
+ }
146
+ else {
147
+ const args = argsOrState;
148
+ if ((!args || args.org === undefined) && !opts.urn) {
149
+ throw new Error("Missing required property 'org'");
150
+ }
151
+ resourceInputs["addonsConfig"] = args ? args.addonsConfig : undefined;
152
+ resourceInputs["org"] = args ? args.org : undefined;
153
+ }
154
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
155
+ super(AddonsConfig.__pulumiType, name, resourceInputs, opts);
156
+ }
157
+ }
158
+ exports.AddonsConfig = AddonsConfig;
159
+ /** @internal */
160
+ AddonsConfig.__pulumiType = 'gcp:apigee/addonsConfig:AddonsConfig';
161
+ //# sourceMappingURL=addonsConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addonsConfig.js","sourceRoot":"","sources":["../../apigee/addonsConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAoBD,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,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA/DL,oCAgEC;AAlDG,gBAAgB;AACO,yBAAY,GAAG,sCAAsC,CAAC"}
package/apigee/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export { AddonsConfigArgs, AddonsConfigState } from "./addonsConfig";
2
+ export type AddonsConfig = import("./addonsConfig").AddonsConfig;
3
+ export declare const AddonsConfig: typeof import("./addonsConfig").AddonsConfig;
1
4
  export { EndpointAttachmentArgs, EndpointAttachmentState } from "./endpointAttachment";
2
5
  export type EndpointAttachment = import("./endpointAttachment").EndpointAttachment;
3
6
  export declare const EndpointAttachment: typeof import("./endpointAttachment").EndpointAttachment;
package/apigee/index.js CHANGED
@@ -2,9 +2,11 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.SyncAuthorization = exports.Organization = exports.NatAddress = exports.InstanceAttachment = exports.Instance = exports.EnvironmentIamPolicy = exports.EnvironmentIamMember = exports.EnvironmentIamBinding = exports.Environment = exports.EnvGroupAttachment = exports.EnvGroup = exports.EndpointAttachment = void 0;
5
+ exports.SyncAuthorization = exports.Organization = exports.NatAddress = exports.InstanceAttachment = exports.Instance = exports.EnvironmentIamPolicy = exports.EnvironmentIamMember = exports.EnvironmentIamBinding = exports.Environment = exports.EnvGroupAttachment = exports.EnvGroup = exports.EndpointAttachment = exports.AddonsConfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.AddonsConfig = null;
9
+ utilities.lazyLoad(exports, ["AddonsConfig"], () => require("./addonsConfig"));
8
10
  exports.EndpointAttachment = null;
9
11
  utilities.lazyLoad(exports, ["EndpointAttachment"], () => require("./endpointAttachment"));
10
12
  exports.EnvGroup = null;
@@ -33,6 +35,8 @@ const _module = {
33
35
  version: utilities.getVersion(),
34
36
  construct: (name, type, urn) => {
35
37
  switch (type) {
38
+ case "gcp:apigee/addonsConfig:AddonsConfig":
39
+ return new exports.AddonsConfig(name, undefined, { urn });
36
40
  case "gcp:apigee/endpointAttachment:EndpointAttachment":
37
41
  return new exports.EndpointAttachment(name, undefined, { urn });
38
42
  case "gcp:apigee/envGroup:EnvGroup":
@@ -62,6 +66,7 @@ const _module = {
62
66
  }
63
67
  },
64
68
  };
69
+ pulumi.runtime.registerResourceModule("gcp", "apigee/addonsConfig", _module);
65
70
  pulumi.runtime.registerResourceModule("gcp", "apigee/endpointAttachment", _module);
66
71
  pulumi.runtime.registerResourceModule("gcp", "apigee/envGroup", _module);
67
72
  pulumi.runtime.registerResourceModule("gcp", "apigee/envGroupAttachment", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../apigee/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,kBAAkB,G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,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,125 @@
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}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer 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:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
17
+ * ```
18
+ *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
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 ConnectionIAMBinding extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing ConnectionIAMBinding 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?: ConnectionIAMBindingState, opts?: pulumi.CustomResourceOptions): ConnectionIAMBinding;
40
+ /**
41
+ * Returns true if the given object is an instance of ConnectionIAMBinding. 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 ConnectionIAMBinding;
45
+ readonly condition: pulumi.Output<outputs.cloudbuildv2.ConnectionIAMBindingCondition | undefined>;
46
+ /**
47
+ * (Computed) The etag of the IAM policy.
48
+ */
49
+ readonly etag: pulumi.Output<string>;
50
+ readonly location: pulumi.Output<string>;
51
+ readonly members: pulumi.Output<string[]>;
52
+ /**
53
+ * Used to find the parent resource to bind the IAM policy to
54
+ */
55
+ readonly name: pulumi.Output<string>;
56
+ /**
57
+ * The ID of the project in which the resource belongs.
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.
59
+ */
60
+ readonly project: pulumi.Output<string>;
61
+ /**
62
+ * The role that should be applied. Only one
63
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
64
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
65
+ */
66
+ readonly role: pulumi.Output<string>;
67
+ /**
68
+ * Create a ConnectionIAMBinding resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: ConnectionIAMBindingArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering ConnectionIAMBinding resources.
78
+ */
79
+ export interface ConnectionIAMBindingState {
80
+ condition?: pulumi.Input<inputs.cloudbuildv2.ConnectionIAMBindingCondition>;
81
+ /**
82
+ * (Computed) The etag of the IAM policy.
83
+ */
84
+ etag?: pulumi.Input<string>;
85
+ location?: pulumi.Input<string>;
86
+ members?: pulumi.Input<pulumi.Input<string>[]>;
87
+ /**
88
+ * Used to find the parent resource to bind the IAM policy to
89
+ */
90
+ name?: pulumi.Input<string>;
91
+ /**
92
+ * The ID of the project in which the resource belongs.
93
+ * 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.
94
+ */
95
+ project?: pulumi.Input<string>;
96
+ /**
97
+ * The role that should be applied. Only one
98
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
99
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
100
+ */
101
+ role?: pulumi.Input<string>;
102
+ }
103
+ /**
104
+ * The set of arguments for constructing a ConnectionIAMBinding resource.
105
+ */
106
+ export interface ConnectionIAMBindingArgs {
107
+ condition?: pulumi.Input<inputs.cloudbuildv2.ConnectionIAMBindingCondition>;
108
+ location?: pulumi.Input<string>;
109
+ members: pulumi.Input<pulumi.Input<string>[]>;
110
+ /**
111
+ * Used to find the parent resource to bind the IAM policy to
112
+ */
113
+ name?: pulumi.Input<string>;
114
+ /**
115
+ * The ID of the project in which the resource belongs.
116
+ * 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.
117
+ */
118
+ project?: pulumi.Input<string>;
119
+ /**
120
+ * The role that should be applied. Only one
121
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
122
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
123
+ */
124
+ role: pulumi.Input<string>;
125
+ }
@@ -0,0 +1,92 @@
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.ConnectionIAMBinding = 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}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer 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:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
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 ConnectionIAMBinding extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ConnectionIAMBinding resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new ConnectionIAMBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of ConnectionIAMBinding. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === ConnectionIAMBinding.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["condition"] = state ? state.condition : undefined;
62
+ resourceInputs["etag"] = state ? state.etag : undefined;
63
+ resourceInputs["location"] = state ? state.location : undefined;
64
+ resourceInputs["members"] = state ? state.members : undefined;
65
+ resourceInputs["name"] = state ? state.name : undefined;
66
+ resourceInputs["project"] = state ? state.project : undefined;
67
+ resourceInputs["role"] = state ? state.role : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.members === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'members'");
73
+ }
74
+ if ((!args || args.role === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'role'");
76
+ }
77
+ resourceInputs["condition"] = args ? args.condition : undefined;
78
+ resourceInputs["location"] = args ? args.location : undefined;
79
+ resourceInputs["members"] = args ? args.members : undefined;
80
+ resourceInputs["name"] = args ? args.name : undefined;
81
+ resourceInputs["project"] = args ? args.project : undefined;
82
+ resourceInputs["role"] = args ? args.role : undefined;
83
+ resourceInputs["etag"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(ConnectionIAMBinding.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.ConnectionIAMBinding = ConnectionIAMBinding;
90
+ /** @internal */
91
+ ConnectionIAMBinding.__pulumiType = 'gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding';
92
+ //# sourceMappingURL=connectionIAMBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectionIAMBinding.js","sourceRoot":"","sources":["../../cloudbuildv2/connectionIAMBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,oBAAqB,SAAQ,MAA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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAzFL,oDA0FC;AA5EG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,125 @@
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}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer 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:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
17
+ * ```
18
+ *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
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 ConnectionIAMMember extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing ConnectionIAMMember 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?: ConnectionIAMMemberState, opts?: pulumi.CustomResourceOptions): ConnectionIAMMember;
40
+ /**
41
+ * Returns true if the given object is an instance of ConnectionIAMMember. 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 ConnectionIAMMember;
45
+ readonly condition: pulumi.Output<outputs.cloudbuildv2.ConnectionIAMMemberCondition | undefined>;
46
+ /**
47
+ * (Computed) The etag of the IAM policy.
48
+ */
49
+ readonly etag: pulumi.Output<string>;
50
+ readonly location: pulumi.Output<string>;
51
+ readonly member: pulumi.Output<string>;
52
+ /**
53
+ * Used to find the parent resource to bind the IAM policy to
54
+ */
55
+ readonly name: pulumi.Output<string>;
56
+ /**
57
+ * The ID of the project in which the resource belongs.
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.
59
+ */
60
+ readonly project: pulumi.Output<string>;
61
+ /**
62
+ * The role that should be applied. Only one
63
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
64
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
65
+ */
66
+ readonly role: pulumi.Output<string>;
67
+ /**
68
+ * Create a ConnectionIAMMember resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: ConnectionIAMMemberArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering ConnectionIAMMember resources.
78
+ */
79
+ export interface ConnectionIAMMemberState {
80
+ condition?: pulumi.Input<inputs.cloudbuildv2.ConnectionIAMMemberCondition>;
81
+ /**
82
+ * (Computed) The etag of the IAM policy.
83
+ */
84
+ etag?: pulumi.Input<string>;
85
+ location?: pulumi.Input<string>;
86
+ member?: pulumi.Input<string>;
87
+ /**
88
+ * Used to find the parent resource to bind the IAM policy to
89
+ */
90
+ name?: pulumi.Input<string>;
91
+ /**
92
+ * The ID of the project in which the resource belongs.
93
+ * 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.
94
+ */
95
+ project?: pulumi.Input<string>;
96
+ /**
97
+ * The role that should be applied. Only one
98
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
99
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
100
+ */
101
+ role?: pulumi.Input<string>;
102
+ }
103
+ /**
104
+ * The set of arguments for constructing a ConnectionIAMMember resource.
105
+ */
106
+ export interface ConnectionIAMMemberArgs {
107
+ condition?: pulumi.Input<inputs.cloudbuildv2.ConnectionIAMMemberCondition>;
108
+ location?: pulumi.Input<string>;
109
+ member: pulumi.Input<string>;
110
+ /**
111
+ * Used to find the parent resource to bind the IAM policy to
112
+ */
113
+ name?: pulumi.Input<string>;
114
+ /**
115
+ * The ID of the project in which the resource belongs.
116
+ * 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.
117
+ */
118
+ project?: pulumi.Input<string>;
119
+ /**
120
+ * The role that should be applied. Only one
121
+ * `gcp.cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
122
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
123
+ */
124
+ role: pulumi.Input<string>;
125
+ }