@pulumi/gcp 6.67.0-alpha.1695760066 → 6.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alloydb/cluster.d.ts +31 -1
- package/alloydb/cluster.js +2 -3
- package/alloydb/cluster.js.map +1 -1
- package/apigee/index.d.ts +3 -0
- package/apigee/index.js +6 -1
- package/apigee/index.js.map +1 -1
- package/apigee/targetServer.d.ts +242 -0
- package/apigee/targetServer.js +162 -0
- package/apigee/targetServer.js.map +1 -0
- package/artifactregistry/index.d.ts +3 -0
- package/artifactregistry/index.js +6 -1
- package/artifactregistry/index.js.map +1 -1
- package/artifactregistry/vpcscConfig.d.ts +120 -0
- package/artifactregistry/vpcscConfig.js +87 -0
- package/artifactregistry/vpcscConfig.js.map +1 -0
- package/biglake/index.d.ts +3 -0
- package/biglake/index.js +6 -1
- package/biglake/index.js.map +1 -1
- package/biglake/table.d.ts +246 -0
- package/biglake/table.js +137 -0
- package/biglake/table.js.map +1 -0
- package/bigquery/dataTransferConfig.d.ts +6 -4
- package/bigquery/dataTransferConfig.js.map +1 -1
- package/bigquery/table.d.ts +15 -0
- package/bigquery/table.js +2 -0
- package/bigquery/table.js.map +1 -1
- package/certificatemanager/getCertificateMap.d.ts +82 -0
- package/certificatemanager/getCertificateMap.js +48 -0
- package/certificatemanager/getCertificateMap.js.map +1 -0
- package/certificatemanager/index.d.ts +3 -0
- package/certificatemanager/index.js +4 -1
- package/certificatemanager/index.js.map +1 -1
- package/cloudbuildv2/connection.d.ts +3 -3
- package/cloudbuildv2/connection.js +3 -3
- package/cloudbuildv2/repository.d.ts +3 -3
- package/cloudbuildv2/repository.js +3 -3
- package/cloudrunv2/job.d.ts +32 -2
- package/cloudrunv2/job.js +32 -2
- package/cloudrunv2/job.js.map +1 -1
- package/cloudrunv2/service.d.ts +30 -2
- package/cloudrunv2/service.js +30 -2
- package/cloudrunv2/service.js.map +1 -1
- package/compute/getDefaultServiceAccount.d.ts +4 -0
- package/compute/getDefaultServiceAccount.js.map +1 -1
- package/compute/instanceTemplate.d.ts +3 -3
- package/compute/subnetwork.d.ts +8 -0
- package/compute/subnetwork.js +2 -0
- package/compute/subnetwork.js.map +1 -1
- package/compute/targetHttpsProxy.d.ts +36 -0
- package/compute/targetHttpsProxy.js +2 -0
- package/compute/targetHttpsProxy.js.map +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +24 -0
- package/config/vars.js.map +1 -1
- package/container/attachedCluster.d.ts +15 -0
- package/container/attachedCluster.js +2 -0
- package/container/attachedCluster.js.map +1 -1
- package/container/awsNodePool.d.ts +15 -0
- package/container/awsNodePool.js +5 -0
- package/container/awsNodePool.js.map +1 -1
- package/container/azureNodePool.d.ts +15 -0
- package/container/azureNodePool.js +5 -0
- package/container/azureNodePool.js.map +1 -1
- package/container/cluster.d.ts +3 -3
- package/dataflow/index.d.ts +3 -0
- package/dataflow/index.js +6 -1
- package/dataflow/index.js.map +1 -1
- package/dataflow/pipeline.d.ts +324 -0
- package/dataflow/pipeline.js +163 -0
- package/dataflow/pipeline.js.map +1 -0
- package/dataform/repository.d.ts +1 -1
- package/dataform/repository.js +1 -1
- package/dataform/repositoryReleaseConfig.d.ts +1 -1
- package/dataform/repositoryReleaseConfig.js +1 -1
- package/dataform/repositoryWorkflowConfig.d.ts +1 -1
- package/dataform/repositoryWorkflowConfig.js +1 -1
- package/diagflow/cxSecuritySettings.d.ts +358 -0
- package/diagflow/cxSecuritySettings.js +176 -0
- package/diagflow/cxSecuritySettings.js.map +1 -0
- package/diagflow/cxTestCase.d.ts +319 -0
- package/diagflow/cxTestCase.js +220 -0
- package/diagflow/cxTestCase.js.map +1 -0
- package/diagflow/index.d.ts +6 -0
- package/diagflow/index.js +11 -1
- package/diagflow/index.js.map +1 -1
- package/edgenetwork/index.d.ts +6 -0
- package/edgenetwork/index.js +27 -0
- package/edgenetwork/index.js.map +1 -0
- package/edgenetwork/network.d.ts +224 -0
- package/edgenetwork/network.js +128 -0
- package/edgenetwork/network.js.map +1 -0
- package/edgenetwork/subnet.d.ts +305 -0
- package/edgenetwork/subnet.js +173 -0
- package/edgenetwork/subnet.js.map +1 -0
- package/eventarc/trigger.d.ts +1 -1
- package/filestore/instance.d.ts +3 -3
- package/firestore/database.d.ts +109 -7
- package/firestore/database.js +27 -0
- package/firestore/database.js.map +1 -1
- package/gkebackup/getRestorePlanIamPolicy.d.ts +94 -0
- package/gkebackup/getRestorePlanIamPolicy.js +53 -0
- package/gkebackup/getRestorePlanIamPolicy.js.map +1 -0
- package/gkebackup/index.d.ts +15 -0
- package/gkebackup/index.js +24 -1
- package/gkebackup/index.js.map +1 -1
- package/gkebackup/restorePlan.d.ts +536 -0
- package/gkebackup/restorePlan.js +426 -0
- package/gkebackup/restorePlan.js.map +1 -0
- package/gkebackup/restorePlanIamBinding.d.ts +433 -0
- package/gkebackup/restorePlanIamBinding.js +412 -0
- package/gkebackup/restorePlanIamBinding.js.map +1 -0
- package/gkebackup/restorePlanIamMember.d.ts +433 -0
- package/gkebackup/restorePlanIamMember.js +412 -0
- package/gkebackup/restorePlanIamMember.js.map +1 -0
- package/gkebackup/restorePlanIamPolicy.d.ts +425 -0
- package/gkebackup/restorePlanIamPolicy.js +405 -0
- package/gkebackup/restorePlanIamPolicy.js.map +1 -0
- package/gkehub/membershipBinding.d.ts +18 -0
- package/gkehub/membershipBinding.js +2 -0
- package/gkehub/membershipBinding.js.map +1 -1
- package/gkehub/namespace.d.ts +48 -0
- package/gkehub/namespace.js +4 -0
- package/gkehub/namespace.js.map +1 -1
- package/gkehub/scope.d.ts +26 -1
- package/gkehub/scope.js +10 -1
- package/gkehub/scope.js.map +1 -1
- package/gkeonprem/bareMetalCluster.d.ts +36 -0
- package/gkeonprem/bareMetalCluster.js +10 -0
- package/gkeonprem/bareMetalCluster.js.map +1 -1
- package/gkeonprem/vmwareCluster.d.ts +18 -0
- package/gkeonprem/vmwareCluster.js +5 -0
- package/gkeonprem/vmwareCluster.js.map +1 -1
- package/identityplatform/config.d.ts +31 -0
- package/identityplatform/config.js +18 -0
- package/identityplatform/config.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/iot/device.d.ts +2 -0
- package/iot/device.js +2 -0
- package/iot/device.js.map +1 -1
- package/iot/registry.d.ts +2 -0
- package/iot/registry.js +2 -0
- package/iot/registry.js.map +1 -1
- package/kms/registry.d.ts +2 -0
- package/kms/registry.js +2 -0
- package/kms/registry.js.map +1 -1
- package/networkconnectivity/spoke.d.ts +40 -0
- package/networkconnectivity/spoke.js +30 -0
- package/networkconnectivity/spoke.js.map +1 -1
- package/networkservices/edgeCacheKeyset.d.ts +1 -1
- package/networkservices/edgeCacheKeyset.js +1 -1
- package/networkservices/edgeCacheOrigin.d.ts +5 -1
- package/networkservices/edgeCacheOrigin.js +5 -1
- package/networkservices/edgeCacheOrigin.js.map +1 -1
- package/osconfig/patchDeployment.d.ts +1 -0
- package/osconfig/patchDeployment.js +1 -0
- package/osconfig/patchDeployment.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +8 -0
- package/provider.js +4 -0
- package/provider.js.map +1 -1
- package/secretmanager/secret.d.ts +26 -1
- package/secretmanager/secret.js +26 -1
- package/secretmanager/secret.js.map +1 -1
- package/secretmanager/secretVersion.d.ts +107 -1
- package/secretmanager/secretVersion.js +72 -1
- package/secretmanager/secretVersion.js.map +1 -1
- package/securitycenter/index.d.ts +3 -0
- package/securitycenter/index.js +6 -1
- package/securitycenter/index.js.map +1 -1
- package/securitycenter/projectCustomModule.d.ts +236 -0
- package/securitycenter/projectCustomModule.js +161 -0
- package/securitycenter/projectCustomModule.js.map +1 -0
- package/storage/bucketObject.d.ts +1 -1
- package/storage/index.d.ts +3 -0
- package/storage/index.js +6 -1
- package/storage/index.js.map +1 -1
- package/storage/insightsReportConfig.d.ts +214 -0
- package/storage/insightsReportConfig.js +148 -0
- package/storage/insightsReportConfig.js.map +1 -0
- package/tpu/getV2AcceleratorTypes.d.ts +100 -0
- package/tpu/getV2AcceleratorTypes.js +73 -0
- package/tpu/getV2AcceleratorTypes.js.map +1 -0
- package/tpu/getV2RuntimeVersions.d.ts +96 -0
- package/tpu/getV2RuntimeVersions.js +69 -0
- package/tpu/getV2RuntimeVersions.js.map +1 -0
- package/tpu/index.d.ts +9 -0
- package/tpu/index.js +12 -1
- package/tpu/index.js.map +1 -1
- package/tpu/v2vm.d.ts +174 -0
- package/tpu/v2vm.js +116 -0
- package/tpu/v2vm.js.map +1 -0
- package/types/input.d.ts +1563 -10
- package/types/output.d.ts +1594 -11
- package/vertex/aiIndexEndpoint.d.ts +36 -0
- package/vertex/aiIndexEndpoint.js +20 -0
- package/vertex/aiIndexEndpoint.js.map +1 -1
- package/workstations/workstation.d.ts +21 -0
- package/workstations/workstation.js +5 -0
- package/workstations/workstation.js.map +1 -1
package/alloydb/cluster.d.ts
CHANGED
|
@@ -247,10 +247,20 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
247
247
|
*/
|
|
248
248
|
readonly name: pulumi.Output<string>;
|
|
249
249
|
/**
|
|
250
|
+
* (Optional, Deprecated)
|
|
250
251
|
* The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
|
|
251
252
|
* "projects/{projectNumber}/global/networks/{network_id}".
|
|
253
|
+
*
|
|
254
|
+
* > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
|
|
255
|
+
*
|
|
256
|
+
* @deprecated `network` is deprecated and will be removed in a future major release. Instead, use `network_config` to define the network configuration.
|
|
252
257
|
*/
|
|
253
258
|
readonly network: pulumi.Output<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Metadata related to network configuration.
|
|
261
|
+
* Structure is documented below.
|
|
262
|
+
*/
|
|
263
|
+
readonly networkConfig: pulumi.Output<outputs.alloydb.ClusterNetworkConfig>;
|
|
254
264
|
/**
|
|
255
265
|
* The ID of the project in which the resource belongs.
|
|
256
266
|
* If it is not provided, the provider project is used.
|
|
@@ -355,10 +365,20 @@ export interface ClusterState {
|
|
|
355
365
|
*/
|
|
356
366
|
name?: pulumi.Input<string>;
|
|
357
367
|
/**
|
|
368
|
+
* (Optional, Deprecated)
|
|
358
369
|
* The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
|
|
359
370
|
* "projects/{projectNumber}/global/networks/{network_id}".
|
|
371
|
+
*
|
|
372
|
+
* > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
|
|
373
|
+
*
|
|
374
|
+
* @deprecated `network` is deprecated and will be removed in a future major release. Instead, use `network_config` to define the network configuration.
|
|
360
375
|
*/
|
|
361
376
|
network?: pulumi.Input<string>;
|
|
377
|
+
/**
|
|
378
|
+
* Metadata related to network configuration.
|
|
379
|
+
* Structure is documented below.
|
|
380
|
+
*/
|
|
381
|
+
networkConfig?: pulumi.Input<inputs.alloydb.ClusterNetworkConfig>;
|
|
362
382
|
/**
|
|
363
383
|
* The ID of the project in which the resource belongs.
|
|
364
384
|
* If it is not provided, the provider project is used.
|
|
@@ -426,10 +446,20 @@ export interface ClusterArgs {
|
|
|
426
446
|
*/
|
|
427
447
|
location: pulumi.Input<string>;
|
|
428
448
|
/**
|
|
449
|
+
* (Optional, Deprecated)
|
|
429
450
|
* The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
|
|
430
451
|
* "projects/{projectNumber}/global/networks/{network_id}".
|
|
452
|
+
*
|
|
453
|
+
* > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
|
|
454
|
+
*
|
|
455
|
+
* @deprecated `network` is deprecated and will be removed in a future major release. Instead, use `network_config` to define the network configuration.
|
|
456
|
+
*/
|
|
457
|
+
network?: pulumi.Input<string>;
|
|
458
|
+
/**
|
|
459
|
+
* Metadata related to network configuration.
|
|
460
|
+
* Structure is documented below.
|
|
431
461
|
*/
|
|
432
|
-
|
|
462
|
+
networkConfig?: pulumi.Input<inputs.alloydb.ClusterNetworkConfig>;
|
|
433
463
|
/**
|
|
434
464
|
* The ID of the project in which the resource belongs.
|
|
435
465
|
* If it is not provided, the provider project is used.
|
package/alloydb/cluster.js
CHANGED
|
@@ -206,6 +206,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
206
206
|
resourceInputs["migrationSources"] = state ? state.migrationSources : undefined;
|
|
207
207
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
208
208
|
resourceInputs["network"] = state ? state.network : undefined;
|
|
209
|
+
resourceInputs["networkConfig"] = state ? state.networkConfig : undefined;
|
|
209
210
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
210
211
|
resourceInputs["restoreBackupSource"] = state ? state.restoreBackupSource : undefined;
|
|
211
212
|
resourceInputs["restoreContinuousBackupSource"] = state ? state.restoreContinuousBackupSource : undefined;
|
|
@@ -219,9 +220,6 @@ class Cluster extends pulumi.CustomResource {
|
|
|
219
220
|
if ((!args || args.location === undefined) && !opts.urn) {
|
|
220
221
|
throw new Error("Missing required property 'location'");
|
|
221
222
|
}
|
|
222
|
-
if ((!args || args.network === undefined) && !opts.urn) {
|
|
223
|
-
throw new Error("Missing required property 'network'");
|
|
224
|
-
}
|
|
225
223
|
resourceInputs["automatedBackupPolicy"] = args ? args.automatedBackupPolicy : undefined;
|
|
226
224
|
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
227
225
|
resourceInputs["continuousBackupConfig"] = args ? args.continuousBackupConfig : undefined;
|
|
@@ -231,6 +229,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
231
229
|
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
232
230
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
233
231
|
resourceInputs["network"] = args ? args.network : undefined;
|
|
232
|
+
resourceInputs["networkConfig"] = args ? args.networkConfig : undefined;
|
|
234
233
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
235
234
|
resourceInputs["restoreBackupSource"] = args ? args.restoreBackupSource : undefined;
|
|
236
235
|
resourceInputs["restoreContinuousBackupSource"] = args ? args.restoreContinuousBackupSource : undefined;
|
package/alloydb/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../alloydb/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6JG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../alloydb/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApML,0BAqMC;AAvLG,gBAAgB;AACO,oBAAY,GAAG,6BAA6B,CAAC"}
|
package/apigee/index.d.ts
CHANGED
|
@@ -64,3 +64,6 @@ export declare const SharedflowDeployment: typeof import("./sharedflowDeployment
|
|
|
64
64
|
export { SyncAuthorizationArgs, SyncAuthorizationState } from "./syncAuthorization";
|
|
65
65
|
export type SyncAuthorization = import("./syncAuthorization").SyncAuthorization;
|
|
66
66
|
export declare const SyncAuthorization: typeof import("./syncAuthorization").SyncAuthorization;
|
|
67
|
+
export { TargetServerArgs, TargetServerState } from "./targetServer";
|
|
68
|
+
export type TargetServer = import("./targetServer").TargetServer;
|
|
69
|
+
export declare const TargetServer: typeof import("./targetServer").TargetServer;
|
package/apigee/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.SharedflowDeployment = exports.Sharedflow = exports.Organization = exports.NatAddress = exports.KeystoresAliasesSelfSignedCert = exports.KeystoresAliasesPkcs12 = exports.KeystoresAliasesKeyCertFile = exports.InstanceAttachment = exports.Instance = exports.getEnvironmentIamPolicyOutput = exports.getEnvironmentIamPolicy = exports.Flowhook = exports.EnvironmentIamPolicy = exports.EnvironmentIamMember = exports.EnvironmentIamBinding = exports.Environment = exports.EnvReferences = exports.EnvKeystore = exports.EnvGroupAttachment = exports.EnvGroup = exports.EndpointAttachment = exports.AddonsConfig = void 0;
|
|
5
|
+
exports.TargetServer = exports.SyncAuthorization = exports.SharedflowDeployment = exports.Sharedflow = exports.Organization = exports.NatAddress = exports.KeystoresAliasesSelfSignedCert = exports.KeystoresAliasesPkcs12 = exports.KeystoresAliasesKeyCertFile = exports.InstanceAttachment = exports.Instance = exports.getEnvironmentIamPolicyOutput = exports.getEnvironmentIamPolicy = exports.Flowhook = exports.EnvironmentIamPolicy = exports.EnvironmentIamMember = exports.EnvironmentIamBinding = exports.Environment = exports.EnvReferences = exports.EnvKeystore = exports.EnvGroupAttachment = exports.EnvGroup = exports.EndpointAttachment = exports.AddonsConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AddonsConfig = null;
|
|
@@ -50,6 +50,8 @@ exports.SharedflowDeployment = null;
|
|
|
50
50
|
utilities.lazyLoad(exports, ["SharedflowDeployment"], () => require("./sharedflowDeployment"));
|
|
51
51
|
exports.SyncAuthorization = null;
|
|
52
52
|
utilities.lazyLoad(exports, ["SyncAuthorization"], () => require("./syncAuthorization"));
|
|
53
|
+
exports.TargetServer = null;
|
|
54
|
+
utilities.lazyLoad(exports, ["TargetServer"], () => require("./targetServer"));
|
|
53
55
|
const _module = {
|
|
54
56
|
version: utilities.getVersion(),
|
|
55
57
|
construct: (name, type, urn) => {
|
|
@@ -96,6 +98,8 @@ const _module = {
|
|
|
96
98
|
return new exports.SharedflowDeployment(name, undefined, { urn });
|
|
97
99
|
case "gcp:apigee/syncAuthorization:SyncAuthorization":
|
|
98
100
|
return new exports.SyncAuthorization(name, undefined, { urn });
|
|
101
|
+
case "gcp:apigee/targetServer:TargetServer":
|
|
102
|
+
return new exports.TargetServer(name, undefined, { urn });
|
|
99
103
|
default:
|
|
100
104
|
throw new Error(`unknown resource type ${type}`);
|
|
101
105
|
}
|
|
@@ -122,4 +126,5 @@ pulumi.runtime.registerResourceModule("gcp", "apigee/organization", _module);
|
|
|
122
126
|
pulumi.runtime.registerResourceModule("gcp", "apigee/sharedflow", _module);
|
|
123
127
|
pulumi.runtime.registerResourceModule("gcp", "apigee/sharedflowDeployment", _module);
|
|
124
128
|
pulumi.runtime.registerResourceModule("gcp", "apigee/syncAuthorization", _module);
|
|
129
|
+
pulumi.runtime.registerResourceModule("gcp", "apigee/targetServer", _module);
|
|
125
130
|
//# sourceMappingURL=index.js.map
|
package/apigee/index.js.map
CHANGED
|
@@ -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,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CA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AAE,OAAO,CAAC,CAAA;AAC9F,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,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* TargetServer configuration. TargetServers are used to decouple a proxy TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about TargetServer, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.targetservers/create)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Load balancing across backend servers](https://cloud.google.com/apigee/docs/api-platform/deploy/load-balancing-across-backend-servers)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Apigee Target Server Test Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const project = new gcp.organizations.Project("project", {
|
|
21
|
+
* projectId: "my-project",
|
|
22
|
+
* orgId: "123456789",
|
|
23
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
24
|
+
* });
|
|
25
|
+
* const apigee = new gcp.projects.Service("apigee", {
|
|
26
|
+
* project: project.projectId,
|
|
27
|
+
* service: "apigee.googleapis.com",
|
|
28
|
+
* });
|
|
29
|
+
* const servicenetworking = new gcp.projects.Service("servicenetworking", {
|
|
30
|
+
* project: project.projectId,
|
|
31
|
+
* service: "servicenetworking.googleapis.com",
|
|
32
|
+
* }, {
|
|
33
|
+
* dependsOn: [apigee],
|
|
34
|
+
* });
|
|
35
|
+
* const compute = new gcp.projects.Service("compute", {
|
|
36
|
+
* project: project.projectId,
|
|
37
|
+
* service: "compute.googleapis.com",
|
|
38
|
+
* }, {
|
|
39
|
+
* dependsOn: [servicenetworking],
|
|
40
|
+
* });
|
|
41
|
+
* const apigeeNetwork = new gcp.compute.Network("apigeeNetwork", {project: project.projectId}, {
|
|
42
|
+
* dependsOn: [compute],
|
|
43
|
+
* });
|
|
44
|
+
* const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
|
|
45
|
+
* purpose: "VPC_PEERING",
|
|
46
|
+
* addressType: "INTERNAL",
|
|
47
|
+
* prefixLength: 16,
|
|
48
|
+
* network: apigeeNetwork.id,
|
|
49
|
+
* project: project.projectId,
|
|
50
|
+
* });
|
|
51
|
+
* const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
|
|
52
|
+
* network: apigeeNetwork.id,
|
|
53
|
+
* service: "servicenetworking.googleapis.com",
|
|
54
|
+
* reservedPeeringRanges: [apigeeRange.name],
|
|
55
|
+
* }, {
|
|
56
|
+
* dependsOn: [servicenetworking],
|
|
57
|
+
* });
|
|
58
|
+
* const apigeeOrg = new gcp.apigee.Organization("apigeeOrg", {
|
|
59
|
+
* analyticsRegion: "us-central1",
|
|
60
|
+
* projectId: project.projectId,
|
|
61
|
+
* authorizedNetwork: apigeeNetwork.id,
|
|
62
|
+
* }, {
|
|
63
|
+
* dependsOn: [
|
|
64
|
+
* apigeeVpcConnection,
|
|
65
|
+
* apigee,
|
|
66
|
+
* ],
|
|
67
|
+
* });
|
|
68
|
+
* const apigeeEnvironment = new gcp.apigee.Environment("apigeeEnvironment", {
|
|
69
|
+
* orgId: apigeeOrg.id,
|
|
70
|
+
* description: "Apigee Environment",
|
|
71
|
+
* displayName: "environment-1",
|
|
72
|
+
* });
|
|
73
|
+
* const apigeeTargetServer = new gcp.apigee.TargetServer("apigeeTargetServer", {
|
|
74
|
+
* description: "Apigee Target Server",
|
|
75
|
+
* protocol: "HTTP",
|
|
76
|
+
* host: "abc.foo.com",
|
|
77
|
+
* port: 8080,
|
|
78
|
+
* envId: apigeeEnvironment.id,
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* TargetServer can be imported using any of these accepted formats
|
|
85
|
+
*
|
|
86
|
+
* ```sh
|
|
87
|
+
* $ pulumi import gcp:apigee/targetServer:TargetServer default {{env_id}}/targetservers/{{name}}
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* ```sh
|
|
91
|
+
* $ pulumi import gcp:apigee/targetServer:TargetServer default {{env_id}}/{{name}}
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export declare class TargetServer extends pulumi.CustomResource {
|
|
95
|
+
/**
|
|
96
|
+
* Get an existing TargetServer resource's state with the given name, ID, and optional extra
|
|
97
|
+
* properties used to qualify the lookup.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resulting resource.
|
|
100
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
101
|
+
* @param state Any extra arguments used during the lookup.
|
|
102
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
103
|
+
*/
|
|
104
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetServerState, opts?: pulumi.CustomResourceOptions): TargetServer;
|
|
105
|
+
/**
|
|
106
|
+
* Returns true if the given object is an instance of TargetServer. 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: any): obj is TargetServer;
|
|
110
|
+
/**
|
|
111
|
+
* A human-readable description of this TargetServer.
|
|
112
|
+
*/
|
|
113
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
116
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
* - - -
|
|
120
|
+
*/
|
|
121
|
+
readonly envId: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
|
|
124
|
+
*/
|
|
125
|
+
readonly host: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
|
|
128
|
+
*/
|
|
129
|
+
readonly isEnabled: pulumi.Output<boolean | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The resource id of this reference. Values must match the regular expression [\w\s-.]+.
|
|
132
|
+
*/
|
|
133
|
+
readonly name: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
|
|
136
|
+
*/
|
|
137
|
+
readonly port: pulumi.Output<number>;
|
|
138
|
+
/**
|
|
139
|
+
* Immutable. The protocol used by this TargetServer.
|
|
140
|
+
* Possible values are: `HTTP`, `HTTP2`, `GRPC_TARGET`, `GRPC`, `EXTERNAL_CALLOUT`.
|
|
141
|
+
*/
|
|
142
|
+
readonly protocol: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies TLS configuration info for this TargetServer. The JSON name is sSLInfo for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
|
|
145
|
+
* Structure is documented below.
|
|
146
|
+
*/
|
|
147
|
+
readonly sSlInfo: pulumi.Output<outputs.apigee.TargetServerSSlInfo | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Create a TargetServer resource with the given unique name, arguments, and options.
|
|
150
|
+
*
|
|
151
|
+
* @param name The _unique_ name of the resource.
|
|
152
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
153
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
154
|
+
*/
|
|
155
|
+
constructor(name: string, args: TargetServerArgs, opts?: pulumi.CustomResourceOptions);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Input properties used for looking up and filtering TargetServer resources.
|
|
159
|
+
*/
|
|
160
|
+
export interface TargetServerState {
|
|
161
|
+
/**
|
|
162
|
+
* A human-readable description of this TargetServer.
|
|
163
|
+
*/
|
|
164
|
+
description?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
167
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
168
|
+
*
|
|
169
|
+
*
|
|
170
|
+
* - - -
|
|
171
|
+
*/
|
|
172
|
+
envId?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
|
|
175
|
+
*/
|
|
176
|
+
host?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
|
|
179
|
+
*/
|
|
180
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
181
|
+
/**
|
|
182
|
+
* The resource id of this reference. Values must match the regular expression [\w\s-.]+.
|
|
183
|
+
*/
|
|
184
|
+
name?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
|
|
187
|
+
*/
|
|
188
|
+
port?: pulumi.Input<number>;
|
|
189
|
+
/**
|
|
190
|
+
* Immutable. The protocol used by this TargetServer.
|
|
191
|
+
* Possible values are: `HTTP`, `HTTP2`, `GRPC_TARGET`, `GRPC`, `EXTERNAL_CALLOUT`.
|
|
192
|
+
*/
|
|
193
|
+
protocol?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Specifies TLS configuration info for this TargetServer. The JSON name is sSLInfo for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
|
|
196
|
+
* Structure is documented below.
|
|
197
|
+
*/
|
|
198
|
+
sSlInfo?: pulumi.Input<inputs.apigee.TargetServerSSlInfo>;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* The set of arguments for constructing a TargetServer resource.
|
|
202
|
+
*/
|
|
203
|
+
export interface TargetServerArgs {
|
|
204
|
+
/**
|
|
205
|
+
* A human-readable description of this TargetServer.
|
|
206
|
+
*/
|
|
207
|
+
description?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
210
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
211
|
+
*
|
|
212
|
+
*
|
|
213
|
+
* - - -
|
|
214
|
+
*/
|
|
215
|
+
envId: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
|
|
218
|
+
*/
|
|
219
|
+
host: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
|
|
222
|
+
*/
|
|
223
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
224
|
+
/**
|
|
225
|
+
* The resource id of this reference. Values must match the regular expression [\w\s-.]+.
|
|
226
|
+
*/
|
|
227
|
+
name?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
|
|
230
|
+
*/
|
|
231
|
+
port: pulumi.Input<number>;
|
|
232
|
+
/**
|
|
233
|
+
* Immutable. The protocol used by this TargetServer.
|
|
234
|
+
* Possible values are: `HTTP`, `HTTP2`, `GRPC_TARGET`, `GRPC`, `EXTERNAL_CALLOUT`.
|
|
235
|
+
*/
|
|
236
|
+
protocol?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Specifies TLS configuration info for this TargetServer. The JSON name is sSLInfo for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
|
|
239
|
+
* Structure is documented below.
|
|
240
|
+
*/
|
|
241
|
+
sSlInfo?: pulumi.Input<inputs.apigee.TargetServerSSlInfo>;
|
|
242
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
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.TargetServer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* TargetServer configuration. TargetServers are used to decouple a proxy TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.
|
|
10
|
+
*
|
|
11
|
+
* To get more information about TargetServer, see:
|
|
12
|
+
*
|
|
13
|
+
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.targetservers/create)
|
|
14
|
+
* * How-to Guides
|
|
15
|
+
* * [Load balancing across backend servers](https://cloud.google.com/apigee/docs/api-platform/deploy/load-balancing-across-backend-servers)
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
* ### Apigee Target Server Test Basic
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as gcp from "@pulumi/gcp";
|
|
23
|
+
*
|
|
24
|
+
* const project = new gcp.organizations.Project("project", {
|
|
25
|
+
* projectId: "my-project",
|
|
26
|
+
* orgId: "123456789",
|
|
27
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
28
|
+
* });
|
|
29
|
+
* const apigee = new gcp.projects.Service("apigee", {
|
|
30
|
+
* project: project.projectId,
|
|
31
|
+
* service: "apigee.googleapis.com",
|
|
32
|
+
* });
|
|
33
|
+
* const servicenetworking = new gcp.projects.Service("servicenetworking", {
|
|
34
|
+
* project: project.projectId,
|
|
35
|
+
* service: "servicenetworking.googleapis.com",
|
|
36
|
+
* }, {
|
|
37
|
+
* dependsOn: [apigee],
|
|
38
|
+
* });
|
|
39
|
+
* const compute = new gcp.projects.Service("compute", {
|
|
40
|
+
* project: project.projectId,
|
|
41
|
+
* service: "compute.googleapis.com",
|
|
42
|
+
* }, {
|
|
43
|
+
* dependsOn: [servicenetworking],
|
|
44
|
+
* });
|
|
45
|
+
* const apigeeNetwork = new gcp.compute.Network("apigeeNetwork", {project: project.projectId}, {
|
|
46
|
+
* dependsOn: [compute],
|
|
47
|
+
* });
|
|
48
|
+
* const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
|
|
49
|
+
* purpose: "VPC_PEERING",
|
|
50
|
+
* addressType: "INTERNAL",
|
|
51
|
+
* prefixLength: 16,
|
|
52
|
+
* network: apigeeNetwork.id,
|
|
53
|
+
* project: project.projectId,
|
|
54
|
+
* });
|
|
55
|
+
* const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
|
|
56
|
+
* network: apigeeNetwork.id,
|
|
57
|
+
* service: "servicenetworking.googleapis.com",
|
|
58
|
+
* reservedPeeringRanges: [apigeeRange.name],
|
|
59
|
+
* }, {
|
|
60
|
+
* dependsOn: [servicenetworking],
|
|
61
|
+
* });
|
|
62
|
+
* const apigeeOrg = new gcp.apigee.Organization("apigeeOrg", {
|
|
63
|
+
* analyticsRegion: "us-central1",
|
|
64
|
+
* projectId: project.projectId,
|
|
65
|
+
* authorizedNetwork: apigeeNetwork.id,
|
|
66
|
+
* }, {
|
|
67
|
+
* dependsOn: [
|
|
68
|
+
* apigeeVpcConnection,
|
|
69
|
+
* apigee,
|
|
70
|
+
* ],
|
|
71
|
+
* });
|
|
72
|
+
* const apigeeEnvironment = new gcp.apigee.Environment("apigeeEnvironment", {
|
|
73
|
+
* orgId: apigeeOrg.id,
|
|
74
|
+
* description: "Apigee Environment",
|
|
75
|
+
* displayName: "environment-1",
|
|
76
|
+
* });
|
|
77
|
+
* const apigeeTargetServer = new gcp.apigee.TargetServer("apigeeTargetServer", {
|
|
78
|
+
* description: "Apigee Target Server",
|
|
79
|
+
* protocol: "HTTP",
|
|
80
|
+
* host: "abc.foo.com",
|
|
81
|
+
* port: 8080,
|
|
82
|
+
* envId: apigeeEnvironment.id,
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* ## Import
|
|
87
|
+
*
|
|
88
|
+
* TargetServer can be imported using any of these accepted formats
|
|
89
|
+
*
|
|
90
|
+
* ```sh
|
|
91
|
+
* $ pulumi import gcp:apigee/targetServer:TargetServer default {{env_id}}/targetservers/{{name}}
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* ```sh
|
|
95
|
+
* $ pulumi import gcp:apigee/targetServer:TargetServer default {{env_id}}/{{name}}
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
class TargetServer extends pulumi.CustomResource {
|
|
99
|
+
/**
|
|
100
|
+
* Get an existing TargetServer resource's state with the given name, ID, and optional extra
|
|
101
|
+
* properties used to qualify the lookup.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resulting resource.
|
|
104
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
105
|
+
* @param state Any extra arguments used during the lookup.
|
|
106
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
107
|
+
*/
|
|
108
|
+
static get(name, id, state, opts) {
|
|
109
|
+
return new TargetServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Returns true if the given object is an instance of TargetServer. This is designed to work even
|
|
113
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
114
|
+
*/
|
|
115
|
+
static isInstance(obj) {
|
|
116
|
+
if (obj === undefined || obj === null) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
return obj['__pulumiType'] === TargetServer.__pulumiType;
|
|
120
|
+
}
|
|
121
|
+
constructor(name, argsOrState, opts) {
|
|
122
|
+
let resourceInputs = {};
|
|
123
|
+
opts = opts || {};
|
|
124
|
+
if (opts.id) {
|
|
125
|
+
const state = argsOrState;
|
|
126
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
127
|
+
resourceInputs["envId"] = state ? state.envId : undefined;
|
|
128
|
+
resourceInputs["host"] = state ? state.host : undefined;
|
|
129
|
+
resourceInputs["isEnabled"] = state ? state.isEnabled : undefined;
|
|
130
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
131
|
+
resourceInputs["port"] = state ? state.port : undefined;
|
|
132
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
133
|
+
resourceInputs["sSlInfo"] = state ? state.sSlInfo : undefined;
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
const args = argsOrState;
|
|
137
|
+
if ((!args || args.envId === undefined) && !opts.urn) {
|
|
138
|
+
throw new Error("Missing required property 'envId'");
|
|
139
|
+
}
|
|
140
|
+
if ((!args || args.host === undefined) && !opts.urn) {
|
|
141
|
+
throw new Error("Missing required property 'host'");
|
|
142
|
+
}
|
|
143
|
+
if ((!args || args.port === undefined) && !opts.urn) {
|
|
144
|
+
throw new Error("Missing required property 'port'");
|
|
145
|
+
}
|
|
146
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
147
|
+
resourceInputs["envId"] = args ? args.envId : undefined;
|
|
148
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
149
|
+
resourceInputs["isEnabled"] = args ? args.isEnabled : undefined;
|
|
150
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
151
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
152
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
153
|
+
resourceInputs["sSlInfo"] = args ? args.sSlInfo : undefined;
|
|
154
|
+
}
|
|
155
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
156
|
+
super(TargetServer.__pulumiType, name, resourceInputs, opts);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.TargetServer = TargetServer;
|
|
160
|
+
/** @internal */
|
|
161
|
+
TargetServer.__pulumiType = 'gcp:apigee/targetServer:TargetServer';
|
|
162
|
+
//# sourceMappingURL=targetServer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targetServer.js","sourceRoot":"","sources":["../../apigee/targetServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;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;QAC7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AI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;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;;AA9GL,oCA+GC;AAjGG,gBAAgB;AACO,yBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -16,3 +16,6 @@ export declare const RepositoryIamMember: typeof import("./repositoryIamMember")
|
|
|
16
16
|
export { RepositoryIamPolicyArgs, RepositoryIamPolicyState } from "./repositoryIamPolicy";
|
|
17
17
|
export type RepositoryIamPolicy = import("./repositoryIamPolicy").RepositoryIamPolicy;
|
|
18
18
|
export declare const RepositoryIamPolicy: typeof import("./repositoryIamPolicy").RepositoryIamPolicy;
|
|
19
|
+
export { VpcscConfigArgs, VpcscConfigState } from "./vpcscConfig";
|
|
20
|
+
export type VpcscConfig = import("./vpcscConfig").VpcscConfig;
|
|
21
|
+
export declare const VpcscConfig: typeof import("./vpcscConfig").VpcscConfig;
|
|
@@ -2,7 +2,7 @@
|
|
|
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.RepositoryIamPolicy = exports.RepositoryIamMember = exports.RepositoryIamBinding = exports.Repository = exports.getRepositoryIamPolicyOutput = exports.getRepositoryIamPolicy = exports.getRepositoryOutput = exports.getRepository = void 0;
|
|
5
|
+
exports.VpcscConfig = exports.RepositoryIamPolicy = exports.RepositoryIamMember = exports.RepositoryIamBinding = exports.Repository = exports.getRepositoryIamPolicyOutput = exports.getRepositoryIamPolicy = exports.getRepositoryOutput = exports.getRepository = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getRepository = null;
|
|
@@ -19,6 +19,8 @@ exports.RepositoryIamMember = null;
|
|
|
19
19
|
utilities.lazyLoad(exports, ["RepositoryIamMember"], () => require("./repositoryIamMember"));
|
|
20
20
|
exports.RepositoryIamPolicy = null;
|
|
21
21
|
utilities.lazyLoad(exports, ["RepositoryIamPolicy"], () => require("./repositoryIamPolicy"));
|
|
22
|
+
exports.VpcscConfig = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["VpcscConfig"], () => require("./vpcscConfig"));
|
|
22
24
|
const _module = {
|
|
23
25
|
version: utilities.getVersion(),
|
|
24
26
|
construct: (name, type, urn) => {
|
|
@@ -31,6 +33,8 @@ const _module = {
|
|
|
31
33
|
return new exports.RepositoryIamMember(name, undefined, { urn });
|
|
32
34
|
case "gcp:artifactregistry/repositoryIamPolicy:RepositoryIamPolicy":
|
|
33
35
|
return new exports.RepositoryIamPolicy(name, undefined, { urn });
|
|
36
|
+
case "gcp:artifactregistry/vpcscConfig:VpcscConfig":
|
|
37
|
+
return new exports.VpcscConfig(name, undefined, { urn });
|
|
34
38
|
default:
|
|
35
39
|
throw new Error(`unknown resource type ${type}`);
|
|
36
40
|
}
|
|
@@ -40,4 +44,5 @@ pulumi.runtime.registerResourceModule("gcp", "artifactregistry/repository", _mod
|
|
|
40
44
|
pulumi.runtime.registerResourceModule("gcp", "artifactregistry/repositoryIamBinding", _module);
|
|
41
45
|
pulumi.runtime.registerResourceModule("gcp", "artifactregistry/repositoryIamMember", _module);
|
|
42
46
|
pulumi.runtime.registerResourceModule("gcp", "artifactregistry/repositoryIamPolicy", _module);
|
|
47
|
+
pulumi.runtime.registerResourceModule("gcp", "artifactregistry/vpcscConfig", _module);
|
|
43
48
|
//# sourceMappingURL=index.js.map
|