@pulumi/gcp 7.17.0-alpha.1712402830 → 7.17.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/apphub/getApplication.d.ts +77 -0
- package/apphub/getApplication.js +57 -0
- package/apphub/getApplication.js.map +1 -0
- package/apphub/index.d.ts +3 -0
- package/apphub/index.js +4 -1
- package/apphub/index.js.map +1 -1
- package/applicationintegration/client.d.ts +205 -0
- package/applicationintegration/client.js +142 -0
- package/applicationintegration/client.js.map +1 -0
- package/applicationintegration/index.d.ts +3 -0
- package/applicationintegration/index.js +22 -0
- package/applicationintegration/index.js.map +1 -0
- package/bigquery/routine.d.ts +38 -0
- package/bigquery/routine.js +25 -0
- package/bigquery/routine.js.map +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/cloudquota/index.d.ts +3 -0
- package/cloudquota/index.js +16 -1
- package/cloudquota/index.js.map +1 -1
- package/cloudquota/squotaPreference.d.ts +255 -0
- package/cloudquota/squotaPreference.js +122 -0
- package/cloudquota/squotaPreference.js.map +1 -0
- package/compute/interconnectAttachment.d.ts +20 -0
- package/compute/interconnectAttachment.js +4 -0
- package/compute/interconnectAttachment.js.map +1 -1
- package/compute/networkEndpoint.d.ts +4 -0
- package/compute/networkEndpoint.js +4 -0
- package/compute/networkEndpoint.js.map +1 -1
- package/compute/networkEndpointList.d.ts +4 -0
- package/compute/networkEndpointList.js +4 -0
- package/compute/networkEndpointList.js.map +1 -1
- package/compute/regionBackendService.d.ts +8 -0
- package/compute/regionBackendService.js +2 -0
- package/compute/regionBackendService.js.map +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataflow/flexTemplateJob.d.ts +36 -48
- package/dataflow/flexTemplateJob.js.map +1 -1
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/getMetastoreService.d.ts +1 -0
- package/dataproc/getMetastoreService.js.map +1 -1
- package/dataproc/metastoreService.d.ts +50 -0
- package/dataproc/metastoreService.js +37 -0
- package/dataproc/metastoreService.js.map +1 -1
- package/firebase/appCheckServiceConfig.d.ts +1 -1
- package/firebase/appCheckServiceConfig.js +1 -1
- package/firestore/backupSchedule.d.ts +6 -6
- package/firestore/field.d.ts +2 -2
- package/firestore/field.js +2 -2
- package/gkehub/membershipBinding.d.ts +3 -3
- package/gkehub/membershipBinding.js +3 -3
- package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
- package/gkehub/membershipRbacRoleBinding.js +2 -2
- package/gkehub/namespace.d.ts +2 -2
- package/gkehub/namespace.js +2 -2
- package/gkehub/scopeRbacRoleBinding.d.ts +2 -2
- package/gkehub/scopeRbacRoleBinding.js +2 -2
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/kms/cryptoKey.d.ts +15 -0
- package/kms/cryptoKey.js +2 -0
- package/kms/cryptoKey.js.map +1 -1
- package/kms/cryptoKeyVersion.d.ts +15 -0
- package/kms/cryptoKeyVersion.js +2 -0
- package/kms/cryptoKeyVersion.js.map +1 -1
- package/kms/getKMSCryptoKey.d.ts +1 -0
- package/kms/getKMSCryptoKey.js.map +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +1 -1
- package/provider.d.ts +2 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/pubsub/subscription.d.ts +2 -2
- package/pubsub/subscription.js +2 -2
- package/types/input.d.ts +147 -0
- package/types/output.d.ts +237 -0
- package/vertex/aiDeploymentResourcePool.d.ts +176 -0
- package/vertex/aiDeploymentResourcePool.js +124 -0
- package/vertex/aiDeploymentResourcePool.js.map +1 -0
- package/vertex/index.d.ts +3 -0
- package/vertex/index.js +6 -1
- package/vertex/index.js.map +1 -1
- package/vpcaccess/connector.d.ts +33 -12
- package/vpcaccess/connector.js.map +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Application is a functional grouping of Services and Workloads that helps achieve a desired end-to-end business functionality. Services and Workloads are owned by the Application.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gcp from "@pulumi/gcp";
|
|
12
|
+
*
|
|
13
|
+
* const application = gcp.apphub.getApplication({
|
|
14
|
+
* project: "project-id",
|
|
15
|
+
* applicationId: "application",
|
|
16
|
+
* location: "location",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* <!--End PulumiCodeChooser -->
|
|
20
|
+
*/
|
|
21
|
+
export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getApplication.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetApplicationArgs {
|
|
26
|
+
applicationId: string;
|
|
27
|
+
location: string;
|
|
28
|
+
project: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getApplication.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetApplicationResult {
|
|
34
|
+
readonly applicationId: string;
|
|
35
|
+
readonly attributes: outputs.apphub.GetApplicationAttribute[];
|
|
36
|
+
readonly createTime: string;
|
|
37
|
+
readonly description: string;
|
|
38
|
+
readonly displayName: string;
|
|
39
|
+
/**
|
|
40
|
+
* The provider-assigned unique ID for this managed resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly location: string;
|
|
44
|
+
readonly name: string;
|
|
45
|
+
readonly project: string;
|
|
46
|
+
readonly scopes: outputs.apphub.GetApplicationScope[];
|
|
47
|
+
readonly state: string;
|
|
48
|
+
readonly uid: string;
|
|
49
|
+
readonly updateTime: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Application is a functional grouping of Services and Workloads that helps achieve a desired end-to-end business functionality. Services and Workloads are owned by the Application.
|
|
53
|
+
*
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as gcp from "@pulumi/gcp";
|
|
60
|
+
*
|
|
61
|
+
* const application = gcp.apphub.getApplication({
|
|
62
|
+
* project: "project-id",
|
|
63
|
+
* applicationId: "application",
|
|
64
|
+
* location: "location",
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
* <!--End PulumiCodeChooser -->
|
|
68
|
+
*/
|
|
69
|
+
export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApplicationResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getApplication.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetApplicationOutputArgs {
|
|
74
|
+
applicationId: pulumi.Input<string>;
|
|
75
|
+
location: pulumi.Input<string>;
|
|
76
|
+
project: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.getApplicationOutput = exports.getApplication = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Application is a functional grouping of Services and Workloads that helps achieve a desired end-to-end business functionality. Services and Workloads are owned by the Application.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as gcp from "@pulumi/gcp";
|
|
17
|
+
*
|
|
18
|
+
* const application = gcp.apphub.getApplication({
|
|
19
|
+
* project: "project-id",
|
|
20
|
+
* applicationId: "application",
|
|
21
|
+
* location: "location",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
25
|
+
*/
|
|
26
|
+
function getApplication(args, opts) {
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
+
return pulumi.runtime.invoke("gcp:apphub/getApplication:getApplication", {
|
|
29
|
+
"applicationId": args.applicationId,
|
|
30
|
+
"location": args.location,
|
|
31
|
+
"project": args.project,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getApplication = getApplication;
|
|
35
|
+
/**
|
|
36
|
+
* Application is a functional grouping of Services and Workloads that helps achieve a desired end-to-end business functionality. Services and Workloads are owned by the Application.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* <!--Start PulumiCodeChooser -->
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as gcp from "@pulumi/gcp";
|
|
44
|
+
*
|
|
45
|
+
* const application = gcp.apphub.getApplication({
|
|
46
|
+
* project: "project-id",
|
|
47
|
+
* applicationId: "application",
|
|
48
|
+
* location: "location",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
* <!--End PulumiCodeChooser -->
|
|
52
|
+
*/
|
|
53
|
+
function getApplicationOutput(args, opts) {
|
|
54
|
+
return pulumi.output(args).apply((a) => getApplication(a, opts));
|
|
55
|
+
}
|
|
56
|
+
exports.getApplicationOutput = getApplicationOutput;
|
|
57
|
+
//# sourceMappingURL=getApplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../../apphub/getApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAgCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/apphub/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { ApplicationArgs, ApplicationState } from "./application";
|
|
2
2
|
export type Application = import("./application").Application;
|
|
3
3
|
export declare const Application: typeof import("./application").Application;
|
|
4
|
+
export { GetApplicationArgs, GetApplicationResult, GetApplicationOutputArgs } from "./getApplication";
|
|
5
|
+
export declare const getApplication: typeof import("./getApplication").getApplication;
|
|
6
|
+
export declare const getApplicationOutput: typeof import("./getApplication").getApplicationOutput;
|
|
4
7
|
export { GetDiscoveredServiceArgs, GetDiscoveredServiceResult, GetDiscoveredServiceOutputArgs } from "./getDiscoveredService";
|
|
5
8
|
export declare const getDiscoveredService: typeof import("./getDiscoveredService").getDiscoveredService;
|
|
6
9
|
export declare const getDiscoveredServiceOutput: typeof import("./getDiscoveredService").getDiscoveredServiceOutput;
|
package/apphub/index.js
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
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.Workload = exports.ServiceProjectAttachment = exports.Service = exports.getDiscoveredWorkloadOutput = exports.getDiscoveredWorkload = exports.getDiscoveredServiceOutput = exports.getDiscoveredService = exports.Application = void 0;
|
|
5
|
+
exports.Workload = exports.ServiceProjectAttachment = exports.Service = exports.getDiscoveredWorkloadOutput = exports.getDiscoveredWorkload = exports.getDiscoveredServiceOutput = exports.getDiscoveredService = exports.getApplicationOutput = exports.getApplication = exports.Application = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Application = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
|
|
10
|
+
exports.getApplication = null;
|
|
11
|
+
exports.getApplicationOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => require("./getApplication"));
|
|
10
13
|
exports.getDiscoveredService = null;
|
|
11
14
|
exports.getDiscoveredServiceOutput = null;
|
|
12
15
|
utilities.lazyLoad(exports, ["getDiscoveredService", "getDiscoveredServiceOutput"], () => require("./getDiscoveredService"));
|
package/apphub/index.js.map
CHANGED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
+
/**
|
|
5
|
+
* Application Integration Client.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about Client, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Official Documentation](https://cloud.google.com/application-integration/docs/overview)
|
|
12
|
+
* * [Set up Application Integration](https://cloud.google.com/application-integration/docs/setup-application-integration)
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ### Integrations Client Basic
|
|
17
|
+
*
|
|
18
|
+
* <!--Start PulumiCodeChooser -->
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as gcp from "@pulumi/gcp";
|
|
22
|
+
*
|
|
23
|
+
* const example = new gcp.applicationintegration.Client("example", {location: "us-central1"});
|
|
24
|
+
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
26
|
+
* ### Integrations Client Advance
|
|
27
|
+
*
|
|
28
|
+
* <!--Start PulumiCodeChooser -->
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as gcp from "@pulumi/gcp";
|
|
32
|
+
*
|
|
33
|
+
* const testProject = gcp.organizations.getProject({});
|
|
34
|
+
* const keyring = new gcp.kms.KeyRing("keyring", {
|
|
35
|
+
* name: "my-keyring",
|
|
36
|
+
* location: "us-central1",
|
|
37
|
+
* });
|
|
38
|
+
* const cryptokey = new gcp.kms.CryptoKey("cryptokey", {
|
|
39
|
+
* name: "crypto-key-example",
|
|
40
|
+
* keyRing: keyring.id,
|
|
41
|
+
* rotationPeriod: "7776000s",
|
|
42
|
+
* });
|
|
43
|
+
* const testKey = new gcp.kms.CryptoKeyVersion("test_key", {cryptoKey: cryptokey.id});
|
|
44
|
+
* const example = new gcp.applicationintegration.Client("example", {
|
|
45
|
+
* location: "us-central1",
|
|
46
|
+
* createSampleWorkflows: true,
|
|
47
|
+
* provisionGmek: true,
|
|
48
|
+
* runAsServiceAccount: "radndom-service-account",
|
|
49
|
+
* cloudKmsConfig: {
|
|
50
|
+
* kmsLocation: "us-central1",
|
|
51
|
+
* kmsRing: keyring.id,
|
|
52
|
+
* key: cryptokey.id,
|
|
53
|
+
* keyVersion: testKey.id,
|
|
54
|
+
* kmsProjectId: testProject.then(testProject => testProject.id),
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
* <!--End PulumiCodeChooser -->
|
|
59
|
+
*
|
|
60
|
+
* ## Import
|
|
61
|
+
*
|
|
62
|
+
* Client can be imported using any of these accepted formats:
|
|
63
|
+
*
|
|
64
|
+
* * `projects/{{project}}/locations/{{location}}/clients`
|
|
65
|
+
*
|
|
66
|
+
* * `{{project}}/{{location}}`
|
|
67
|
+
*
|
|
68
|
+
* * `{{location}}`
|
|
69
|
+
*
|
|
70
|
+
* When using the `pulumi import` command, Client can be imported using one of the formats above. For example:
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import gcp:applicationintegration/client:Client default projects/{{project}}/locations/{{location}}/clients
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import gcp:applicationintegration/client:Client default {{project}}/{{location}}
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import gcp:applicationintegration/client:Client default {{location}}
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare class Client extends pulumi.CustomResource {
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing Client resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClientState, opts?: pulumi.CustomResourceOptions): Client;
|
|
95
|
+
/**
|
|
96
|
+
* Returns true if the given object is an instance of Client. This is designed to work even
|
|
97
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
98
|
+
*/
|
|
99
|
+
static isInstance(obj: any): obj is Client;
|
|
100
|
+
/**
|
|
101
|
+
* Cloud KMS config for AuthModule to encrypt/decrypt credentials.
|
|
102
|
+
* Structure is documented below.
|
|
103
|
+
*/
|
|
104
|
+
readonly cloudKmsConfig: pulumi.Output<outputs.applicationintegration.ClientCloudKmsConfig | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Indicates if sample workflow should be created along with provisioning.
|
|
107
|
+
*/
|
|
108
|
+
readonly createSampleWorkflows: pulumi.Output<boolean | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Location in which client needs to be provisioned.
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* - - -
|
|
114
|
+
*/
|
|
115
|
+
readonly location: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the project in which the resource belongs.
|
|
118
|
+
* If it is not provided, the provider project is used.
|
|
119
|
+
*/
|
|
120
|
+
readonly project: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Indicates provision with GMEK or CMEK.
|
|
123
|
+
*/
|
|
124
|
+
readonly provisionGmek: pulumi.Output<boolean | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* User input run-as service account, if empty, will bring up a new default service account.
|
|
127
|
+
*/
|
|
128
|
+
readonly runAsServiceAccount: pulumi.Output<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Create a Client resource with the given unique name, arguments, and options.
|
|
131
|
+
*
|
|
132
|
+
* @param name The _unique_ name of the resource.
|
|
133
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
134
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
135
|
+
*/
|
|
136
|
+
constructor(name: string, args: ClientArgs, opts?: pulumi.CustomResourceOptions);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Input properties used for looking up and filtering Client resources.
|
|
140
|
+
*/
|
|
141
|
+
export interface ClientState {
|
|
142
|
+
/**
|
|
143
|
+
* Cloud KMS config for AuthModule to encrypt/decrypt credentials.
|
|
144
|
+
* Structure is documented below.
|
|
145
|
+
*/
|
|
146
|
+
cloudKmsConfig?: pulumi.Input<inputs.applicationintegration.ClientCloudKmsConfig>;
|
|
147
|
+
/**
|
|
148
|
+
* Indicates if sample workflow should be created along with provisioning.
|
|
149
|
+
*/
|
|
150
|
+
createSampleWorkflows?: pulumi.Input<boolean>;
|
|
151
|
+
/**
|
|
152
|
+
* Location in which client needs to be provisioned.
|
|
153
|
+
*
|
|
154
|
+
*
|
|
155
|
+
* - - -
|
|
156
|
+
*/
|
|
157
|
+
location?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The ID of the project in which the resource belongs.
|
|
160
|
+
* If it is not provided, the provider project is used.
|
|
161
|
+
*/
|
|
162
|
+
project?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Indicates provision with GMEK or CMEK.
|
|
165
|
+
*/
|
|
166
|
+
provisionGmek?: pulumi.Input<boolean>;
|
|
167
|
+
/**
|
|
168
|
+
* User input run-as service account, if empty, will bring up a new default service account.
|
|
169
|
+
*/
|
|
170
|
+
runAsServiceAccount?: pulumi.Input<string>;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* The set of arguments for constructing a Client resource.
|
|
174
|
+
*/
|
|
175
|
+
export interface ClientArgs {
|
|
176
|
+
/**
|
|
177
|
+
* Cloud KMS config for AuthModule to encrypt/decrypt credentials.
|
|
178
|
+
* Structure is documented below.
|
|
179
|
+
*/
|
|
180
|
+
cloudKmsConfig?: pulumi.Input<inputs.applicationintegration.ClientCloudKmsConfig>;
|
|
181
|
+
/**
|
|
182
|
+
* Indicates if sample workflow should be created along with provisioning.
|
|
183
|
+
*/
|
|
184
|
+
createSampleWorkflows?: pulumi.Input<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Location in which client needs to be provisioned.
|
|
187
|
+
*
|
|
188
|
+
*
|
|
189
|
+
* - - -
|
|
190
|
+
*/
|
|
191
|
+
location: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The ID of the project in which the resource belongs.
|
|
194
|
+
* If it is not provided, the provider project is used.
|
|
195
|
+
*/
|
|
196
|
+
project?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Indicates provision with GMEK or CMEK.
|
|
199
|
+
*/
|
|
200
|
+
provisionGmek?: pulumi.Input<boolean>;
|
|
201
|
+
/**
|
|
202
|
+
* User input run-as service account, if empty, will bring up a new default service account.
|
|
203
|
+
*/
|
|
204
|
+
runAsServiceAccount?: pulumi.Input<string>;
|
|
205
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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.Client = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Application Integration Client.
|
|
10
|
+
*
|
|
11
|
+
* To get more information about Client, see:
|
|
12
|
+
*
|
|
13
|
+
* * [API documentation](https://cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients)
|
|
14
|
+
* * How-to Guides
|
|
15
|
+
* * [Official Documentation](https://cloud.google.com/application-integration/docs/overview)
|
|
16
|
+
* * [Set up Application Integration](https://cloud.google.com/application-integration/docs/setup-application-integration)
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* ### Integrations Client Basic
|
|
21
|
+
*
|
|
22
|
+
* <!--Start PulumiCodeChooser -->
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as gcp from "@pulumi/gcp";
|
|
26
|
+
*
|
|
27
|
+
* const example = new gcp.applicationintegration.Client("example", {location: "us-central1"});
|
|
28
|
+
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
30
|
+
* ### Integrations Client Advance
|
|
31
|
+
*
|
|
32
|
+
* <!--Start PulumiCodeChooser -->
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as gcp from "@pulumi/gcp";
|
|
36
|
+
*
|
|
37
|
+
* const testProject = gcp.organizations.getProject({});
|
|
38
|
+
* const keyring = new gcp.kms.KeyRing("keyring", {
|
|
39
|
+
* name: "my-keyring",
|
|
40
|
+
* location: "us-central1",
|
|
41
|
+
* });
|
|
42
|
+
* const cryptokey = new gcp.kms.CryptoKey("cryptokey", {
|
|
43
|
+
* name: "crypto-key-example",
|
|
44
|
+
* keyRing: keyring.id,
|
|
45
|
+
* rotationPeriod: "7776000s",
|
|
46
|
+
* });
|
|
47
|
+
* const testKey = new gcp.kms.CryptoKeyVersion("test_key", {cryptoKey: cryptokey.id});
|
|
48
|
+
* const example = new gcp.applicationintegration.Client("example", {
|
|
49
|
+
* location: "us-central1",
|
|
50
|
+
* createSampleWorkflows: true,
|
|
51
|
+
* provisionGmek: true,
|
|
52
|
+
* runAsServiceAccount: "radndom-service-account",
|
|
53
|
+
* cloudKmsConfig: {
|
|
54
|
+
* kmsLocation: "us-central1",
|
|
55
|
+
* kmsRing: keyring.id,
|
|
56
|
+
* key: cryptokey.id,
|
|
57
|
+
* keyVersion: testKey.id,
|
|
58
|
+
* kmsProjectId: testProject.then(testProject => testProject.id),
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
* <!--End PulumiCodeChooser -->
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* Client can be imported using any of these accepted formats:
|
|
67
|
+
*
|
|
68
|
+
* * `projects/{{project}}/locations/{{location}}/clients`
|
|
69
|
+
*
|
|
70
|
+
* * `{{project}}/{{location}}`
|
|
71
|
+
*
|
|
72
|
+
* * `{{location}}`
|
|
73
|
+
*
|
|
74
|
+
* When using the `pulumi import` command, Client can be imported using one of the formats above. For example:
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import gcp:applicationintegration/client:Client default projects/{{project}}/locations/{{location}}/clients
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import gcp:applicationintegration/client:Client default {{project}}/{{location}}
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* ```sh
|
|
85
|
+
* $ pulumi import gcp:applicationintegration/client:Client default {{location}}
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
class Client extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing Client resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name, id, state, opts) {
|
|
99
|
+
return new Client(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns true if the given object is an instance of Client. This is designed to work even
|
|
103
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
104
|
+
*/
|
|
105
|
+
static isInstance(obj) {
|
|
106
|
+
if (obj === undefined || obj === null) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return obj['__pulumiType'] === Client.__pulumiType;
|
|
110
|
+
}
|
|
111
|
+
constructor(name, argsOrState, opts) {
|
|
112
|
+
let resourceInputs = {};
|
|
113
|
+
opts = opts || {};
|
|
114
|
+
if (opts.id) {
|
|
115
|
+
const state = argsOrState;
|
|
116
|
+
resourceInputs["cloudKmsConfig"] = state ? state.cloudKmsConfig : undefined;
|
|
117
|
+
resourceInputs["createSampleWorkflows"] = state ? state.createSampleWorkflows : undefined;
|
|
118
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
119
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
120
|
+
resourceInputs["provisionGmek"] = state ? state.provisionGmek : undefined;
|
|
121
|
+
resourceInputs["runAsServiceAccount"] = state ? state.runAsServiceAccount : undefined;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
const args = argsOrState;
|
|
125
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'location'");
|
|
127
|
+
}
|
|
128
|
+
resourceInputs["cloudKmsConfig"] = args ? args.cloudKmsConfig : undefined;
|
|
129
|
+
resourceInputs["createSampleWorkflows"] = args ? args.createSampleWorkflows : undefined;
|
|
130
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
131
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
132
|
+
resourceInputs["provisionGmek"] = args ? args.provisionGmek : undefined;
|
|
133
|
+
resourceInputs["runAsServiceAccount"] = args ? args.runAsServiceAccount : undefined;
|
|
134
|
+
}
|
|
135
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
136
|
+
super(Client.__pulumiType, name, resourceInputs, opts);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.Client = Client;
|
|
140
|
+
/** @internal */
|
|
141
|
+
Client.__pulumiType = 'gcp:applicationintegration/client:Client';
|
|
142
|
+
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AC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3FL,wBA4FC;AA9EG,gBAAgB;AACO,mBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.Client = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Client = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Client"], () => require("./client"));
|
|
10
|
+
const _module = {
|
|
11
|
+
version: utilities.getVersion(),
|
|
12
|
+
construct: (name, type, urn) => {
|
|
13
|
+
switch (type) {
|
|
14
|
+
case "gcp:applicationintegration/client:Client":
|
|
15
|
+
return new exports.Client(name, undefined, { urn });
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`unknown resource type ${type}`);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
pulumi.runtime.registerResourceModule("gcp", "applicationintegration/client", _module);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../applicationintegration/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGnE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA"}
|
package/bigquery/routine.d.ts
CHANGED
|
@@ -197,6 +197,29 @@ import * as outputs from "../types/output";
|
|
|
197
197
|
* });
|
|
198
198
|
* ```
|
|
199
199
|
* <!--End PulumiCodeChooser -->
|
|
200
|
+
* ### Bigquery Routine Data Governance Type
|
|
201
|
+
*
|
|
202
|
+
* <!--Start PulumiCodeChooser -->
|
|
203
|
+
* ```typescript
|
|
204
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
205
|
+
* import * as gcp from "@pulumi/gcp";
|
|
206
|
+
*
|
|
207
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "tf_test_dataset_id_77884"});
|
|
208
|
+
* const customMaskingRoutine = new gcp.bigquery.Routine("custom_masking_routine", {
|
|
209
|
+
* datasetId: test.datasetId,
|
|
210
|
+
* routineId: "custom_masking_routine",
|
|
211
|
+
* routineType: "SCALAR_FUNCTION",
|
|
212
|
+
* language: "SQL",
|
|
213
|
+
* dataGovernanceType: "DATA_MASKING",
|
|
214
|
+
* definitionBody: "SAFE.REGEXP_REPLACE(ssn, '[0-9]', 'X')",
|
|
215
|
+
* arguments: [{
|
|
216
|
+
* name: "ssn",
|
|
217
|
+
* dataType: "{\"typeKind\" : \"STRING\"}",
|
|
218
|
+
* }],
|
|
219
|
+
* returnType: "{\"typeKind\" : \"STRING\"}",
|
|
220
|
+
* });
|
|
221
|
+
* ```
|
|
222
|
+
* <!--End PulumiCodeChooser -->
|
|
200
223
|
* ### Bigquery Routine Remote Function
|
|
201
224
|
*
|
|
202
225
|
* <!--Start PulumiCodeChooser -->
|
|
@@ -278,6 +301,11 @@ export declare class Routine extends pulumi.CustomResource {
|
|
|
278
301
|
* epoch.
|
|
279
302
|
*/
|
|
280
303
|
readonly creationTime: pulumi.Output<number>;
|
|
304
|
+
/**
|
|
305
|
+
* If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
|
306
|
+
* Possible values are: `DATA_MASKING`.
|
|
307
|
+
*/
|
|
308
|
+
readonly dataGovernanceType: pulumi.Output<string | undefined>;
|
|
281
309
|
/**
|
|
282
310
|
* The ID of the dataset containing this routine
|
|
283
311
|
*/
|
|
@@ -380,6 +408,11 @@ export interface RoutineState {
|
|
|
380
408
|
* epoch.
|
|
381
409
|
*/
|
|
382
410
|
creationTime?: pulumi.Input<number>;
|
|
411
|
+
/**
|
|
412
|
+
* If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
|
413
|
+
* Possible values are: `DATA_MASKING`.
|
|
414
|
+
*/
|
|
415
|
+
dataGovernanceType?: pulumi.Input<string>;
|
|
383
416
|
/**
|
|
384
417
|
* The ID of the dataset containing this routine
|
|
385
418
|
*/
|
|
@@ -469,6 +502,11 @@ export interface RoutineArgs {
|
|
|
469
502
|
* Structure is documented below.
|
|
470
503
|
*/
|
|
471
504
|
arguments?: pulumi.Input<pulumi.Input<inputs.bigquery.RoutineArgument>[]>;
|
|
505
|
+
/**
|
|
506
|
+
* If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
|
507
|
+
* Possible values are: `DATA_MASKING`.
|
|
508
|
+
*/
|
|
509
|
+
dataGovernanceType?: pulumi.Input<string>;
|
|
472
510
|
/**
|
|
473
511
|
* The ID of the dataset containing this routine
|
|
474
512
|
*/
|