@pulumi/gcp 9.33.0-alpha.1785902607 → 9.33.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/accesscontextmanager/gcpUserAccessBinding.d.ts +1 -1
- package/accesscontextmanager/gcpUserAccessBinding.js +1 -1
- package/agentidentity/authProvider.d.ts +366 -0
- package/agentidentity/authProvider.d.ts.map +1 -0
- package/agentidentity/authProvider.js +158 -0
- package/agentidentity/authProvider.js.map +1 -0
- package/agentidentity/index.d.ts +4 -0
- package/agentidentity/index.d.ts.map +1 -0
- package/agentidentity/index.js +45 -0
- package/agentidentity/index.js.map +1 -0
- package/apihub/index.d.ts +3 -0
- package/apihub/index.d.ts.map +1 -1
- package/apihub/index.js +6 -1
- package/apihub/index.js.map +1 -1
- package/apihub/runtimeProjectAttachment.d.ts +228 -0
- package/apihub/runtimeProjectAttachment.d.ts.map +1 -0
- package/apihub/runtimeProjectAttachment.js +173 -0
- package/apihub/runtimeProjectAttachment.js.map +1 -0
- package/apphub/service.d.ts +2 -2
- package/apphub/service.js +2 -2
- package/artifactregistry/getDockerImage.d.ts +2 -2
- package/artifactregistry/getDockerImage.js +2 -2
- package/bigquery/routine.d.ts +28 -0
- package/bigquery/routine.d.ts.map +1 -1
- package/bigquery/routine.js +28 -0
- package/bigquery/routine.js.map +1 -1
- package/binaryauthorization/attestor.d.ts +1 -1
- package/binaryauthorization/attestor.js +1 -1
- package/certificateauthority/certificate.d.ts +1 -1
- package/certificateauthority/certificate.js +1 -1
- package/certificatemanager/dnsAuthorization.d.ts +3 -3
- package/certificatemanager/dnsAuthorization.js +3 -3
- package/ces/agent.d.ts +1 -1
- package/ces/agent.js +1 -1
- package/ces/example.d.ts +2 -2
- package/ces/example.js +2 -2
- package/ces/tool.d.ts +1 -1
- package/ces/tool.js +1 -1
- package/chronicle/bigQueryExport.d.ts +263 -0
- package/chronicle/bigQueryExport.d.ts.map +1 -0
- package/chronicle/bigQueryExport.js +173 -0
- package/chronicle/bigQueryExport.js.map +1 -0
- package/chronicle/index.d.ts +3 -0
- package/chronicle/index.d.ts.map +1 -1
- package/chronicle/index.js +6 -1
- package/chronicle/index.js.map +1 -1
- package/cloudbuild/bitbucketServerConfig.d.ts +1 -1
- package/cloudbuild/bitbucketServerConfig.js +1 -1
- package/cloudidentity/groupMembership.d.ts +1 -1
- package/cloudidentity/groupMembership.js +1 -1
- package/cloudquota/squotaAdjusterSettings.d.ts +1 -4
- package/cloudquota/squotaAdjusterSettings.d.ts.map +1 -1
- package/cloudquota/squotaAdjusterSettings.js +1 -4
- package/cloudquota/squotaAdjusterSettings.js.map +1 -1
- package/cloudrun/service.d.ts +1 -1
- package/cloudrun/service.js +1 -1
- package/cloudrunv2/job.d.ts +0 -6
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js.map +1 -1
- package/colab/schedule.d.ts +275 -2
- package/colab/schedule.d.ts.map +1 -1
- package/colab/schedule.js +200 -3
- package/colab/schedule.js.map +1 -1
- package/compute/backendService.d.ts +1 -1
- package/compute/backendService.js +1 -1
- package/compute/getInstanceSerialPort.d.ts +2 -2
- package/compute/getInstanceSerialPort.js +2 -2
- package/compute/globalVmExtensionPolicy.d.ts +0 -3
- package/compute/globalVmExtensionPolicy.d.ts.map +1 -1
- package/compute/globalVmExtensionPolicy.js +0 -3
- package/compute/globalVmExtensionPolicy.js.map +1 -1
- package/compute/interconnect.d.ts +14 -4
- package/compute/interconnect.d.ts.map +1 -1
- package/compute/interconnect.js +3 -1
- package/compute/interconnect.js.map +1 -1
- package/compute/networkEndpoint.d.ts +1 -1
- package/compute/networkEndpoint.js +1 -1
- package/compute/networkEndpointList.d.ts +2 -2
- package/compute/networkEndpointList.js +2 -2
- package/compute/networkPeeringRoutesConfig.d.ts +2 -2
- package/compute/networkPeeringRoutesConfig.js +2 -2
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionNetworkEndpoint.d.ts +1 -1
- package/compute/regionNetworkEndpoint.js +1 -1
- package/compute/rolloutPlan.d.ts +1 -4
- package/compute/rolloutPlan.d.ts.map +1 -1
- package/compute/rolloutPlan.js +1 -4
- package/compute/rolloutPlan.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/contactcenterinsights/encryptionSpec.d.ts +1 -1
- package/contactcenterinsights/encryptionSpec.js +1 -1
- package/container/cluster.d.ts +71 -0
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js +45 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +3 -0
- package/container/getCluster.d.ts.map +1 -1
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +4 -4
- package/databasemigrationservice/connectionProfile.js +4 -4
- package/databasemigrationservice/migrationJob.d.ts +4 -4
- package/databasemigrationservice/migrationJob.js +4 -4
- package/dataplex/datascan.d.ts +1 -1
- package/dataplex/datascan.js +1 -1
- package/dataplex/entry.d.ts +1 -1
- package/dataplex/entry.js +1 -1
- package/dataplex/entryLink.d.ts +1 -1
- package/dataplex/entryLink.js +1 -1
- package/dataproc/job.d.ts +2 -2
- package/dataproc/job.js +2 -2
- package/datastream/connectionProfile.d.ts +1 -1
- package/datastream/connectionProfile.js +1 -1
- package/datastream/stream.d.ts +1 -1
- package/datastream/stream.js +1 -1
- package/developerconnect/connection.d.ts +1 -1
- package/developerconnect/connection.js +1 -1
- package/diagflow/encryptionSpec.d.ts +1 -1
- package/diagflow/encryptionSpec.js +1 -1
- package/dns/managedZone.d.ts +2 -2
- package/dns/managedZone.js +2 -2
- package/dns/responsePolicy.d.ts +2 -2
- package/dns/responsePolicy.js +2 -2
- package/firebase/webApp.d.ts +6 -6
- package/firebase/webApp.js +6 -6
- package/folder/accessApprovalSettings.d.ts +2 -2
- package/folder/accessApprovalSettings.js +2 -2
- package/gkehub/rolloutSequence.d.ts +225 -3
- package/gkehub/rolloutSequence.d.ts.map +1 -1
- package/gkehub/rolloutSequence.js +149 -3
- package/gkehub/rolloutSequence.js.map +1 -1
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iam/accessBoundaryPolicy.d.ts +3 -3
- package/iam/accessBoundaryPolicy.js +3 -3
- package/iam/denyPolicy.d.ts +1 -1
- package/iam/denyPolicy.js +1 -1
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/logging/folderSettings.d.ts +1 -1
- package/logging/folderSettings.js +1 -1
- package/managedkafka/connectCluster.d.ts +1 -1
- package/managedkafka/connectCluster.js +1 -1
- package/managedkafka/connector.d.ts +1 -1
- package/managedkafka/connector.js +1 -1
- package/memorystore/instanceDesiredUserCreatedEndpoints.d.ts +12 -12
- package/memorystore/instanceDesiredUserCreatedEndpoints.js +12 -12
- package/modelarmor/template.d.ts +27 -0
- package/modelarmor/template.d.ts.map +1 -1
- package/modelarmor/template.js +27 -0
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +8 -8
- package/networkconnectivity/spoke.js +8 -8
- package/networkconnectivity/transport.d.ts +2 -2
- package/networkconnectivity/transport.js +2 -2
- package/observability/folderSettings.d.ts +3 -3
- package/observability/folderSettings.js +3 -3
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -2
- package/observability/traceScope.js +2 -2
- package/organizations/accessApprovalSettings.d.ts +1 -1
- package/organizations/accessApprovalSettings.js +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/projects/accessApprovalSettings.d.ts +1 -1
- package/projects/accessApprovalSettings.js +1 -1
- package/provider.d.ts +2 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/clusterUserCreatedConnections.d.ts +12 -12
- package/redis/clusterUserCreatedConnections.js +12 -12
- package/securesourcemanager/instance.d.ts +6 -6
- package/securesourcemanager/instance.js +6 -6
- package/siteverification/owner.d.ts +5 -5
- package/siteverification/owner.js +5 -5
- package/types/input.d.ts +928 -7
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +991 -7
- package/types/output.d.ts.map +1 -1
- package/vectorsearch/dataObject.d.ts +405 -0
- package/vectorsearch/dataObject.d.ts.map +1 -0
- package/vectorsearch/dataObject.js +290 -0
- package/vectorsearch/dataObject.js.map +1 -0
- package/vectorsearch/index.d.ts +3 -0
- package/vectorsearch/index.d.ts.map +1 -1
- package/vectorsearch/index.js +6 -1
- package/vectorsearch/index.js.map +1 -1
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
- package/vertex/aiPersistentResource.d.ts +614 -0
- package/vertex/aiPersistentResource.d.ts.map +1 -0
- package/vertex/aiPersistentResource.js +307 -0
- package/vertex/aiPersistentResource.js.map +1 -0
- package/vertex/aiReasoningEngine.d.ts +1 -1
- package/vertex/aiReasoningEngine.js +1 -1
- package/vertex/aiSchedule.d.ts +2 -0
- package/vertex/aiSchedule.d.ts.map +1 -1
- package/vertex/aiSchedule.js +2 -0
- package/vertex/aiSchedule.js.map +1 -1
- package/vertex/aiTensorboardExperiment.d.ts +1 -1
- package/vertex/aiTensorboardExperiment.js +1 -1
- package/vertex/aiTensorboardRun.d.ts +2 -2
- package/vertex/aiTensorboardRun.js +2 -2
- package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
- package/vertex/getAiReasoningEngineQuery.js +2 -2
- package/vertex/index.d.ts +3 -0
- package/vertex/index.d.ts.map +1 -1
- package/vertex/index.js +7 -2
- package/vertex/index.js.map +1 -1
package/apihub/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.PluginInstance = exports.Plugin = exports.HostProjectRegistration = exports.Curation = exports.ApiHubInstance = void 0;
|
|
28
|
+
exports.RuntimeProjectAttachment = exports.PluginInstance = exports.Plugin = exports.HostProjectRegistration = exports.Curation = exports.ApiHubInstance = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
exports.ApiHubInstance = null;
|
|
@@ -38,6 +38,8 @@ exports.Plugin = null;
|
|
|
38
38
|
utilities.lazyLoad(exports, ["Plugin"], () => require("./plugin"));
|
|
39
39
|
exports.PluginInstance = null;
|
|
40
40
|
utilities.lazyLoad(exports, ["PluginInstance"], () => require("./pluginInstance"));
|
|
41
|
+
exports.RuntimeProjectAttachment = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["RuntimeProjectAttachment"], () => require("./runtimeProjectAttachment"));
|
|
41
43
|
const _module = {
|
|
42
44
|
version: utilities.getVersion(),
|
|
43
45
|
construct: (name, type, urn) => {
|
|
@@ -52,6 +54,8 @@ const _module = {
|
|
|
52
54
|
return new exports.Plugin(name, undefined, { urn });
|
|
53
55
|
case "gcp:apihub/pluginInstance:PluginInstance":
|
|
54
56
|
return new exports.PluginInstance(name, undefined, { urn });
|
|
57
|
+
case "gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment":
|
|
58
|
+
return new exports.RuntimeProjectAttachment(name, undefined, { urn });
|
|
55
59
|
default:
|
|
56
60
|
throw new Error(`unknown resource type ${type}`);
|
|
57
61
|
}
|
|
@@ -62,4 +66,5 @@ pulumi.runtime.registerResourceModule("gcp", "apihub/curation", _module);
|
|
|
62
66
|
pulumi.runtime.registerResourceModule("gcp", "apihub/hostProjectRegistration", _module);
|
|
63
67
|
pulumi.runtime.registerResourceModule("gcp", "apihub/plugin", _module);
|
|
64
68
|
pulumi.runtime.registerResourceModule("gcp", "apihub/pluginInstance", _module);
|
|
69
|
+
pulumi.runtime.registerResourceModule("gcp", "apihub/runtimeProjectAttachment", _module);
|
|
65
70
|
//# sourceMappingURL=index.js.map
|
package/apihub/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apihub/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,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,uBAAuB,GAAuE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAA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KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Runtime project attachment represents an attachment from the runtime project to the host project. API Hub looks for deployments in the attached runtime projects and creates corresponding resources in API Hub for the discovered deployments.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Apihub Runtime Project Attachment Basic
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gcp from "@pulumi/gcp";
|
|
12
|
+
* import * as time from "@pulumiverse/time";
|
|
13
|
+
*
|
|
14
|
+
* const hostProject = new gcp.organizations.Project("host_project", {
|
|
15
|
+
* name: "h-ah-proj",
|
|
16
|
+
* projectId: "h-ah-proj",
|
|
17
|
+
* orgId: "123456789",
|
|
18
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
19
|
+
* deletionPolicy: "DELETE",
|
|
20
|
+
* });
|
|
21
|
+
* const wait60Seconds = new time.Sleep("wait_60_seconds", {createDuration: "60s"}, {
|
|
22
|
+
* dependsOn: [hostProject],
|
|
23
|
+
* });
|
|
24
|
+
* // Enable API hub API on host project
|
|
25
|
+
* const apihubService = new gcp.projects.Service("apihub_service", {
|
|
26
|
+
* project: hostProject.projectId,
|
|
27
|
+
* service: "apihub.googleapis.com",
|
|
28
|
+
* }, {
|
|
29
|
+
* dependsOn: [wait60Seconds],
|
|
30
|
+
* });
|
|
31
|
+
* const hostProjectReg = new gcp.apihub.HostProjectRegistration("host_project_reg", {
|
|
32
|
+
* project: hostProject.projectId,
|
|
33
|
+
* location: "asia-south1",
|
|
34
|
+
* hostProjectRegistrationId: hostProject.projectId,
|
|
35
|
+
* gcpProject: pulumi.interpolate`projects/${hostProject.projectId}`,
|
|
36
|
+
* }, {
|
|
37
|
+
* dependsOn: [apihubService],
|
|
38
|
+
* });
|
|
39
|
+
* const runtimeProject = new gcp.organizations.Project("runtime_project", {
|
|
40
|
+
* name: "r-ah-proj",
|
|
41
|
+
* projectId: "r-ah-proj",
|
|
42
|
+
* orgId: "123456789",
|
|
43
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
44
|
+
* deletionPolicy: "DELETE",
|
|
45
|
+
* });
|
|
46
|
+
* // Enable API hub API on runtime project
|
|
47
|
+
* const apihubServiceRuntime = new gcp.projects.Service("apihub_service_runtime", {
|
|
48
|
+
* project: runtimeProject.projectId,
|
|
49
|
+
* service: "apihub.googleapis.com",
|
|
50
|
+
* }, {
|
|
51
|
+
* dependsOn: [wait60Seconds],
|
|
52
|
+
* });
|
|
53
|
+
* const apihubRuntimeProjectAttachment = new gcp.apihub.RuntimeProjectAttachment("apihub_runtime_project_attachment", {
|
|
54
|
+
* project: hostProject.projectId,
|
|
55
|
+
* location: "asia-south1",
|
|
56
|
+
* runtimeProjectAttachmentId: runtimeProject.projectId,
|
|
57
|
+
* runtimeProject: pulumi.interpolate`projects/${runtimeProject.projectId}`,
|
|
58
|
+
* }, {
|
|
59
|
+
* dependsOn: [
|
|
60
|
+
* hostProjectReg,
|
|
61
|
+
* apihubServiceRuntime,
|
|
62
|
+
* ],
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* RuntimeProjectAttachment can be imported using any of these accepted formats:
|
|
69
|
+
*
|
|
70
|
+
* * `projects/{{project}}/locations/{{location}}/runtimeProjectAttachments/{{runtime_project_attachment_id}}`
|
|
71
|
+
* * `{{project}}/{{location}}/{{runtime_project_attachment_id}}`
|
|
72
|
+
* * `{{location}}/{{runtime_project_attachment_id}}`
|
|
73
|
+
*
|
|
74
|
+
* When using the `pulumi import` command, RuntimeProjectAttachment can be imported using one of the formats above. For example:
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default projects/{{project}}/locations/{{location}}/runtimeProjectAttachments/{{runtime_project_attachment_id}}
|
|
78
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default {{project}}/{{location}}/{{runtime_project_attachment_id}}
|
|
79
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default {{location}}/{{runtime_project_attachment_id}}
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare class RuntimeProjectAttachment extends pulumi.CustomResource {
|
|
83
|
+
/**
|
|
84
|
+
* Get an existing RuntimeProjectAttachment resource's state with the given name, ID, and optional extra
|
|
85
|
+
* properties used to qualify the lookup.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resulting resource.
|
|
88
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
89
|
+
* @param state Any extra arguments used during the lookup.
|
|
90
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
91
|
+
*/
|
|
92
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuntimeProjectAttachmentState, opts?: pulumi.CustomResourceOptions): RuntimeProjectAttachment;
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of RuntimeProjectAttachment. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj: any): obj is RuntimeProjectAttachment;
|
|
98
|
+
/**
|
|
99
|
+
* Output only. Create time.
|
|
100
|
+
*/
|
|
101
|
+
readonly createTime: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
104
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
105
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
106
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
107
|
+
* management without updating or deleting the resource in the API.
|
|
108
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
109
|
+
*/
|
|
110
|
+
readonly deletionPolicy: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Part of `parent`. See documentation of `projectsId`.
|
|
113
|
+
*/
|
|
114
|
+
readonly location: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Identifier. The resource name of a runtime project attachment.
|
|
117
|
+
* Format: "projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment_id}"
|
|
118
|
+
*/
|
|
119
|
+
readonly name: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The ID of the project in which the resource belongs.
|
|
122
|
+
* If it is not provided, the provider project is used.
|
|
123
|
+
*/
|
|
124
|
+
readonly project: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123".
|
|
127
|
+
* As input, project name with either project id or number are accepted.
|
|
128
|
+
* As output, this field will contain project number.
|
|
129
|
+
*/
|
|
130
|
+
readonly runtimeProject: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID to use for the Runtime Project Attachment, which will become the
|
|
133
|
+
* final component of the Runtime Project Attachment's name. The ID must be the same
|
|
134
|
+
* as the project ID of the Google cloud project specified in the
|
|
135
|
+
* runtime_project_attachment.runtime_project field.
|
|
136
|
+
*/
|
|
137
|
+
readonly runtimeProjectAttachmentId: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a RuntimeProjectAttachment resource with the given unique name, arguments, and options.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resource.
|
|
142
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
143
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
144
|
+
*/
|
|
145
|
+
constructor(name: string, args: RuntimeProjectAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Input properties used for looking up and filtering RuntimeProjectAttachment resources.
|
|
149
|
+
*/
|
|
150
|
+
export interface RuntimeProjectAttachmentState {
|
|
151
|
+
/**
|
|
152
|
+
* Output only. Create time.
|
|
153
|
+
*/
|
|
154
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
157
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
158
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
159
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
160
|
+
* management without updating or deleting the resource in the API.
|
|
161
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
162
|
+
*/
|
|
163
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Part of `parent`. See documentation of `projectsId`.
|
|
166
|
+
*/
|
|
167
|
+
location?: pulumi.Input<string | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Identifier. The resource name of a runtime project attachment.
|
|
170
|
+
* Format: "projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment_id}"
|
|
171
|
+
*/
|
|
172
|
+
name?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* The ID of the project in which the resource belongs.
|
|
175
|
+
* If it is not provided, the provider project is used.
|
|
176
|
+
*/
|
|
177
|
+
project?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123".
|
|
180
|
+
* As input, project name with either project id or number are accepted.
|
|
181
|
+
* As output, this field will contain project number.
|
|
182
|
+
*/
|
|
183
|
+
runtimeProject?: pulumi.Input<string | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* The ID to use for the Runtime Project Attachment, which will become the
|
|
186
|
+
* final component of the Runtime Project Attachment's name. The ID must be the same
|
|
187
|
+
* as the project ID of the Google cloud project specified in the
|
|
188
|
+
* runtime_project_attachment.runtime_project field.
|
|
189
|
+
*/
|
|
190
|
+
runtimeProjectAttachmentId?: pulumi.Input<string | undefined>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* The set of arguments for constructing a RuntimeProjectAttachment resource.
|
|
194
|
+
*/
|
|
195
|
+
export interface RuntimeProjectAttachmentArgs {
|
|
196
|
+
/**
|
|
197
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
198
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
199
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
200
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
201
|
+
* management without updating or deleting the resource in the API.
|
|
202
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
203
|
+
*/
|
|
204
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Part of `parent`. See documentation of `projectsId`.
|
|
207
|
+
*/
|
|
208
|
+
location: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* The ID of the project in which the resource belongs.
|
|
211
|
+
* If it is not provided, the provider project is used.
|
|
212
|
+
*/
|
|
213
|
+
project?: pulumi.Input<string | undefined>;
|
|
214
|
+
/**
|
|
215
|
+
* Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123".
|
|
216
|
+
* As input, project name with either project id or number are accepted.
|
|
217
|
+
* As output, this field will contain project number.
|
|
218
|
+
*/
|
|
219
|
+
runtimeProject: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The ID to use for the Runtime Project Attachment, which will become the
|
|
222
|
+
* final component of the Runtime Project Attachment's name. The ID must be the same
|
|
223
|
+
* as the project ID of the Google cloud project specified in the
|
|
224
|
+
* runtime_project_attachment.runtime_project field.
|
|
225
|
+
*/
|
|
226
|
+
runtimeProjectAttachmentId: pulumi.Input<string>;
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=runtimeProjectAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtimeProjectAttachment.d.ts","sourceRoot":"","sources":["../../apihub/runtimeProjectAttachment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,qBAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,wBAAwB;IAOlK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,wBAAwB;IAOnE;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;;;;;;OAOG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;;OAGG;IACH,SAAgC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,C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,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;;;;OAKG;IACH,0BAA0B,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.RuntimeProjectAttachment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Runtime project attachment represents an attachment from the runtime project to the host project. API Hub looks for deployments in the attached runtime projects and creates corresponding resources in API Hub for the discovered deployments.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Apihub Runtime Project Attachment Basic
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gcp from "@pulumi/gcp";
|
|
41
|
+
* import * as time from "@pulumiverse/time";
|
|
42
|
+
*
|
|
43
|
+
* const hostProject = new gcp.organizations.Project("host_project", {
|
|
44
|
+
* name: "h-ah-proj",
|
|
45
|
+
* projectId: "h-ah-proj",
|
|
46
|
+
* orgId: "123456789",
|
|
47
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
48
|
+
* deletionPolicy: "DELETE",
|
|
49
|
+
* });
|
|
50
|
+
* const wait60Seconds = new time.Sleep("wait_60_seconds", {createDuration: "60s"}, {
|
|
51
|
+
* dependsOn: [hostProject],
|
|
52
|
+
* });
|
|
53
|
+
* // Enable API hub API on host project
|
|
54
|
+
* const apihubService = new gcp.projects.Service("apihub_service", {
|
|
55
|
+
* project: hostProject.projectId,
|
|
56
|
+
* service: "apihub.googleapis.com",
|
|
57
|
+
* }, {
|
|
58
|
+
* dependsOn: [wait60Seconds],
|
|
59
|
+
* });
|
|
60
|
+
* const hostProjectReg = new gcp.apihub.HostProjectRegistration("host_project_reg", {
|
|
61
|
+
* project: hostProject.projectId,
|
|
62
|
+
* location: "asia-south1",
|
|
63
|
+
* hostProjectRegistrationId: hostProject.projectId,
|
|
64
|
+
* gcpProject: pulumi.interpolate`projects/${hostProject.projectId}`,
|
|
65
|
+
* }, {
|
|
66
|
+
* dependsOn: [apihubService],
|
|
67
|
+
* });
|
|
68
|
+
* const runtimeProject = new gcp.organizations.Project("runtime_project", {
|
|
69
|
+
* name: "r-ah-proj",
|
|
70
|
+
* projectId: "r-ah-proj",
|
|
71
|
+
* orgId: "123456789",
|
|
72
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
73
|
+
* deletionPolicy: "DELETE",
|
|
74
|
+
* });
|
|
75
|
+
* // Enable API hub API on runtime project
|
|
76
|
+
* const apihubServiceRuntime = new gcp.projects.Service("apihub_service_runtime", {
|
|
77
|
+
* project: runtimeProject.projectId,
|
|
78
|
+
* service: "apihub.googleapis.com",
|
|
79
|
+
* }, {
|
|
80
|
+
* dependsOn: [wait60Seconds],
|
|
81
|
+
* });
|
|
82
|
+
* const apihubRuntimeProjectAttachment = new gcp.apihub.RuntimeProjectAttachment("apihub_runtime_project_attachment", {
|
|
83
|
+
* project: hostProject.projectId,
|
|
84
|
+
* location: "asia-south1",
|
|
85
|
+
* runtimeProjectAttachmentId: runtimeProject.projectId,
|
|
86
|
+
* runtimeProject: pulumi.interpolate`projects/${runtimeProject.projectId}`,
|
|
87
|
+
* }, {
|
|
88
|
+
* dependsOn: [
|
|
89
|
+
* hostProjectReg,
|
|
90
|
+
* apihubServiceRuntime,
|
|
91
|
+
* ],
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ## Import
|
|
96
|
+
*
|
|
97
|
+
* RuntimeProjectAttachment can be imported using any of these accepted formats:
|
|
98
|
+
*
|
|
99
|
+
* * `projects/{{project}}/locations/{{location}}/runtimeProjectAttachments/{{runtime_project_attachment_id}}`
|
|
100
|
+
* * `{{project}}/{{location}}/{{runtime_project_attachment_id}}`
|
|
101
|
+
* * `{{location}}/{{runtime_project_attachment_id}}`
|
|
102
|
+
*
|
|
103
|
+
* When using the `pulumi import` command, RuntimeProjectAttachment can be imported using one of the formats above. For example:
|
|
104
|
+
*
|
|
105
|
+
* ```sh
|
|
106
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default projects/{{project}}/locations/{{location}}/runtimeProjectAttachments/{{runtime_project_attachment_id}}
|
|
107
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default {{project}}/{{location}}/{{runtime_project_attachment_id}}
|
|
108
|
+
* $ pulumi import gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment default {{location}}/{{runtime_project_attachment_id}}
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
class RuntimeProjectAttachment extends pulumi.CustomResource {
|
|
112
|
+
/**
|
|
113
|
+
* Get an existing RuntimeProjectAttachment resource's state with the given name, ID, and optional extra
|
|
114
|
+
* properties used to qualify the lookup.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resulting resource.
|
|
117
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
118
|
+
* @param state Any extra arguments used during the lookup.
|
|
119
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
120
|
+
*/
|
|
121
|
+
static get(name, id, state, opts) {
|
|
122
|
+
return new RuntimeProjectAttachment(name, state, { ...opts, id: id });
|
|
123
|
+
}
|
|
124
|
+
/** @internal */
|
|
125
|
+
static __pulumiType = 'gcp:apihub/runtimeProjectAttachment:RuntimeProjectAttachment';
|
|
126
|
+
/**
|
|
127
|
+
* Returns true if the given object is an instance of RuntimeProjectAttachment. This is designed to work even
|
|
128
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
129
|
+
*/
|
|
130
|
+
static isInstance(obj) {
|
|
131
|
+
if (obj === undefined || obj === null) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
return obj['__pulumiType'] === RuntimeProjectAttachment.__pulumiType;
|
|
135
|
+
}
|
|
136
|
+
constructor(name, argsOrState, opts) {
|
|
137
|
+
let resourceInputs = {};
|
|
138
|
+
opts = opts || {};
|
|
139
|
+
if (opts.id) {
|
|
140
|
+
const state = argsOrState;
|
|
141
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
142
|
+
resourceInputs["deletionPolicy"] = state?.deletionPolicy;
|
|
143
|
+
resourceInputs["location"] = state?.location;
|
|
144
|
+
resourceInputs["name"] = state?.name;
|
|
145
|
+
resourceInputs["project"] = state?.project;
|
|
146
|
+
resourceInputs["runtimeProject"] = state?.runtimeProject;
|
|
147
|
+
resourceInputs["runtimeProjectAttachmentId"] = state?.runtimeProjectAttachmentId;
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
const args = argsOrState;
|
|
151
|
+
if (args?.location === undefined && !opts.urn) {
|
|
152
|
+
throw new Error("Missing required property 'location'");
|
|
153
|
+
}
|
|
154
|
+
if (args?.runtimeProject === undefined && !opts.urn) {
|
|
155
|
+
throw new Error("Missing required property 'runtimeProject'");
|
|
156
|
+
}
|
|
157
|
+
if (args?.runtimeProjectAttachmentId === undefined && !opts.urn) {
|
|
158
|
+
throw new Error("Missing required property 'runtimeProjectAttachmentId'");
|
|
159
|
+
}
|
|
160
|
+
resourceInputs["deletionPolicy"] = args?.deletionPolicy;
|
|
161
|
+
resourceInputs["location"] = args?.location;
|
|
162
|
+
resourceInputs["project"] = args?.project;
|
|
163
|
+
resourceInputs["runtimeProject"] = args?.runtimeProject;
|
|
164
|
+
resourceInputs["runtimeProjectAttachmentId"] = args?.runtimeProjectAttachmentId;
|
|
165
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
166
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
167
|
+
}
|
|
168
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
169
|
+
super(RuntimeProjectAttachment.__pulumiType, name, resourceInputs, opts);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
exports.RuntimeProjectAttachment = RuntimeProjectAttachment;
|
|
173
|
+
//# sourceMappingURL=runtimeProjectAttachment.js.map
|
|
@@ -0,0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I,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA9GL,4DA+GC"}
|
package/apphub/service.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ import * as outputs from "../types/output";
|
|
|
97
97
|
* location: "us-central1",
|
|
98
98
|
* applicationId: application.applicationId,
|
|
99
99
|
* serviceId: forwardingRule.name,
|
|
100
|
-
* discoveredService: catalog_service.
|
|
100
|
+
* discoveredService: catalog_service.name,
|
|
101
101
|
* });
|
|
102
102
|
* ```
|
|
103
103
|
* ### Apphub Service Full
|
|
@@ -191,7 +191,7 @@ import * as outputs from "../types/output";
|
|
|
191
191
|
* location: "us-central1",
|
|
192
192
|
* applicationId: application.applicationId,
|
|
193
193
|
* serviceId: forwardingRule.name,
|
|
194
|
-
* discoveredService: catalog_service.
|
|
194
|
+
* discoveredService: catalog_service.name,
|
|
195
195
|
* displayName: "Example Service Full",
|
|
196
196
|
* description: "Register service for testing",
|
|
197
197
|
* attributes: {
|
package/apphub/service.js
CHANGED
|
@@ -124,7 +124,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
124
124
|
* location: "us-central1",
|
|
125
125
|
* applicationId: application.applicationId,
|
|
126
126
|
* serviceId: forwardingRule.name,
|
|
127
|
-
* discoveredService: catalog_service.
|
|
127
|
+
* discoveredService: catalog_service.name,
|
|
128
128
|
* });
|
|
129
129
|
* ```
|
|
130
130
|
* ### Apphub Service Full
|
|
@@ -218,7 +218,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
218
218
|
* location: "us-central1",
|
|
219
219
|
* applicationId: application.applicationId,
|
|
220
220
|
* serviceId: forwardingRule.name,
|
|
221
|
-
* discoveredService: catalog_service.
|
|
221
|
+
* discoveredService: catalog_service.name,
|
|
222
222
|
* displayName: "Example Service Full",
|
|
223
223
|
* description: "Register service for testing",
|
|
224
224
|
* attributes: {
|
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
* });
|
|
24
24
|
* const _default = new gcp.cloudrunv2.Service("default", {template: {
|
|
25
25
|
* containers: [{
|
|
26
|
-
* image: myImage.
|
|
26
|
+
* image: myImage.selfLink,
|
|
27
27
|
* }],
|
|
28
28
|
* }});
|
|
29
29
|
* ```
|
|
@@ -125,7 +125,7 @@ export interface GetDockerImageResult {
|
|
|
125
125
|
* });
|
|
126
126
|
* const _default = new gcp.cloudrunv2.Service("default", {template: {
|
|
127
127
|
* containers: [{
|
|
128
|
-
* image: myImage.
|
|
128
|
+
* image: myImage.selfLink,
|
|
129
129
|
* }],
|
|
130
130
|
* }});
|
|
131
131
|
* ```
|
|
@@ -52,7 +52,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
52
52
|
* });
|
|
53
53
|
* const _default = new gcp.cloudrunv2.Service("default", {template: {
|
|
54
54
|
* containers: [{
|
|
55
|
-
* image: myImage.
|
|
55
|
+
* image: myImage.selfLink,
|
|
56
56
|
* }],
|
|
57
57
|
* }});
|
|
58
58
|
* ```
|
|
@@ -91,7 +91,7 @@ exports.getDockerImage = getDockerImage;
|
|
|
91
91
|
* });
|
|
92
92
|
* const _default = new gcp.cloudrunv2.Service("default", {template: {
|
|
93
93
|
* containers: [{
|
|
94
|
-
* image: myImage.
|
|
94
|
+
* image: myImage.selfLink,
|
|
95
95
|
* }],
|
|
96
96
|
* }});
|
|
97
97
|
* ```
|
package/bigquery/routine.d.ts
CHANGED
|
@@ -84,6 +84,34 @@ import * as outputs from "../types/output";
|
|
|
84
84
|
* }),
|
|
85
85
|
* });
|
|
86
86
|
* ```
|
|
87
|
+
* ### Bigquery Routine Table Type
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as gcp from "@pulumi/gcp";
|
|
92
|
+
*
|
|
93
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
94
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
95
|
+
* datasetId: test.datasetId,
|
|
96
|
+
* routineId: "routine_id",
|
|
97
|
+
* routineType: "TABLE_VALUED_FUNCTION",
|
|
98
|
+
* language: "SQL",
|
|
99
|
+
* description: "Gets every row from a table.",
|
|
100
|
+
* definitionBody: "SELECT * FROM t1",
|
|
101
|
+
* arguments: [{
|
|
102
|
+
* name: "t1",
|
|
103
|
+
* argumentKind: "FIXED_TABLE",
|
|
104
|
+
* tableType: {
|
|
105
|
+
* columns: [{
|
|
106
|
+
* name: "year",
|
|
107
|
+
* type: JSON.stringify({
|
|
108
|
+
* typeKind: "INT64",
|
|
109
|
+
* }),
|
|
110
|
+
* }],
|
|
111
|
+
* },
|
|
112
|
+
* }],
|
|
113
|
+
* });
|
|
114
|
+
* ```
|
|
87
115
|
* ### Bigquery Routine Pyspark
|
|
88
116
|
*
|
|
89
117
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routine.d.ts","sourceRoot":"","sources":["../../bigquery/routine.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C
|
|
1
|
+
{"version":3,"file":"routine.d.ts","sourceRoot":"","sources":["../../bigquery/routine.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C;IAC/E;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAC/F;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;;;;;;;;;OAUG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;CAChF"}
|
package/bigquery/routine.js
CHANGED
|
@@ -111,6 +111,34 @@ const utilities = __importStar(require("../utilities"));
|
|
|
111
111
|
* }),
|
|
112
112
|
* });
|
|
113
113
|
* ```
|
|
114
|
+
* ### Bigquery Routine Table Type
|
|
115
|
+
*
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
118
|
+
* import * as gcp from "@pulumi/gcp";
|
|
119
|
+
*
|
|
120
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
121
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
122
|
+
* datasetId: test.datasetId,
|
|
123
|
+
* routineId: "routine_id",
|
|
124
|
+
* routineType: "TABLE_VALUED_FUNCTION",
|
|
125
|
+
* language: "SQL",
|
|
126
|
+
* description: "Gets every row from a table.",
|
|
127
|
+
* definitionBody: "SELECT * FROM t1",
|
|
128
|
+
* arguments: [{
|
|
129
|
+
* name: "t1",
|
|
130
|
+
* argumentKind: "FIXED_TABLE",
|
|
131
|
+
* tableType: {
|
|
132
|
+
* columns: [{
|
|
133
|
+
* name: "year",
|
|
134
|
+
* type: JSON.stringify({
|
|
135
|
+
* typeKind: "INT64",
|
|
136
|
+
* }),
|
|
137
|
+
* }],
|
|
138
|
+
* },
|
|
139
|
+
* }],
|
|
140
|
+
* });
|
|
141
|
+
* ```
|
|
114
142
|
* ### Bigquery Routine Pyspark
|
|
115
143
|
*
|
|
116
144
|
* ```typescript
|