@pulumi/gcp 5.21.0 → 5.22.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/apigateway/apiConfig.d.ts +23 -0
- package/apigateway/apiConfig.js +23 -0
- package/apigateway/apiConfig.js.map +1 -1
- package/apigateway/gateway.d.ts +29 -0
- package/apigateway/gateway.js +29 -0
- package/apigateway/gateway.js.map +1 -1
- package/appengine/getDefaultServiceAccount.js.map +1 -1
- package/bigquery/getDefaultServiceAccount.js.map +1 -1
- package/certificateauthority/certificate.d.ts +165 -0
- package/certificateauthority/certificate.js +165 -0
- package/certificateauthority/certificate.js.map +1 -1
- package/cloudbuild/trigger.d.ts +53 -0
- package/cloudbuild/trigger.js +31 -0
- package/cloudbuild/trigger.js.map +1 -1
- package/cloudidentity/groupMembership.d.ts +36 -0
- package/cloudidentity/groupMembership.js +36 -0
- package/cloudidentity/groupMembership.js.map +1 -1
- package/cloudrun/getLocations.js.map +1 -1
- package/compute/getAddress.js.map +1 -1
- package/compute/getCertificate.js.map +1 -1
- package/compute/getDefaultServiceAccount.js.map +1 -1
- package/compute/getForwardingRule.js.map +1 -1
- package/compute/getGlobalAddress.js.map +1 -1
- package/compute/getImage.js.map +1 -1
- package/compute/getInstanceSerialPort.js.map +1 -1
- package/compute/getLBIPRanges.js.map +1 -1
- package/compute/getNetblockIPRanges.js.map +1 -1
- package/compute/getNetwork.js.map +1 -1
- package/compute/getNetworkEndpointGroup.js.map +1 -1
- package/compute/getNodeTypes.js.map +1 -1
- package/compute/getRegionSslCertificate.js.map +1 -1
- package/compute/getRegions.js.map +1 -1
- package/compute/getSSLPolicy.js.map +1 -1
- package/compute/getVPNGateway.js.map +1 -1
- package/compute/getZones.js.map +1 -1
- package/compute/instanceFromMachineImage.d.ts +6 -6
- package/compute/instanceFromTemplate.d.ts +6 -6
- package/compute/networkPeeringRoutesConfig.d.ts +46 -0
- package/compute/networkPeeringRoutesConfig.js +46 -0
- package/compute/networkPeeringRoutesConfig.js.map +1 -1
- package/compute/serviceAttachment.d.ts +0 -1
- package/compute/serviceAttachment.js +0 -1
- package/compute/serviceAttachment.js.map +1 -1
- package/config/vars.d.ts +2 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/container/cluster.d.ts +30 -0
- package/container/cluster.js +4 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +2 -0
- package/container/getEngineVersions.js.map +1 -1
- package/container/getRegistryImage.js.map +1 -1
- package/container/getRegistryRepository.js.map +1 -1
- package/container/nodePool.d.ts +3 -3
- package/containeranalysis/occurence.d.ts +45 -0
- package/containeranalysis/occurence.js +45 -0
- package/containeranalysis/occurence.js.map +1 -1
- package/dataproc/workflowTemplate.d.ts +6 -0
- package/dataproc/workflowTemplate.js.map +1 -1
- package/dns/getManagedZone.js.map +1 -1
- package/firebase/getWebApp.js.map +1 -1
- package/firebase/getWebAppConfig.js.map +1 -1
- package/folder/organizationPolicy.d.ts +9 -3
- package/folder/organizationPolicy.js +9 -3
- package/folder/organizationPolicy.js.map +1 -1
- package/iam/getRule.js.map +1 -1
- package/iam/getWorkloadIdentityPool.js.map +1 -1
- package/iap/getClient.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kms/cryptoKey.d.ts +12 -0
- package/kms/cryptoKey.js +2 -0
- package/kms/cryptoKey.js.map +1 -1
- package/kms/getKMSCryptoKey.d.ts +1 -0
- package/kms/getKMSKeyRing.js.map +1 -1
- package/kms/getKMSSecret.js.map +1 -1
- package/kms/getKMSSecretAsymmetric.js.map +1 -1
- package/kms/getKMSSecretCiphertext.js.map +1 -1
- package/monitoring/getSecretVersion.js.map +1 -1
- package/monitoring/index.d.ts +1 -0
- package/monitoring/index.js +5 -0
- package/monitoring/index.js.map +1 -1
- package/monitoring/monitoredProject.d.ts +96 -0
- package/monitoring/monitoredProject.js +86 -0
- package/monitoring/monitoredProject.js.map +1 -0
- package/organizations/getActiveFolder.js.map +1 -1
- package/organizations/getBillingAccount.js.map +1 -1
- package/organizations/getClientConfig.js.map +1 -1
- package/organizations/getClientOpenIdUserInfo.js.map +1 -1
- package/organizations/getFolder.js.map +1 -1
- package/organizations/getOrganization.js.map +1 -1
- package/organizations/getProject.js.map +1 -1
- package/organizations/policy.d.ts +9 -4
- package/organizations/policy.js +9 -4
- package/organizations/policy.js.map +1 -1
- package/orgpolicy/index.d.ts +1 -0
- package/orgpolicy/index.js +33 -0
- package/orgpolicy/index.js.map +1 -0
- package/orgpolicy/policy.d.ts +173 -0
- package/orgpolicy/policy.js +158 -0
- package/orgpolicy/policy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/projects/organizationPolicy.d.ts +9 -4
- package/projects/organizationPolicy.js +9 -4
- package/projects/organizationPolicy.js.map +1 -1
- package/projects/service.d.ts +32 -16
- package/projects/service.js +11 -4
- package/projects/service.js.map +1 -1
- package/provider.d.ts +4 -0
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/runtimeconfig/getConfig.js.map +1 -1
- package/runtimeconfig/getVariable.js.map +1 -1
- package/secretmanager/getSecretVersion.js.map +1 -1
- package/serviceaccount/getAccount.js.map +1 -1
- package/serviceaccount/getAccountAccessToken.js.map +1 -1
- package/serviceaccount/getAccountIdToken.js.map +1 -1
- package/serviceaccount/getAccountKey.js.map +1 -1
- package/serviceusage/consumerQuotaOverride.d.ts +0 -49
- package/serviceusage/consumerQuotaOverride.js +0 -49
- package/serviceusage/consumerQuotaOverride.js.map +1 -1
- package/spanner/getInstance.js.map +1 -1
- package/sql/getBackupRun.js.map +1 -1
- package/storage/getObjectSignedUrl.js.map +1 -1
- package/storage/getProjectServiceAccount.js.map +1 -1
- package/storage/getTransferProjectServieAccount.js.map +1 -1
- package/tpu/getTensorflowVersions.js.map +1 -1
- package/types/input.d.ts +96 -0
- package/types/output.d.ts +115 -12
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
* ### Enforce_policy
|
|
6
|
+
* A test of an enforce orgpolicy policy for a project
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const basic = new gcp.organizations.Project("basic", {
|
|
12
|
+
* orgId: "123456789",
|
|
13
|
+
* projectId: "id-test",
|
|
14
|
+
* });
|
|
15
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
16
|
+
* parent: pulumi.interpolate`projects/${basic.name}`,
|
|
17
|
+
* spec: {
|
|
18
|
+
* rules: [{
|
|
19
|
+
* enforce: "FALSE",
|
|
20
|
+
* }],
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* ### Folder_policy
|
|
25
|
+
* A test of an orgpolicy policy for a folder
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as gcp from "@pulumi/gcp";
|
|
29
|
+
*
|
|
30
|
+
* const basic = new gcp.organizations.Folder("basic", {
|
|
31
|
+
* parent: "organizations/123456789",
|
|
32
|
+
* displayName: "folder",
|
|
33
|
+
* });
|
|
34
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
35
|
+
* parent: basic.name,
|
|
36
|
+
* spec: {
|
|
37
|
+
* inheritFromParent: true,
|
|
38
|
+
* rules: [{
|
|
39
|
+
* denyAll: "TRUE",
|
|
40
|
+
* }],
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
* ### Organization_policy
|
|
45
|
+
* A test of an orgpolicy policy for an organization
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as gcp from "@pulumi/gcp";
|
|
49
|
+
*
|
|
50
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
51
|
+
* parent: "organizations/123456789",
|
|
52
|
+
* spec: {
|
|
53
|
+
* reset: true,
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
* ### Project_policy
|
|
58
|
+
* A test of an orgpolicy policy for a project
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as gcp from "@pulumi/gcp";
|
|
62
|
+
*
|
|
63
|
+
* const basic = new gcp.organizations.Project("basic", {
|
|
64
|
+
* orgId: "123456789",
|
|
65
|
+
* projectId: "id-test",
|
|
66
|
+
* });
|
|
67
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
68
|
+
* parent: pulumi.interpolate`projects/${basic.name}`,
|
|
69
|
+
* spec: {
|
|
70
|
+
* rules: [
|
|
71
|
+
* {
|
|
72
|
+
* condition: {
|
|
73
|
+
* description: "A sample condition for the policy",
|
|
74
|
+
* expression: "resource.matchLabels('labelKeys/123', 'labelValues/345')",
|
|
75
|
+
* location: "sample-location.log",
|
|
76
|
+
* title: "sample-condition",
|
|
77
|
+
* },
|
|
78
|
+
* values: {
|
|
79
|
+
* allowedValues: ["projects/allowed-project"],
|
|
80
|
+
* deniedValues: ["projects/denied-project"],
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* {
|
|
84
|
+
* allowAll: "TRUE",
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* ## Import
|
|
92
|
+
*
|
|
93
|
+
* Policy can be imported using any of these accepted formats
|
|
94
|
+
*
|
|
95
|
+
* ```sh
|
|
96
|
+
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* ```sh
|
|
100
|
+
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/{{name}}
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare class Policy extends pulumi.CustomResource {
|
|
104
|
+
/**
|
|
105
|
+
* Get an existing Policy resource's state with the given name, ID, and optional extra
|
|
106
|
+
* properties used to qualify the lookup.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resulting resource.
|
|
109
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
110
|
+
* @param state Any extra arguments used during the lookup.
|
|
111
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
112
|
+
*/
|
|
113
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyState, opts?: pulumi.CustomResourceOptions): Policy;
|
|
114
|
+
/**
|
|
115
|
+
* Returns true if the given object is an instance of Policy. This is designed to work even
|
|
116
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
117
|
+
*/
|
|
118
|
+
static isInstance(obj: any): obj is Policy;
|
|
119
|
+
/**
|
|
120
|
+
* Immutable. The resource name of the Policy. Must be one of the following forms, where constraintName is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
|
|
121
|
+
*/
|
|
122
|
+
readonly name: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The parent of the resource.
|
|
125
|
+
*/
|
|
126
|
+
readonly parent: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Basic information about the Organization Policy.
|
|
129
|
+
*/
|
|
130
|
+
readonly spec: pulumi.Output<outputs.orgpolicy.PolicySpec | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Create a Policy resource with the given unique name, arguments, and options.
|
|
133
|
+
*
|
|
134
|
+
* @param name The _unique_ name of the resource.
|
|
135
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
136
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
137
|
+
*/
|
|
138
|
+
constructor(name: string, args: PolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Input properties used for looking up and filtering Policy resources.
|
|
142
|
+
*/
|
|
143
|
+
export interface PolicyState {
|
|
144
|
+
/**
|
|
145
|
+
* Immutable. The resource name of the Policy. Must be one of the following forms, where constraintName is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
|
|
146
|
+
*/
|
|
147
|
+
name?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The parent of the resource.
|
|
150
|
+
*/
|
|
151
|
+
parent?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Basic information about the Organization Policy.
|
|
154
|
+
*/
|
|
155
|
+
spec?: pulumi.Input<inputs.orgpolicy.PolicySpec>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The set of arguments for constructing a Policy resource.
|
|
159
|
+
*/
|
|
160
|
+
export interface PolicyArgs {
|
|
161
|
+
/**
|
|
162
|
+
* Immutable. The resource name of the Policy. Must be one of the following forms, where constraintName is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
|
|
163
|
+
*/
|
|
164
|
+
name?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The parent of the resource.
|
|
167
|
+
*/
|
|
168
|
+
parent: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Basic information about the Organization Policy.
|
|
171
|
+
*/
|
|
172
|
+
spec?: pulumi.Input<inputs.orgpolicy.PolicySpec>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
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.Policy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Enforce_policy
|
|
11
|
+
* A test of an enforce orgpolicy policy for a project
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gcp from "@pulumi/gcp";
|
|
15
|
+
*
|
|
16
|
+
* const basic = new gcp.organizations.Project("basic", {
|
|
17
|
+
* orgId: "123456789",
|
|
18
|
+
* projectId: "id-test",
|
|
19
|
+
* });
|
|
20
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
21
|
+
* parent: pulumi.interpolate`projects/${basic.name}`,
|
|
22
|
+
* spec: {
|
|
23
|
+
* rules: [{
|
|
24
|
+
* enforce: "FALSE",
|
|
25
|
+
* }],
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* ### Folder_policy
|
|
30
|
+
* A test of an orgpolicy policy for a folder
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as gcp from "@pulumi/gcp";
|
|
34
|
+
*
|
|
35
|
+
* const basic = new gcp.organizations.Folder("basic", {
|
|
36
|
+
* parent: "organizations/123456789",
|
|
37
|
+
* displayName: "folder",
|
|
38
|
+
* });
|
|
39
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
40
|
+
* parent: basic.name,
|
|
41
|
+
* spec: {
|
|
42
|
+
* inheritFromParent: true,
|
|
43
|
+
* rules: [{
|
|
44
|
+
* denyAll: "TRUE",
|
|
45
|
+
* }],
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
* ### Organization_policy
|
|
50
|
+
* A test of an orgpolicy policy for an organization
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as gcp from "@pulumi/gcp";
|
|
54
|
+
*
|
|
55
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
56
|
+
* parent: "organizations/123456789",
|
|
57
|
+
* spec: {
|
|
58
|
+
* reset: true,
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
* ### Project_policy
|
|
63
|
+
* A test of an orgpolicy policy for a project
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as gcp from "@pulumi/gcp";
|
|
67
|
+
*
|
|
68
|
+
* const basic = new gcp.organizations.Project("basic", {
|
|
69
|
+
* orgId: "123456789",
|
|
70
|
+
* projectId: "id-test",
|
|
71
|
+
* });
|
|
72
|
+
* const primary = new gcp.orgpolicy.Policy("primary", {
|
|
73
|
+
* parent: pulumi.interpolate`projects/${basic.name}`,
|
|
74
|
+
* spec: {
|
|
75
|
+
* rules: [
|
|
76
|
+
* {
|
|
77
|
+
* condition: {
|
|
78
|
+
* description: "A sample condition for the policy",
|
|
79
|
+
* expression: "resource.matchLabels('labelKeys/123', 'labelValues/345')",
|
|
80
|
+
* location: "sample-location.log",
|
|
81
|
+
* title: "sample-condition",
|
|
82
|
+
* },
|
|
83
|
+
* values: {
|
|
84
|
+
* allowedValues: ["projects/allowed-project"],
|
|
85
|
+
* deniedValues: ["projects/denied-project"],
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* allowAll: "TRUE",
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* ## Import
|
|
97
|
+
*
|
|
98
|
+
* Policy can be imported using any of these accepted formats
|
|
99
|
+
*
|
|
100
|
+
* ```sh
|
|
101
|
+
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* ```sh
|
|
105
|
+
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/{{name}}
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
class Policy extends pulumi.CustomResource {
|
|
109
|
+
constructor(name, argsOrState, opts) {
|
|
110
|
+
let inputs = {};
|
|
111
|
+
opts = opts || {};
|
|
112
|
+
if (opts.id) {
|
|
113
|
+
const state = argsOrState;
|
|
114
|
+
inputs["name"] = state ? state.name : undefined;
|
|
115
|
+
inputs["parent"] = state ? state.parent : undefined;
|
|
116
|
+
inputs["spec"] = state ? state.spec : undefined;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
const args = argsOrState;
|
|
120
|
+
if ((!args || args.parent === undefined) && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'parent'");
|
|
122
|
+
}
|
|
123
|
+
inputs["name"] = args ? args.name : undefined;
|
|
124
|
+
inputs["parent"] = args ? args.parent : undefined;
|
|
125
|
+
inputs["spec"] = args ? args.spec : undefined;
|
|
126
|
+
}
|
|
127
|
+
if (!opts.version) {
|
|
128
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
129
|
+
}
|
|
130
|
+
super(Policy.__pulumiType, name, inputs, opts);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Get an existing Policy resource's state with the given name, ID, and optional extra
|
|
134
|
+
* properties used to qualify the lookup.
|
|
135
|
+
*
|
|
136
|
+
* @param name The _unique_ name of the resulting resource.
|
|
137
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
138
|
+
* @param state Any extra arguments used during the lookup.
|
|
139
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
140
|
+
*/
|
|
141
|
+
static get(name, id, state, opts) {
|
|
142
|
+
return new Policy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Returns true if the given object is an instance of Policy. This is designed to work even
|
|
146
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
147
|
+
*/
|
|
148
|
+
static isInstance(obj) {
|
|
149
|
+
if (obj === undefined || obj === null) {
|
|
150
|
+
return false;
|
|
151
|
+
}
|
|
152
|
+
return obj['__pulumiType'] === Policy.__pulumiType;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.Policy = Policy;
|
|
156
|
+
/** @internal */
|
|
157
|
+
Policy.__pulumiType = 'gcp:orgpolicy/policy:Policy';
|
|
158
|
+
//# sourceMappingURL=policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../orgpolicy/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAiD7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,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A2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAuEC;AAzDG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.22.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource gcp v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v5.22.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "../types";
|
|
3
3
|
/**
|
|
4
|
-
* Allows management of Organization
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Allows management of Organization Policies for a Google Cloud Project.
|
|
5
|
+
*
|
|
6
|
+
* > **Warning:** This resource has been superseded by `gcp.orgpolicy.Policy`. `gcp.orgpolicy.Policy` uses Organization Policy API V2 instead of Cloud Resource Manager API V1 and it supports additional features such as tags and conditions.
|
|
7
|
+
*
|
|
8
|
+
* To get more information about Organization Policies, see:
|
|
9
|
+
*
|
|
10
|
+
* * [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setOrgPolicy)
|
|
11
|
+
* * How-to Guides
|
|
12
|
+
* * [Introduction to the Organization Policy Service](https://cloud.google.com/resource-manager/docs/organization-policy/overview)
|
|
8
13
|
*
|
|
9
14
|
* ## Example Usage
|
|
10
15
|
*
|
|
@@ -6,10 +6,15 @@ exports.OrganizationPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Allows management of Organization
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* Allows management of Organization Policies for a Google Cloud Project.
|
|
10
|
+
*
|
|
11
|
+
* > **Warning:** This resource has been superseded by `gcp.orgpolicy.Policy`. `gcp.orgpolicy.Policy` uses Organization Policy API V2 instead of Cloud Resource Manager API V1 and it supports additional features such as tags and conditions.
|
|
12
|
+
*
|
|
13
|
+
* To get more information about Organization Policies, see:
|
|
14
|
+
*
|
|
15
|
+
* * [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setOrgPolicy)
|
|
16
|
+
* * How-to Guides
|
|
17
|
+
* * [Introduction to the Organization Policy Service](https://cloud.google.com/resource-manager/docs/organization-policy/overview)
|
|
13
18
|
*
|
|
14
19
|
* ## Example Usage
|
|
15
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationPolicy.js","sourceRoot":"","sources":["../../projects/organizationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"organizationPolicy.js","sourceRoot":"","sources":["../../projects/organiz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AAC,OAAO,CAAC;SAC5C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAtGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAwGC;AA1FG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/projects/service.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Allows management of a single API service for
|
|
3
|
+
* Allows management of a single API service for a Google Cloud Platform project.
|
|
4
4
|
*
|
|
5
|
-
* For a list of services available, visit the
|
|
6
|
-
*
|
|
5
|
+
* For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library)
|
|
6
|
+
* or run `gcloud services list --available`.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* This resource requires the [Service Usage API](https://console.cloud.google.com/apis/library/serviceusage.googleapis.com)
|
|
9
|
+
* to use.
|
|
10
|
+
*
|
|
11
|
+
* To get more information about `gcp.projects.Service`, see:
|
|
12
|
+
*
|
|
13
|
+
* * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1/services)
|
|
14
|
+
* * How-to Guides
|
|
15
|
+
* * [Enabling and Disabling Services](https://cloud.google.com/service-usage/docs/enable-disable)
|
|
9
16
|
*
|
|
10
17
|
* ## Example Usage
|
|
11
18
|
*
|
|
@@ -50,16 +57,19 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
50
57
|
*/
|
|
51
58
|
static isInstance(obj: any): obj is Service;
|
|
52
59
|
/**
|
|
53
|
-
* If `true`, services that are enabled
|
|
54
|
-
*
|
|
60
|
+
* If `true`, services that are enabled
|
|
61
|
+
* and which depend on this service should also be disabled when this service is
|
|
62
|
+
* destroyed. If `false` or unset, an error will be generated if any enabled
|
|
63
|
+
* services depend on this service when destroying it.
|
|
55
64
|
*/
|
|
56
65
|
readonly disableDependentServices: pulumi.Output<boolean | undefined>;
|
|
57
66
|
/**
|
|
58
|
-
* If true, disable the service when the resource is destroyed.
|
|
67
|
+
* If true, disable the service when the resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently.
|
|
59
68
|
*/
|
|
60
69
|
readonly disableOnDestroy: pulumi.Output<boolean | undefined>;
|
|
61
70
|
/**
|
|
62
|
-
* The project ID. If not provided, the provider project
|
|
71
|
+
* The project ID. If not provided, the provider project
|
|
72
|
+
* is used.
|
|
63
73
|
*/
|
|
64
74
|
readonly project: pulumi.Output<string>;
|
|
65
75
|
/**
|
|
@@ -80,16 +90,19 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
80
90
|
*/
|
|
81
91
|
export interface ServiceState {
|
|
82
92
|
/**
|
|
83
|
-
* If `true`, services that are enabled
|
|
84
|
-
*
|
|
93
|
+
* If `true`, services that are enabled
|
|
94
|
+
* and which depend on this service should also be disabled when this service is
|
|
95
|
+
* destroyed. If `false` or unset, an error will be generated if any enabled
|
|
96
|
+
* services depend on this service when destroying it.
|
|
85
97
|
*/
|
|
86
98
|
disableDependentServices?: pulumi.Input<boolean>;
|
|
87
99
|
/**
|
|
88
|
-
* If true, disable the service when the resource is destroyed.
|
|
100
|
+
* If true, disable the service when the resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently.
|
|
89
101
|
*/
|
|
90
102
|
disableOnDestroy?: pulumi.Input<boolean>;
|
|
91
103
|
/**
|
|
92
|
-
* The project ID. If not provided, the provider project
|
|
104
|
+
* The project ID. If not provided, the provider project
|
|
105
|
+
* is used.
|
|
93
106
|
*/
|
|
94
107
|
project?: pulumi.Input<string>;
|
|
95
108
|
/**
|
|
@@ -102,16 +115,19 @@ export interface ServiceState {
|
|
|
102
115
|
*/
|
|
103
116
|
export interface ServiceArgs {
|
|
104
117
|
/**
|
|
105
|
-
* If `true`, services that are enabled
|
|
106
|
-
*
|
|
118
|
+
* If `true`, services that are enabled
|
|
119
|
+
* and which depend on this service should also be disabled when this service is
|
|
120
|
+
* destroyed. If `false` or unset, an error will be generated if any enabled
|
|
121
|
+
* services depend on this service when destroying it.
|
|
107
122
|
*/
|
|
108
123
|
disableDependentServices?: pulumi.Input<boolean>;
|
|
109
124
|
/**
|
|
110
|
-
* If true, disable the service when the resource is destroyed.
|
|
125
|
+
* If true, disable the service when the resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently.
|
|
111
126
|
*/
|
|
112
127
|
disableOnDestroy?: pulumi.Input<boolean>;
|
|
113
128
|
/**
|
|
114
|
-
* The project ID. If not provided, the provider project
|
|
129
|
+
* The project ID. If not provided, the provider project
|
|
130
|
+
* is used.
|
|
115
131
|
*/
|
|
116
132
|
project?: pulumi.Input<string>;
|
|
117
133
|
/**
|
package/projects/service.js
CHANGED
|
@@ -6,12 +6,19 @@ exports.Service = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Allows management of a single API service for
|
|
9
|
+
* Allows management of a single API service for a Google Cloud Platform project.
|
|
10
10
|
*
|
|
11
|
-
* For a list of services available, visit the
|
|
12
|
-
*
|
|
11
|
+
* For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library)
|
|
12
|
+
* or run `gcloud services list --available`.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
14
|
+
* This resource requires the [Service Usage API](https://console.cloud.google.com/apis/library/serviceusage.googleapis.com)
|
|
15
|
+
* to use.
|
|
16
|
+
*
|
|
17
|
+
* To get more information about `gcp.projects.Service`, see:
|
|
18
|
+
*
|
|
19
|
+
* * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1/services)
|
|
20
|
+
* * How-to Guides
|
|
21
|
+
* * [Enabling and Disabling Services](https://cloud.google.com/service-usage/docs/enable-disable)
|
|
15
22
|
*
|
|
16
23
|
* ## Example Usage
|
|
17
24
|
*
|
package/projects/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../projects/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../projects/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAyD9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IA/ED;;;;;;;;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;;AA1BL,0BAiFC;AAnEG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
36
36
|
readonly cloudFunctionsCustomEndpoint: pulumi.Output<string | undefined>;
|
|
37
37
|
readonly cloudIdentityCustomEndpoint: pulumi.Output<string | undefined>;
|
|
38
38
|
readonly cloudIotCustomEndpoint: pulumi.Output<string | undefined>;
|
|
39
|
+
readonly cloudResourceManagerCustomEndpoint: pulumi.Output<string | undefined>;
|
|
39
40
|
readonly cloudRunCustomEndpoint: pulumi.Output<string | undefined>;
|
|
40
41
|
readonly cloudSchedulerCustomEndpoint: pulumi.Output<string | undefined>;
|
|
41
42
|
readonly cloudTasksCustomEndpoint: pulumi.Output<string | undefined>;
|
|
@@ -82,6 +83,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
82
83
|
readonly networkManagementCustomEndpoint: pulumi.Output<string | undefined>;
|
|
83
84
|
readonly networkServicesCustomEndpoint: pulumi.Output<string | undefined>;
|
|
84
85
|
readonly notebooksCustomEndpoint: pulumi.Output<string | undefined>;
|
|
86
|
+
readonly orgPolicyCustomEndpoint: pulumi.Output<string | undefined>;
|
|
85
87
|
readonly osConfigCustomEndpoint: pulumi.Output<string | undefined>;
|
|
86
88
|
readonly osLoginCustomEndpoint: pulumi.Output<string | undefined>;
|
|
87
89
|
readonly privatecaCustomEndpoint: pulumi.Output<string | undefined>;
|
|
@@ -152,6 +154,7 @@ export interface ProviderArgs {
|
|
|
152
154
|
cloudFunctionsCustomEndpoint?: pulumi.Input<string>;
|
|
153
155
|
cloudIdentityCustomEndpoint?: pulumi.Input<string>;
|
|
154
156
|
cloudIotCustomEndpoint?: pulumi.Input<string>;
|
|
157
|
+
cloudResourceManagerCustomEndpoint?: pulumi.Input<string>;
|
|
155
158
|
cloudRunCustomEndpoint?: pulumi.Input<string>;
|
|
156
159
|
cloudSchedulerCustomEndpoint?: pulumi.Input<string>;
|
|
157
160
|
cloudTasksCustomEndpoint?: pulumi.Input<string>;
|
|
@@ -200,6 +203,7 @@ export interface ProviderArgs {
|
|
|
200
203
|
networkManagementCustomEndpoint?: pulumi.Input<string>;
|
|
201
204
|
networkServicesCustomEndpoint?: pulumi.Input<string>;
|
|
202
205
|
notebooksCustomEndpoint?: pulumi.Input<string>;
|
|
206
|
+
orgPolicyCustomEndpoint?: pulumi.Input<string>;
|
|
203
207
|
osConfigCustomEndpoint?: pulumi.Input<string>;
|
|
204
208
|
osLoginCustomEndpoint?: pulumi.Input<string>;
|
|
205
209
|
privatecaCustomEndpoint?: pulumi.Input<string>;
|
package/provider.js
CHANGED
|
@@ -49,6 +49,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
49
49
|
inputs["cloudFunctionsCustomEndpoint"] = args ? args.cloudFunctionsCustomEndpoint : undefined;
|
|
50
50
|
inputs["cloudIdentityCustomEndpoint"] = args ? args.cloudIdentityCustomEndpoint : undefined;
|
|
51
51
|
inputs["cloudIotCustomEndpoint"] = args ? args.cloudIotCustomEndpoint : undefined;
|
|
52
|
+
inputs["cloudResourceManagerCustomEndpoint"] = args ? args.cloudResourceManagerCustomEndpoint : undefined;
|
|
52
53
|
inputs["cloudRunCustomEndpoint"] = args ? args.cloudRunCustomEndpoint : undefined;
|
|
53
54
|
inputs["cloudSchedulerCustomEndpoint"] = args ? args.cloudSchedulerCustomEndpoint : undefined;
|
|
54
55
|
inputs["cloudTasksCustomEndpoint"] = args ? args.cloudTasksCustomEndpoint : undefined;
|
|
@@ -97,6 +98,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
97
98
|
inputs["networkManagementCustomEndpoint"] = args ? args.networkManagementCustomEndpoint : undefined;
|
|
98
99
|
inputs["networkServicesCustomEndpoint"] = args ? args.networkServicesCustomEndpoint : undefined;
|
|
99
100
|
inputs["notebooksCustomEndpoint"] = args ? args.notebooksCustomEndpoint : undefined;
|
|
101
|
+
inputs["orgPolicyCustomEndpoint"] = args ? args.orgPolicyCustomEndpoint : undefined;
|
|
100
102
|
inputs["osConfigCustomEndpoint"] = args ? args.osConfigCustomEndpoint : undefined;
|
|
101
103
|
inputs["osLoginCustomEndpoint"] = args ? args.osLoginCustomEndpoint : undefined;
|
|
102
104
|
inputs["privatecaCustomEndpoint"] = args ? args.privatecaCustomEndpoint : undefined;
|