@pulumi/gcp 7.33.0 → 7.34.0-alpha.1722604983

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 (119) hide show
  1. package/alloydb/instance.d.ts +15 -0
  2. package/alloydb/instance.js +2 -0
  3. package/alloydb/instance.js.map +1 -1
  4. package/apigee/environmentKeyvaluemaps.d.ts +156 -0
  5. package/apigee/environmentKeyvaluemaps.js +138 -0
  6. package/apigee/environmentKeyvaluemaps.js.map +1 -0
  7. package/apigee/environmentKeyvaluemapsEntries.d.ts +181 -0
  8. package/apigee/environmentKeyvaluemapsEntries.js +156 -0
  9. package/apigee/environmentKeyvaluemapsEntries.js.map +1 -0
  10. package/apigee/index.d.ts +6 -0
  11. package/apigee/index.js +11 -1
  12. package/apigee/index.js.map +1 -1
  13. package/apigee/instance.d.ts +1 -1
  14. package/apigee/instance.js +1 -1
  15. package/apigee/natAddress.d.ts +1 -1
  16. package/apigee/natAddress.js +1 -1
  17. package/apigee/organization.d.ts +2 -2
  18. package/apigee/organization.js +2 -2
  19. package/apphub/serviceProjectAttachment.d.ts +5 -5
  20. package/bigquery/appProfile.d.ts +15 -0
  21. package/bigquery/appProfile.js +2 -0
  22. package/bigquery/appProfile.js.map +1 -1
  23. package/bigquery/reservation.d.ts +15 -0
  24. package/bigquery/reservation.js.map +1 -1
  25. package/bigquery/table.d.ts +30 -9
  26. package/bigquery/table.js.map +1 -1
  27. package/bigtable/table.d.ts +13 -12
  28. package/bigtable/table.js +4 -0
  29. package/bigtable/table.js.map +1 -1
  30. package/certificateauthority/authority.d.ts +2 -2
  31. package/certificateauthority/authority.js +2 -2
  32. package/cloudfunctions/function.d.ts +12 -0
  33. package/cloudfunctions/function.js +2 -0
  34. package/cloudfunctions/function.js.map +1 -1
  35. package/cloudfunctions/getFunction.d.ts +1 -0
  36. package/cloudfunctions/getFunction.js.map +1 -1
  37. package/cloudfunctionsv2/function.d.ts +1 -1
  38. package/cloudfunctionsv2/function.js +1 -1
  39. package/compute/backendService.d.ts +3 -0
  40. package/compute/backendService.js +3 -0
  41. package/compute/backendService.js.map +1 -1
  42. package/compute/index.d.ts +6 -0
  43. package/compute/index.js +12 -2
  44. package/compute/index.js.map +1 -1
  45. package/compute/publicAdvertisedPrefix.d.ts +8 -0
  46. package/compute/publicAdvertisedPrefix.js +2 -0
  47. package/compute/publicAdvertisedPrefix.js.map +1 -1
  48. package/compute/resizeRequest.d.ts +279 -0
  49. package/compute/resizeRequest.js +186 -0
  50. package/compute/resizeRequest.js.map +1 -0
  51. package/compute/routerPeer.d.ts +184 -0
  52. package/compute/routerPeer.js +129 -0
  53. package/compute/routerPeer.js.map +1 -1
  54. package/compute/routerRoutePolicy.d.ts +225 -0
  55. package/compute/routerRoutePolicy.js +175 -0
  56. package/compute/routerRoutePolicy.js.map +1 -0
  57. package/compute/serviceAttachment.d.ts +3 -6
  58. package/compute/serviceAttachment.js.map +1 -1
  59. package/container/nodePool.d.ts +0 -6
  60. package/container/nodePool.js.map +1 -1
  61. package/databasemigrationservice/privateConnection.d.ts +6 -5
  62. package/databasemigrationservice/privateConnection.js +6 -5
  63. package/databasemigrationservice/privateConnection.js.map +1 -1
  64. package/datastore/dataStoreIndex.d.ts +12 -6
  65. package/datastore/dataStoreIndex.js +12 -6
  66. package/datastore/dataStoreIndex.js.map +1 -1
  67. package/datastream/stream.d.ts +92 -0
  68. package/datastream/stream.js +92 -0
  69. package/datastream/stream.js.map +1 -1
  70. package/firebase/databaseInstance.d.ts +4 -4
  71. package/firebase/hostingSite.d.ts +4 -4
  72. package/firestore/index_.d.ts +5 -5
  73. package/firestore/index_.js +5 -5
  74. package/iap/client.d.ts +2 -2
  75. package/netapp/volume.d.ts +1 -1
  76. package/networkconnectivity/hub.d.ts +27 -21
  77. package/networkconnectivity/hub.js +9 -4
  78. package/networkconnectivity/hub.js.map +1 -1
  79. package/networkconnectivity/spoke.d.ts +71 -46
  80. package/networkconnectivity/spoke.js +22 -14
  81. package/networkconnectivity/spoke.js.map +1 -1
  82. package/networksecurity/tlsInspectionPolicy.d.ts +1 -1
  83. package/networksecurity/tlsInspectionPolicy.js +1 -1
  84. package/orgpolicy/policy.d.ts +2 -2
  85. package/orgpolicy/policy.js +2 -2
  86. package/package.json +2 -2
  87. package/projects/getProjectService.d.ts +1 -0
  88. package/projects/getProjectService.js.map +1 -1
  89. package/projects/service.d.ts +21 -0
  90. package/projects/service.js +2 -0
  91. package/projects/service.js.map +1 -1
  92. package/projects/serviceIdentity.d.ts +9 -1
  93. package/projects/serviceIdentity.js +3 -1
  94. package/projects/serviceIdentity.js.map +1 -1
  95. package/pubsub/subscription.d.ts +3 -3
  96. package/pubsub/subscription.js +3 -3
  97. package/securesourcemanager/instance.d.ts +296 -2
  98. package/securesourcemanager/instance.js +296 -2
  99. package/securesourcemanager/instance.js.map +1 -1
  100. package/securitycenter/index.d.ts +3 -0
  101. package/securitycenter/index.js +6 -1
  102. package/securitycenter/index.js.map +1 -1
  103. package/securitycenter/v2organizationMuteConfig.d.ts +226 -0
  104. package/securitycenter/v2organizationMuteConfig.js +125 -0
  105. package/securitycenter/v2organizationMuteConfig.js.map +1 -0
  106. package/sql/databaseInstance.d.ts +1 -1
  107. package/sql/databaseInstance.js +1 -1
  108. package/types/input.d.ts +736 -61
  109. package/types/output.d.ts +790 -67
  110. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  111. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  112. package/vmwareengine/getPrivateCloud.d.ts +2 -0
  113. package/vmwareengine/getPrivateCloud.js.map +1 -1
  114. package/vmwareengine/privateCloud.d.ts +35 -0
  115. package/vmwareengine/privateCloud.js +6 -0
  116. package/vmwareengine/privateCloud.js.map +1 -1
  117. package/workbench/instance.d.ts +10 -2
  118. package/workbench/instance.js +10 -2
  119. package/workbench/instance.js.map +1 -1
@@ -236,6 +236,11 @@ export declare class Instance extends pulumi.CustomResource {
236
236
  * Structure is documented below.
237
237
  */
238
238
  readonly networkConfig: pulumi.Output<outputs.alloydb.InstanceNetworkConfig | undefined>;
239
+ /**
240
+ * Configuration for enhanced query insights.
241
+ * Structure is documented below.
242
+ */
243
+ readonly observabilityConfig: pulumi.Output<outputs.alloydb.InstanceObservabilityConfig>;
239
244
  /**
240
245
  * Configuration for Private Service Connect (PSC) for the instance.
241
246
  * Structure is documented below.
@@ -382,6 +387,11 @@ export interface InstanceState {
382
387
  * Structure is documented below.
383
388
  */
384
389
  networkConfig?: pulumi.Input<inputs.alloydb.InstanceNetworkConfig>;
390
+ /**
391
+ * Configuration for enhanced query insights.
392
+ * Structure is documented below.
393
+ */
394
+ observabilityConfig?: pulumi.Input<inputs.alloydb.InstanceObservabilityConfig>;
385
395
  /**
386
396
  * Configuration for Private Service Connect (PSC) for the instance.
387
397
  * Structure is documented below.
@@ -499,6 +509,11 @@ export interface InstanceArgs {
499
509
  * Structure is documented below.
500
510
  */
501
511
  networkConfig?: pulumi.Input<inputs.alloydb.InstanceNetworkConfig>;
512
+ /**
513
+ * Configuration for enhanced query insights.
514
+ * Structure is documented below.
515
+ */
516
+ observabilityConfig?: pulumi.Input<inputs.alloydb.InstanceObservabilityConfig>;
502
517
  /**
503
518
  * Configuration for Private Service Connect (PSC) for the instance.
504
519
  * Structure is documented below.
@@ -180,6 +180,7 @@ class Instance extends pulumi.CustomResource {
180
180
  resourceInputs["machineConfig"] = state ? state.machineConfig : undefined;
181
181
  resourceInputs["name"] = state ? state.name : undefined;
182
182
  resourceInputs["networkConfig"] = state ? state.networkConfig : undefined;
183
+ resourceInputs["observabilityConfig"] = state ? state.observabilityConfig : undefined;
183
184
  resourceInputs["pscInstanceConfig"] = state ? state.pscInstanceConfig : undefined;
184
185
  resourceInputs["publicIpAddress"] = state ? state.publicIpAddress : undefined;
185
186
  resourceInputs["pulumiLabels"] = state ? state.pulumiLabels : undefined;
@@ -213,6 +214,7 @@ class Instance extends pulumi.CustomResource {
213
214
  resourceInputs["labels"] = args ? args.labels : undefined;
214
215
  resourceInputs["machineConfig"] = args ? args.machineConfig : undefined;
215
216
  resourceInputs["networkConfig"] = args ? args.networkConfig : undefined;
217
+ resourceInputs["observabilityConfig"] = args ? args.observabilityConfig : undefined;
216
218
  resourceInputs["pscInstanceConfig"] = args ? args.pscInstanceConfig : undefined;
217
219
  resourceInputs["queryInsightsConfig"] = args ? args.queryInsightsConfig : undefined;
218
220
  resourceInputs["readPoolConfig"] = args ? args.readPoolConfig : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"instance.js","sourceRoot":"","sources":["../../alloydb/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAoID,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT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0,0 +1,156 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Collection of key/value string pairs.
4
+ *
5
+ * To get more information about EnvironmentKeyvaluemaps, see:
6
+ *
7
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keyvaluemaps/create)
8
+ * * How-to Guides
9
+ * * [Using key value maps](https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps)
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Apigee Environment Keyvaluemaps Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gcp from "@pulumi/gcp";
18
+ *
19
+ * const current = gcp.organizations.getClientConfig({});
20
+ * const apigeeNetwork = new gcp.compute.Network("apigee_network", {name: "apigee-network"});
21
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
22
+ * name: "apigee-range",
23
+ * purpose: "VPC_PEERING",
24
+ * addressType: "INTERNAL",
25
+ * prefixLength: 16,
26
+ * network: apigeeNetwork.id,
27
+ * });
28
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
29
+ * network: apigeeNetwork.id,
30
+ * service: "servicenetworking.googleapis.com",
31
+ * reservedPeeringRanges: [apigeeRange.name],
32
+ * });
33
+ * const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
34
+ * analyticsRegion: "us-central1",
35
+ * projectId: current.then(current => current.project),
36
+ * authorizedNetwork: apigeeNetwork.id,
37
+ * }, {
38
+ * dependsOn: [apigeeVpcConnection],
39
+ * });
40
+ * const apigeeEnvironment = new gcp.apigee.Environment("apigee_environment", {
41
+ * orgId: apigeeOrg.id,
42
+ * name: "tf-test-env",
43
+ * description: "Apigee Environment",
44
+ * displayName: "Apigee Environment",
45
+ * });
46
+ * const apigeeInstance = new gcp.apigee.Instance("apigee_instance", {
47
+ * name: "tf-test-instance",
48
+ * location: "us-central1",
49
+ * orgId: apigeeOrg.id,
50
+ * });
51
+ * const apigeeInstanceAttachment = new gcp.apigee.InstanceAttachment("apigee_instance_attachment", {
52
+ * instanceId: apigeeInstance.id,
53
+ * environment: apigeeEnvironment.name,
54
+ * });
55
+ * const apigeeEnvironmentKeyvaluemaps = new gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps", {
56
+ * envId: apigeeEnvironment.id,
57
+ * name: "tf-test-env-kvms",
58
+ * }, {
59
+ * dependsOn: [
60
+ * apigeeOrg,
61
+ * apigeeEnvironment,
62
+ * apigeeInstance,
63
+ * apigeeInstanceAttachment,
64
+ * ],
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * EnvironmentKeyvaluemaps can be imported using any of these accepted formats:
71
+ *
72
+ * * `{{env_id}}/keyvaluemaps/{{name}}`
73
+ *
74
+ * * `{{env_id}}/{{name}}`
75
+ *
76
+ * When using the `pulumi import` command, EnvironmentKeyvaluemaps can be imported using one of the formats above. For example:
77
+ *
78
+ * ```sh
79
+ * $ pulumi import gcp:apigee/environmentKeyvaluemaps:EnvironmentKeyvaluemaps default {{env_id}}/keyvaluemaps/{{name}}
80
+ * ```
81
+ *
82
+ * ```sh
83
+ * $ pulumi import gcp:apigee/environmentKeyvaluemaps:EnvironmentKeyvaluemaps default {{env_id}}/{{name}}
84
+ * ```
85
+ */
86
+ export declare class EnvironmentKeyvaluemaps extends pulumi.CustomResource {
87
+ /**
88
+ * Get an existing EnvironmentKeyvaluemaps resource's state with the given name, ID, and optional extra
89
+ * properties used to qualify the lookup.
90
+ *
91
+ * @param name The _unique_ name of the resulting resource.
92
+ * @param id The _unique_ provider ID of the resource to lookup.
93
+ * @param state Any extra arguments used during the lookup.
94
+ * @param opts Optional settings to control the behavior of the CustomResource.
95
+ */
96
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentKeyvaluemapsState, opts?: pulumi.CustomResourceOptions): EnvironmentKeyvaluemaps;
97
+ /**
98
+ * Returns true if the given object is an instance of EnvironmentKeyvaluemaps. This is designed to work even
99
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
100
+ */
101
+ static isInstance(obj: any): obj is EnvironmentKeyvaluemaps;
102
+ /**
103
+ * The Apigee environment group associated with the Apigee environment,
104
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}`.
105
+ *
106
+ *
107
+ * - - -
108
+ */
109
+ readonly envId: pulumi.Output<string>;
110
+ /**
111
+ * Required. ID of the key value map.
112
+ */
113
+ readonly name: pulumi.Output<string>;
114
+ /**
115
+ * Create a EnvironmentKeyvaluemaps resource with the given unique name, arguments, and options.
116
+ *
117
+ * @param name The _unique_ name of the resource.
118
+ * @param args The arguments to use to populate this resource's properties.
119
+ * @param opts A bag of options that control this resource's behavior.
120
+ */
121
+ constructor(name: string, args: EnvironmentKeyvaluemapsArgs, opts?: pulumi.CustomResourceOptions);
122
+ }
123
+ /**
124
+ * Input properties used for looking up and filtering EnvironmentKeyvaluemaps resources.
125
+ */
126
+ export interface EnvironmentKeyvaluemapsState {
127
+ /**
128
+ * The Apigee environment group associated with the Apigee environment,
129
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}`.
130
+ *
131
+ *
132
+ * - - -
133
+ */
134
+ envId?: pulumi.Input<string>;
135
+ /**
136
+ * Required. ID of the key value map.
137
+ */
138
+ name?: pulumi.Input<string>;
139
+ }
140
+ /**
141
+ * The set of arguments for constructing a EnvironmentKeyvaluemaps resource.
142
+ */
143
+ export interface EnvironmentKeyvaluemapsArgs {
144
+ /**
145
+ * The Apigee environment group associated with the Apigee environment,
146
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}`.
147
+ *
148
+ *
149
+ * - - -
150
+ */
151
+ envId: pulumi.Input<string>;
152
+ /**
153
+ * Required. ID of the key value map.
154
+ */
155
+ name?: pulumi.Input<string>;
156
+ }
@@ -0,0 +1,138 @@
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.EnvironmentKeyvaluemaps = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Collection of key/value string pairs.
10
+ *
11
+ * To get more information about EnvironmentKeyvaluemaps, see:
12
+ *
13
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keyvaluemaps/create)
14
+ * * How-to Guides
15
+ * * [Using key value maps](https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps)
16
+ *
17
+ * ## Example Usage
18
+ *
19
+ * ### Apigee Environment Keyvaluemaps Basic
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as gcp from "@pulumi/gcp";
24
+ *
25
+ * const current = gcp.organizations.getClientConfig({});
26
+ * const apigeeNetwork = new gcp.compute.Network("apigee_network", {name: "apigee-network"});
27
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
28
+ * name: "apigee-range",
29
+ * purpose: "VPC_PEERING",
30
+ * addressType: "INTERNAL",
31
+ * prefixLength: 16,
32
+ * network: apigeeNetwork.id,
33
+ * });
34
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
35
+ * network: apigeeNetwork.id,
36
+ * service: "servicenetworking.googleapis.com",
37
+ * reservedPeeringRanges: [apigeeRange.name],
38
+ * });
39
+ * const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
40
+ * analyticsRegion: "us-central1",
41
+ * projectId: current.then(current => current.project),
42
+ * authorizedNetwork: apigeeNetwork.id,
43
+ * }, {
44
+ * dependsOn: [apigeeVpcConnection],
45
+ * });
46
+ * const apigeeEnvironment = new gcp.apigee.Environment("apigee_environment", {
47
+ * orgId: apigeeOrg.id,
48
+ * name: "tf-test-env",
49
+ * description: "Apigee Environment",
50
+ * displayName: "Apigee Environment",
51
+ * });
52
+ * const apigeeInstance = new gcp.apigee.Instance("apigee_instance", {
53
+ * name: "tf-test-instance",
54
+ * location: "us-central1",
55
+ * orgId: apigeeOrg.id,
56
+ * });
57
+ * const apigeeInstanceAttachment = new gcp.apigee.InstanceAttachment("apigee_instance_attachment", {
58
+ * instanceId: apigeeInstance.id,
59
+ * environment: apigeeEnvironment.name,
60
+ * });
61
+ * const apigeeEnvironmentKeyvaluemaps = new gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps", {
62
+ * envId: apigeeEnvironment.id,
63
+ * name: "tf-test-env-kvms",
64
+ * }, {
65
+ * dependsOn: [
66
+ * apigeeOrg,
67
+ * apigeeEnvironment,
68
+ * apigeeInstance,
69
+ * apigeeInstanceAttachment,
70
+ * ],
71
+ * });
72
+ * ```
73
+ *
74
+ * ## Import
75
+ *
76
+ * EnvironmentKeyvaluemaps can be imported using any of these accepted formats:
77
+ *
78
+ * * `{{env_id}}/keyvaluemaps/{{name}}`
79
+ *
80
+ * * `{{env_id}}/{{name}}`
81
+ *
82
+ * When using the `pulumi import` command, EnvironmentKeyvaluemaps can be imported using one of the formats above. For example:
83
+ *
84
+ * ```sh
85
+ * $ pulumi import gcp:apigee/environmentKeyvaluemaps:EnvironmentKeyvaluemaps default {{env_id}}/keyvaluemaps/{{name}}
86
+ * ```
87
+ *
88
+ * ```sh
89
+ * $ pulumi import gcp:apigee/environmentKeyvaluemaps:EnvironmentKeyvaluemaps default {{env_id}}/{{name}}
90
+ * ```
91
+ */
92
+ class EnvironmentKeyvaluemaps extends pulumi.CustomResource {
93
+ /**
94
+ * Get an existing EnvironmentKeyvaluemaps resource's state with the given name, ID, and optional extra
95
+ * properties used to qualify the lookup.
96
+ *
97
+ * @param name The _unique_ name of the resulting resource.
98
+ * @param id The _unique_ provider ID of the resource to lookup.
99
+ * @param state Any extra arguments used during the lookup.
100
+ * @param opts Optional settings to control the behavior of the CustomResource.
101
+ */
102
+ static get(name, id, state, opts) {
103
+ return new EnvironmentKeyvaluemaps(name, state, Object.assign(Object.assign({}, opts), { id: id }));
104
+ }
105
+ /**
106
+ * Returns true if the given object is an instance of EnvironmentKeyvaluemaps. This is designed to work even
107
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
108
+ */
109
+ static isInstance(obj) {
110
+ if (obj === undefined || obj === null) {
111
+ return false;
112
+ }
113
+ return obj['__pulumiType'] === EnvironmentKeyvaluemaps.__pulumiType;
114
+ }
115
+ constructor(name, argsOrState, opts) {
116
+ let resourceInputs = {};
117
+ opts = opts || {};
118
+ if (opts.id) {
119
+ const state = argsOrState;
120
+ resourceInputs["envId"] = state ? state.envId : undefined;
121
+ resourceInputs["name"] = state ? state.name : undefined;
122
+ }
123
+ else {
124
+ const args = argsOrState;
125
+ if ((!args || args.envId === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'envId'");
127
+ }
128
+ resourceInputs["envId"] = args ? args.envId : undefined;
129
+ resourceInputs["name"] = args ? args.name : undefined;
130
+ }
131
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
132
+ super(EnvironmentKeyvaluemaps.__pulumiType, name, resourceInputs, opts);
133
+ }
134
+ }
135
+ exports.EnvironmentKeyvaluemaps = EnvironmentKeyvaluemaps;
136
+ /** @internal */
137
+ EnvironmentKeyvaluemaps.__pulumiType = 'gcp:apigee/environmentKeyvaluemaps:EnvironmentKeyvaluemaps';
138
+ //# sourceMappingURL=environmentKeyvaluemaps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentKeyvaluemaps.js","sourceRoot":"","sources":["../../apigee/environmentKeyvaluemaps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,C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AAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAlEL,0DAmEC;AArDG,gBAAgB;AACO,oCAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,181 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates key value entries in a key value map scoped to an environment.
4
+ *
5
+ * To get more information about EnvironmentKeyvaluemapsEntries, see:
6
+ *
7
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.keyvaluemaps.entries/create)
8
+ * * How-to Guides
9
+ * * [Using key value maps](https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps)
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Apigee Environment Keyvaluemaps Entries Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gcp from "@pulumi/gcp";
18
+ *
19
+ * const current = gcp.organizations.getClientConfig({});
20
+ * const apigeeNetwork = new gcp.compute.Network("apigee_network", {name: "apigee-network"});
21
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
22
+ * name: "apigee-range",
23
+ * purpose: "VPC_PEERING",
24
+ * addressType: "INTERNAL",
25
+ * prefixLength: 16,
26
+ * network: apigeeNetwork.id,
27
+ * });
28
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
29
+ * network: apigeeNetwork.id,
30
+ * service: "servicenetworking.googleapis.com",
31
+ * reservedPeeringRanges: [apigeeRange.name],
32
+ * });
33
+ * const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
34
+ * analyticsRegion: "us-central1",
35
+ * projectId: current.then(current => current.project),
36
+ * authorizedNetwork: apigeeNetwork.id,
37
+ * }, {
38
+ * dependsOn: [apigeeVpcConnection],
39
+ * });
40
+ * const apigeeEnvironment = new gcp.apigee.Environment("apigee_environment", {
41
+ * orgId: apigeeOrg.id,
42
+ * name: "tf-test-env",
43
+ * description: "Apigee Environment",
44
+ * displayName: "Apigee Environment",
45
+ * });
46
+ * const apigeeInstance = new gcp.apigee.Instance("apigee_instance", {
47
+ * name: "tf-test-instance",
48
+ * location: "us-central1",
49
+ * orgId: apigeeOrg.id,
50
+ * });
51
+ * const apigeeInstanceAttachment = new gcp.apigee.InstanceAttachment("apigee_instance_attachment", {
52
+ * instanceId: apigeeInstance.id,
53
+ * environment: apigeeEnvironment.name,
54
+ * });
55
+ * const apigeeEnvironmentKeyvaluemaps = new gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps", {
56
+ * envId: createApigeeEnvironment.id,
57
+ * name: "tf-test-env-kvms",
58
+ * }, {
59
+ * dependsOn: [
60
+ * apigeeOrg,
61
+ * apigeeEnvironment,
62
+ * apigeeInstance,
63
+ * apigeeInstanceAttachment,
64
+ * ],
65
+ * });
66
+ * const apigeeEnvironmentKeyvaluemapsEntries = new gcp.apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries", {
67
+ * envKeyvaluemapId: apigeeEnvironmentKeyvaluemaps.id,
68
+ * name: "testName",
69
+ * value: "testValue",
70
+ * }, {
71
+ * dependsOn: [
72
+ * apigeeOrg,
73
+ * apigeeEnvironment,
74
+ * apigeeInstance,
75
+ * apigeeInstanceAttachment,
76
+ * apigeeEnvironmentKeyvaluemaps,
77
+ * ],
78
+ * });
79
+ * ```
80
+ *
81
+ * ## Import
82
+ *
83
+ * EnvironmentKeyvaluemapsEntries can be imported using any of these accepted formats:
84
+ *
85
+ * * `{{env_keyvaluemap_id}}/entries/{{name}}`
86
+ *
87
+ * * `{{env_keyvaluemap_id}}/{{name}}`
88
+ *
89
+ * When using the `pulumi import` command, EnvironmentKeyvaluemapsEntries can be imported using one of the formats above. For example:
90
+ *
91
+ * ```sh
92
+ * $ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/entries/{{name}}
93
+ * ```
94
+ *
95
+ * ```sh
96
+ * $ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/{{name}}
97
+ * ```
98
+ */
99
+ export declare class EnvironmentKeyvaluemapsEntries extends pulumi.CustomResource {
100
+ /**
101
+ * Get an existing EnvironmentKeyvaluemapsEntries resource's state with the given name, ID, and optional extra
102
+ * properties used to qualify the lookup.
103
+ *
104
+ * @param name The _unique_ name of the resulting resource.
105
+ * @param id The _unique_ provider ID of the resource to lookup.
106
+ * @param state Any extra arguments used during the lookup.
107
+ * @param opts Optional settings to control the behavior of the CustomResource.
108
+ */
109
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentKeyvaluemapsEntriesState, opts?: pulumi.CustomResourceOptions): EnvironmentKeyvaluemapsEntries;
110
+ /**
111
+ * Returns true if the given object is an instance of EnvironmentKeyvaluemapsEntries. This is designed to work even
112
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
113
+ */
114
+ static isInstance(obj: any): obj is EnvironmentKeyvaluemapsEntries;
115
+ /**
116
+ * The Apigee environment keyvalumaps Id associated with the Apigee environment,
117
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
118
+ *
119
+ *
120
+ * - - -
121
+ */
122
+ readonly envKeyvaluemapId: pulumi.Output<string>;
123
+ /**
124
+ * Required. Resource URI that can be used to identify the scope of the key value map entries.
125
+ */
126
+ readonly name: pulumi.Output<string>;
127
+ /**
128
+ * Required. Data or payload that is being retrieved and associated with the unique key.
129
+ */
130
+ readonly value: pulumi.Output<string>;
131
+ /**
132
+ * Create a EnvironmentKeyvaluemapsEntries resource with the given unique name, arguments, and options.
133
+ *
134
+ * @param name The _unique_ name of the resource.
135
+ * @param args The arguments to use to populate this resource's properties.
136
+ * @param opts A bag of options that control this resource's behavior.
137
+ */
138
+ constructor(name: string, args: EnvironmentKeyvaluemapsEntriesArgs, opts?: pulumi.CustomResourceOptions);
139
+ }
140
+ /**
141
+ * Input properties used for looking up and filtering EnvironmentKeyvaluemapsEntries resources.
142
+ */
143
+ export interface EnvironmentKeyvaluemapsEntriesState {
144
+ /**
145
+ * The Apigee environment keyvalumaps Id associated with the Apigee environment,
146
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
147
+ *
148
+ *
149
+ * - - -
150
+ */
151
+ envKeyvaluemapId?: pulumi.Input<string>;
152
+ /**
153
+ * Required. Resource URI that can be used to identify the scope of the key value map entries.
154
+ */
155
+ name?: pulumi.Input<string>;
156
+ /**
157
+ * Required. Data or payload that is being retrieved and associated with the unique key.
158
+ */
159
+ value?: pulumi.Input<string>;
160
+ }
161
+ /**
162
+ * The set of arguments for constructing a EnvironmentKeyvaluemapsEntries resource.
163
+ */
164
+ export interface EnvironmentKeyvaluemapsEntriesArgs {
165
+ /**
166
+ * The Apigee environment keyvalumaps Id associated with the Apigee environment,
167
+ * in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
168
+ *
169
+ *
170
+ * - - -
171
+ */
172
+ envKeyvaluemapId: pulumi.Input<string>;
173
+ /**
174
+ * Required. Resource URI that can be used to identify the scope of the key value map entries.
175
+ */
176
+ name?: pulumi.Input<string>;
177
+ /**
178
+ * Required. Data or payload that is being retrieved and associated with the unique key.
179
+ */
180
+ value: pulumi.Input<string>;
181
+ }