@pulumi/gcp 6.52.0-alpha.1679450807 → 6.52.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/authorizedOrgsDesc.d.ts +246 -0
- package/accesscontextmanager/authorizedOrgsDesc.js +116 -0
- package/accesscontextmanager/authorizedOrgsDesc.js.map +1 -0
- package/accesscontextmanager/index.d.ts +3 -0
- package/accesscontextmanager/index.js +6 -1
- package/accesscontextmanager/index.js.map +1 -1
- package/alloydb/backup.d.ts +40 -0
- package/alloydb/backup.js +40 -0
- package/alloydb/backup.js.map +1 -1
- package/alloydb/cluster.d.ts +1 -1
- package/apigee/envKeystore.d.ts +92 -0
- package/apigee/envKeystore.js +77 -0
- package/apigee/envKeystore.js.map +1 -0
- package/apigee/envReferences.d.ts +120 -0
- package/apigee/envReferences.js +87 -0
- package/apigee/envReferences.js.map +1 -0
- package/apigee/flowhook.d.ts +129 -0
- package/apigee/flowhook.js +92 -0
- package/apigee/flowhook.js.map +1 -0
- package/apigee/index.d.ts +15 -0
- package/apigee/index.js +26 -1
- package/apigee/index.js.map +1 -1
- package/apigee/sharedflow.d.ts +147 -0
- package/apigee/sharedflow.js +90 -0
- package/apigee/sharedflow.js.map +1 -0
- package/apigee/sharedflowDeployment.d.ts +117 -0
- package/apigee/sharedflowDeployment.js +90 -0
- package/apigee/sharedflowDeployment.js.map +1 -0
- package/artifactregistry/getRepository.d.ts +3 -0
- package/artifactregistry/getRepository.js.map +1 -1
- package/artifactregistry/repository.d.ts +93 -0
- package/artifactregistry/repository.js +60 -0
- package/artifactregistry/repository.js.map +1 -1
- package/bigquery/capacityCommitment.d.ts +201 -0
- package/bigquery/capacityCommitment.js +109 -0
- package/bigquery/capacityCommitment.js.map +1 -0
- package/bigquery/index.d.ts +3 -0
- package/bigquery/index.js +6 -1
- package/bigquery/index.js.map +1 -1
- package/bigquery/job.d.ts +2 -0
- package/bigquery/job.js.map +1 -1
- package/certificateauthority/authority.d.ts +11 -0
- package/certificateauthority/authority.js +11 -0
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +55 -28
- package/certificateauthority/certificate.js +55 -28
- package/certificateauthority/certificate.js.map +1 -1
- package/cloudbuildv2/connectionIAMBinding.d.ts +1 -1
- package/cloudbuildv2/connectionIAMBinding.js +1 -1
- package/cloudbuildv2/connectionIAMMember.d.ts +1 -1
- package/cloudbuildv2/connectionIAMMember.js +1 -1
- package/cloudbuildv2/connectionIAMPolicy.d.ts +1 -1
- package/cloudbuildv2/connectionIAMPolicy.js +1 -1
- package/cloudrun/domainMapping.d.ts +2 -0
- package/cloudrun/domainMapping.js.map +1 -1
- package/cloudrun/service.d.ts +2 -0
- package/cloudrun/service.js.map +1 -1
- package/cloudrunv2/service.d.ts +2 -0
- package/cloudrunv2/service.js.map +1 -1
- package/compute/address.d.ts +24 -27
- package/compute/address.js.map +1 -1
- package/compute/interconnectAttachment.d.ts +66 -69
- package/compute/interconnectAttachment.js.map +1 -1
- package/compute/router.d.ts +6 -9
- package/compute/router.js.map +1 -1
- package/datacatalog/tagTemplate.d.ts +2 -0
- package/datacatalog/tagTemplate.js.map +1 -1
- package/datafusion/instance.d.ts +30 -15
- package/datafusion/instance.js +6 -0
- package/datafusion/instance.js.map +1 -1
- package/dataproc/metastoreService.d.ts +2 -0
- package/dataproc/metastoreService.js.map +1 -1
- package/datastream/stream.d.ts +1 -1
- package/datastream/stream.js +1 -1
- package/diagflow/cxFlow.d.ts +4 -0
- package/diagflow/cxFlow.js.map +1 -1
- package/diagflow/cxPage.d.ts +4 -0
- package/diagflow/cxPage.js.map +1 -1
- package/firebase/getAndroidApp.d.ts +11 -1
- package/firebase/getAndroidApp.js +1 -0
- package/firebase/getAndroidApp.js.map +1 -1
- package/firebase/getAppleApp.d.ts +11 -1
- package/firebase/getAppleApp.js +1 -0
- package/firebase/getAppleApp.js.map +1 -1
- package/firebase/getWebApp.d.ts +11 -1
- package/firebase/getWebApp.js +1 -0
- package/firebase/getWebApp.js.map +1 -1
- package/firestore/database.d.ts +9 -0
- package/firestore/database.js +9 -0
- package/firestore/database.js.map +1 -1
- package/healthcare/fhirStore.d.ts +0 -16
- package/healthcare/fhirStore.js +0 -16
- package/healthcare/fhirStore.js.map +1 -1
- package/memcache/instance.d.ts +2 -0
- package/memcache/instance.js.map +1 -1
- package/monitoring/alertPolicy.d.ts +2 -0
- package/monitoring/alertPolicy.js.map +1 -1
- package/osconfig/patchDeployment.d.ts +2 -0
- package/osconfig/patchDeployment.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pubsub/subscription.d.ts +1 -1
- package/pubsub/subscription.js +1 -1
- package/redis/instance.d.ts +2 -0
- package/redis/instance.js.map +1 -1
- package/securitycenter/instanceIamBinding.d.ts +4 -0
- package/securitycenter/instanceIamBinding.js +4 -0
- package/securitycenter/instanceIamBinding.js.map +1 -1
- package/securitycenter/instanceIamMember.d.ts +4 -0
- package/securitycenter/instanceIamMember.js +4 -0
- package/securitycenter/instanceIamMember.js.map +1 -1
- package/securitycenter/instanceIamPolicy.d.ts +4 -0
- package/securitycenter/instanceIamPolicy.js +4 -0
- package/securitycenter/instanceIamPolicy.js.map +1 -1
- package/serviceusage/consumerQuotaOverride.d.ts +1 -1
- package/serviceusage/consumerQuotaOverride.js +1 -1
- package/types/input.d.ts +725 -11
- package/types/output.d.ts +767 -12
- package/vertex/aiEndpoint.d.ts +2 -0
- package/vertex/aiEndpoint.js.map +1 -1
- package/workstations/index.d.ts +3 -0
- package/workstations/index.js +6 -1
- package/workstations/index.js.map +1 -1
- package/workstations/workstation.d.ts +269 -0
- package/workstations/workstation.js +163 -0
- package/workstations/workstation.js.map +1 -0
- package/workstations/workstationCluster.d.ts +0 -4
- package/workstations/workstationCluster.js +0 -4
- package/workstations/workstationCluster.js.map +1 -1
- package/workstations/workstationConfig.d.ts +2 -6
- package/workstations/workstationConfig.js +2 -6
- package/workstations/workstationConfig.js.map +1 -1
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* An authorized organizations description describes a list of organizations
|
|
4
|
+
* (1) that have been authorized to use certain asset (for example, device) data
|
|
5
|
+
* owned by different organizations at the enforcement points, or (2) with certain
|
|
6
|
+
* asset (for example, device) have been authorized to access the resources in
|
|
7
|
+
* another organization at the enforcement points.
|
|
8
|
+
*
|
|
9
|
+
* To get more information about AuthorizedOrgsDesc, see:
|
|
10
|
+
*
|
|
11
|
+
* * [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.authorizedOrgsDescs)
|
|
12
|
+
* * How-to Guides
|
|
13
|
+
* * [gcloud docs](https://cloud.google.com/beyondcorp-enterprise/docs/cross-org-authorization)
|
|
14
|
+
*
|
|
15
|
+
* > **Warning:** If you are using User ADCs (Application Default Credentials) with this resource,
|
|
16
|
+
* you must specify a `billingProject` and set `userProjectOverride` to true
|
|
17
|
+
* in the provider configuration. Otherwise the ACM API will return a 403 error.
|
|
18
|
+
* Your account must have the `serviceusage.services.use` permission on the
|
|
19
|
+
* `billingProject` you defined.
|
|
20
|
+
*
|
|
21
|
+
* ## Example Usage
|
|
22
|
+
* ### Access Context Manager Authorized Orgs Desc Basic
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as gcp from "@pulumi/gcp";
|
|
27
|
+
*
|
|
28
|
+
* const test_access = new gcp.accesscontextmanager.AccessPolicy("test-access", {
|
|
29
|
+
* parent: "organizations/",
|
|
30
|
+
* title: "my policy",
|
|
31
|
+
* });
|
|
32
|
+
* const authorized_orgs_desc = new gcp.accesscontextmanager.AuthorizedOrgsDesc("authorized-orgs-desc", {
|
|
33
|
+
* assetType: "ASSET_TYPE_CREDENTIAL_STRENGTH",
|
|
34
|
+
* authorizationDirection: "AUTHORIZATION_DIRECTION_TO",
|
|
35
|
+
* authorizationType: "AUTHORIZATION_TYPE_TRUST",
|
|
36
|
+
* orgs: [
|
|
37
|
+
* "organizations/12345",
|
|
38
|
+
* "organizations/98765",
|
|
39
|
+
* ],
|
|
40
|
+
* parent: pulumi.interpolate`accessPolicies/${test_access.name}`,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* AuthorizedOrgsDesc can be imported using any of these accepted formats
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import gcp:accesscontextmanager/authorizedOrgsDesc:AuthorizedOrgsDesc default {{name}}
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class AuthorizedOrgsDesc extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing AuthorizedOrgsDesc resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthorizedOrgsDescState, opts?: pulumi.CustomResourceOptions): AuthorizedOrgsDesc;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of AuthorizedOrgsDesc. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is AuthorizedOrgsDesc;
|
|
68
|
+
/**
|
|
69
|
+
* The type of entities that need to use the authorization relationship during
|
|
70
|
+
* evaluation, such as a device. Valid values are "ASSET_TYPE_DEVICE" and
|
|
71
|
+
* "ASSET_TYPE_CREDENTIAL_STRENGTH".
|
|
72
|
+
* Possible values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.
|
|
73
|
+
*/
|
|
74
|
+
readonly assetType: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The direction of the authorization relationship between this organization
|
|
77
|
+
* and the organizations listed in the "orgs" field. The valid values for this
|
|
78
|
+
* field include the following:
|
|
79
|
+
* AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic
|
|
80
|
+
* in the organizations listed in the `orgs` field.
|
|
81
|
+
* AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the `orgs`
|
|
82
|
+
* field to evaluate the traffic in this organization.
|
|
83
|
+
* For the authorization relationship to take effect, all of the organizations
|
|
84
|
+
* must authorize and specify the appropriate relationship direction. For
|
|
85
|
+
* example, if organization A authorized organization B and C to evaluate its
|
|
86
|
+
* traffic, by specifying "AUTHORIZATION_DIRECTION_TO" as the authorization
|
|
87
|
+
* direction, organizations B and C must specify
|
|
88
|
+
* "AUTHORIZATION_DIRECTION_FROM" as the authorization direction in their
|
|
89
|
+
* "AuthorizedOrgsDesc" resource.
|
|
90
|
+
* Possible values are `AUTHORIZATION_DIRECTION_TO` and `AUTHORIZATION_DIRECTION_FROM`.
|
|
91
|
+
*/
|
|
92
|
+
readonly authorizationDirection: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* A granular control type for authorization levels. Valid value is "AUTHORIZATION_TYPE_TRUST".
|
|
95
|
+
* Possible values are `AUTHORIZATION_TYPE_TRUST`.
|
|
96
|
+
*/
|
|
97
|
+
readonly authorizationType: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Time the AuthorizedOrgsDesc was created in UTC.
|
|
100
|
+
*/
|
|
101
|
+
readonly createTime: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Resource name for the `AuthorizedOrgsDesc`. Format:
|
|
104
|
+
* `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`.
|
|
105
|
+
* The `authorizedOrgsDesc` component must begin with a letter, followed by
|
|
106
|
+
* alphanumeric characters or `_`.
|
|
107
|
+
* After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.
|
|
108
|
+
*/
|
|
109
|
+
readonly name: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The list of organization ids in this AuthorizedOrgsDesc.
|
|
112
|
+
* Format: `organizations/<org_number>`
|
|
113
|
+
* Example: `organizations/123456`
|
|
114
|
+
*/
|
|
115
|
+
readonly orgs: pulumi.Output<string[] | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Required. Resource name for the access policy which owns this `AuthorizedOrgsDesc`.
|
|
118
|
+
*/
|
|
119
|
+
readonly parent: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Time the AuthorizedOrgsDesc was updated in UTC.
|
|
122
|
+
*/
|
|
123
|
+
readonly updateTime: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Create a AuthorizedOrgsDesc resource with the given unique name, arguments, and options.
|
|
126
|
+
*
|
|
127
|
+
* @param name The _unique_ name of the resource.
|
|
128
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
129
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
130
|
+
*/
|
|
131
|
+
constructor(name: string, args: AuthorizedOrgsDescArgs, opts?: pulumi.CustomResourceOptions);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Input properties used for looking up and filtering AuthorizedOrgsDesc resources.
|
|
135
|
+
*/
|
|
136
|
+
export interface AuthorizedOrgsDescState {
|
|
137
|
+
/**
|
|
138
|
+
* The type of entities that need to use the authorization relationship during
|
|
139
|
+
* evaluation, such as a device. Valid values are "ASSET_TYPE_DEVICE" and
|
|
140
|
+
* "ASSET_TYPE_CREDENTIAL_STRENGTH".
|
|
141
|
+
* Possible values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.
|
|
142
|
+
*/
|
|
143
|
+
assetType?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The direction of the authorization relationship between this organization
|
|
146
|
+
* and the organizations listed in the "orgs" field. The valid values for this
|
|
147
|
+
* field include the following:
|
|
148
|
+
* AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic
|
|
149
|
+
* in the organizations listed in the `orgs` field.
|
|
150
|
+
* AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the `orgs`
|
|
151
|
+
* field to evaluate the traffic in this organization.
|
|
152
|
+
* For the authorization relationship to take effect, all of the organizations
|
|
153
|
+
* must authorize and specify the appropriate relationship direction. For
|
|
154
|
+
* example, if organization A authorized organization B and C to evaluate its
|
|
155
|
+
* traffic, by specifying "AUTHORIZATION_DIRECTION_TO" as the authorization
|
|
156
|
+
* direction, organizations B and C must specify
|
|
157
|
+
* "AUTHORIZATION_DIRECTION_FROM" as the authorization direction in their
|
|
158
|
+
* "AuthorizedOrgsDesc" resource.
|
|
159
|
+
* Possible values are `AUTHORIZATION_DIRECTION_TO` and `AUTHORIZATION_DIRECTION_FROM`.
|
|
160
|
+
*/
|
|
161
|
+
authorizationDirection?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* A granular control type for authorization levels. Valid value is "AUTHORIZATION_TYPE_TRUST".
|
|
164
|
+
* Possible values are `AUTHORIZATION_TYPE_TRUST`.
|
|
165
|
+
*/
|
|
166
|
+
authorizationType?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Time the AuthorizedOrgsDesc was created in UTC.
|
|
169
|
+
*/
|
|
170
|
+
createTime?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Resource name for the `AuthorizedOrgsDesc`. Format:
|
|
173
|
+
* `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`.
|
|
174
|
+
* The `authorizedOrgsDesc` component must begin with a letter, followed by
|
|
175
|
+
* alphanumeric characters or `_`.
|
|
176
|
+
* After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.
|
|
177
|
+
*/
|
|
178
|
+
name?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The list of organization ids in this AuthorizedOrgsDesc.
|
|
181
|
+
* Format: `organizations/<org_number>`
|
|
182
|
+
* Example: `organizations/123456`
|
|
183
|
+
*/
|
|
184
|
+
orgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Required. Resource name for the access policy which owns this `AuthorizedOrgsDesc`.
|
|
187
|
+
*/
|
|
188
|
+
parent?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Time the AuthorizedOrgsDesc was updated in UTC.
|
|
191
|
+
*/
|
|
192
|
+
updateTime?: pulumi.Input<string>;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The set of arguments for constructing a AuthorizedOrgsDesc resource.
|
|
196
|
+
*/
|
|
197
|
+
export interface AuthorizedOrgsDescArgs {
|
|
198
|
+
/**
|
|
199
|
+
* The type of entities that need to use the authorization relationship during
|
|
200
|
+
* evaluation, such as a device. Valid values are "ASSET_TYPE_DEVICE" and
|
|
201
|
+
* "ASSET_TYPE_CREDENTIAL_STRENGTH".
|
|
202
|
+
* Possible values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.
|
|
203
|
+
*/
|
|
204
|
+
assetType?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The direction of the authorization relationship between this organization
|
|
207
|
+
* and the organizations listed in the "orgs" field. The valid values for this
|
|
208
|
+
* field include the following:
|
|
209
|
+
* AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic
|
|
210
|
+
* in the organizations listed in the `orgs` field.
|
|
211
|
+
* AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the `orgs`
|
|
212
|
+
* field to evaluate the traffic in this organization.
|
|
213
|
+
* For the authorization relationship to take effect, all of the organizations
|
|
214
|
+
* must authorize and specify the appropriate relationship direction. For
|
|
215
|
+
* example, if organization A authorized organization B and C to evaluate its
|
|
216
|
+
* traffic, by specifying "AUTHORIZATION_DIRECTION_TO" as the authorization
|
|
217
|
+
* direction, organizations B and C must specify
|
|
218
|
+
* "AUTHORIZATION_DIRECTION_FROM" as the authorization direction in their
|
|
219
|
+
* "AuthorizedOrgsDesc" resource.
|
|
220
|
+
* Possible values are `AUTHORIZATION_DIRECTION_TO` and `AUTHORIZATION_DIRECTION_FROM`.
|
|
221
|
+
*/
|
|
222
|
+
authorizationDirection?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* A granular control type for authorization levels. Valid value is "AUTHORIZATION_TYPE_TRUST".
|
|
225
|
+
* Possible values are `AUTHORIZATION_TYPE_TRUST`.
|
|
226
|
+
*/
|
|
227
|
+
authorizationType?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Resource name for the `AuthorizedOrgsDesc`. Format:
|
|
230
|
+
* `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`.
|
|
231
|
+
* The `authorizedOrgsDesc` component must begin with a letter, followed by
|
|
232
|
+
* alphanumeric characters or `_`.
|
|
233
|
+
* After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.
|
|
234
|
+
*/
|
|
235
|
+
name?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* The list of organization ids in this AuthorizedOrgsDesc.
|
|
238
|
+
* Format: `organizations/<org_number>`
|
|
239
|
+
* Example: `organizations/123456`
|
|
240
|
+
*/
|
|
241
|
+
orgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
242
|
+
/**
|
|
243
|
+
* Required. Resource name for the access policy which owns this `AuthorizedOrgsDesc`.
|
|
244
|
+
*/
|
|
245
|
+
parent: pulumi.Input<string>;
|
|
246
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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.AuthorizedOrgsDesc = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* An authorized organizations description describes a list of organizations
|
|
10
|
+
* (1) that have been authorized to use certain asset (for example, device) data
|
|
11
|
+
* owned by different organizations at the enforcement points, or (2) with certain
|
|
12
|
+
* asset (for example, device) have been authorized to access the resources in
|
|
13
|
+
* another organization at the enforcement points.
|
|
14
|
+
*
|
|
15
|
+
* To get more information about AuthorizedOrgsDesc, see:
|
|
16
|
+
*
|
|
17
|
+
* * [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.authorizedOrgsDescs)
|
|
18
|
+
* * How-to Guides
|
|
19
|
+
* * [gcloud docs](https://cloud.google.com/beyondcorp-enterprise/docs/cross-org-authorization)
|
|
20
|
+
*
|
|
21
|
+
* > **Warning:** If you are using User ADCs (Application Default Credentials) with this resource,
|
|
22
|
+
* you must specify a `billingProject` and set `userProjectOverride` to true
|
|
23
|
+
* in the provider configuration. Otherwise the ACM API will return a 403 error.
|
|
24
|
+
* Your account must have the `serviceusage.services.use` permission on the
|
|
25
|
+
* `billingProject` you defined.
|
|
26
|
+
*
|
|
27
|
+
* ## Example Usage
|
|
28
|
+
* ### Access Context Manager Authorized Orgs Desc Basic
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as gcp from "@pulumi/gcp";
|
|
33
|
+
*
|
|
34
|
+
* const test_access = new gcp.accesscontextmanager.AccessPolicy("test-access", {
|
|
35
|
+
* parent: "organizations/",
|
|
36
|
+
* title: "my policy",
|
|
37
|
+
* });
|
|
38
|
+
* const authorized_orgs_desc = new gcp.accesscontextmanager.AuthorizedOrgsDesc("authorized-orgs-desc", {
|
|
39
|
+
* assetType: "ASSET_TYPE_CREDENTIAL_STRENGTH",
|
|
40
|
+
* authorizationDirection: "AUTHORIZATION_DIRECTION_TO",
|
|
41
|
+
* authorizationType: "AUTHORIZATION_TYPE_TRUST",
|
|
42
|
+
* orgs: [
|
|
43
|
+
* "organizations/12345",
|
|
44
|
+
* "organizations/98765",
|
|
45
|
+
* ],
|
|
46
|
+
* parent: pulumi.interpolate`accessPolicies/${test_access.name}`,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* AuthorizedOrgsDesc can be imported using any of these accepted formats
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import gcp:accesscontextmanager/authorizedOrgsDesc:AuthorizedOrgsDesc default {{name}}
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
class AuthorizedOrgsDesc extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing AuthorizedOrgsDesc resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name, id, state, opts) {
|
|
69
|
+
return new AuthorizedOrgsDesc(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of AuthorizedOrgsDesc. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj) {
|
|
76
|
+
if (obj === undefined || obj === null) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return obj['__pulumiType'] === AuthorizedOrgsDesc.__pulumiType;
|
|
80
|
+
}
|
|
81
|
+
constructor(name, argsOrState, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (opts.id) {
|
|
85
|
+
const state = argsOrState;
|
|
86
|
+
resourceInputs["assetType"] = state ? state.assetType : undefined;
|
|
87
|
+
resourceInputs["authorizationDirection"] = state ? state.authorizationDirection : undefined;
|
|
88
|
+
resourceInputs["authorizationType"] = state ? state.authorizationType : undefined;
|
|
89
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
90
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
91
|
+
resourceInputs["orgs"] = state ? state.orgs : undefined;
|
|
92
|
+
resourceInputs["parent"] = state ? state.parent : undefined;
|
|
93
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const args = argsOrState;
|
|
97
|
+
if ((!args || args.parent === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'parent'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["assetType"] = args ? args.assetType : undefined;
|
|
101
|
+
resourceInputs["authorizationDirection"] = args ? args.authorizationDirection : undefined;
|
|
102
|
+
resourceInputs["authorizationType"] = args ? args.authorizationType : undefined;
|
|
103
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
104
|
+
resourceInputs["orgs"] = args ? args.orgs : undefined;
|
|
105
|
+
resourceInputs["parent"] = args ? args.parent : undefined;
|
|
106
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(AuthorizedOrgsDesc.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.AuthorizedOrgsDesc = AuthorizedOrgsDesc;
|
|
114
|
+
/** @internal */
|
|
115
|
+
AuthorizedOrgsDesc.__pulumiType = 'gcp:accesscontextmanager/authorizedOrgsDesc:AuthorizedOrgsDesc';
|
|
116
|
+
//# sourceMappingURL=authorizedOrgsDesc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizedOrgsDesc.js","sourceRoot":"","sources":["../../accesscontextmanager/authorizedOrgsDesc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;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;IAmED,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG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,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA1HL,gDA2HC;AA7GG,gBAAgB;AACO,+BAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -19,6 +19,9 @@ export declare const AccessPolicyIamMember: typeof import("./accessPolicyIamMemb
|
|
|
19
19
|
export { AccessPolicyIamPolicyArgs, AccessPolicyIamPolicyState } from "./accessPolicyIamPolicy";
|
|
20
20
|
export type AccessPolicyIamPolicy = import("./accessPolicyIamPolicy").AccessPolicyIamPolicy;
|
|
21
21
|
export declare const AccessPolicyIamPolicy: typeof import("./accessPolicyIamPolicy").AccessPolicyIamPolicy;
|
|
22
|
+
export { AuthorizedOrgsDescArgs, AuthorizedOrgsDescState } from "./authorizedOrgsDesc";
|
|
23
|
+
export type AuthorizedOrgsDesc = import("./authorizedOrgsDesc").AuthorizedOrgsDesc;
|
|
24
|
+
export declare const AuthorizedOrgsDesc: typeof import("./authorizedOrgsDesc").AuthorizedOrgsDesc;
|
|
22
25
|
export { GcpUserAccessBindingArgs, GcpUserAccessBindingState } from "./gcpUserAccessBinding";
|
|
23
26
|
export type GcpUserAccessBinding = import("./gcpUserAccessBinding").GcpUserAccessBinding;
|
|
24
27
|
export declare const GcpUserAccessBinding: typeof import("./gcpUserAccessBinding").GcpUserAccessBinding;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ServicePerimeters = exports.ServicePerimeterResource = exports.ServicePerimeter = exports.GcpUserAccessBinding = exports.AccessPolicyIamPolicy = exports.AccessPolicyIamMember = exports.AccessPolicyIamBinding = exports.AccessPolicy = exports.AccessLevels = exports.AccessLevelCondition = exports.AccessLevel = void 0;
|
|
5
|
+
exports.ServicePerimeters = exports.ServicePerimeterResource = exports.ServicePerimeter = exports.GcpUserAccessBinding = exports.AuthorizedOrgsDesc = exports.AccessPolicyIamPolicy = exports.AccessPolicyIamMember = exports.AccessPolicyIamBinding = exports.AccessPolicy = exports.AccessLevels = exports.AccessLevelCondition = exports.AccessLevel = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AccessLevel = null;
|
|
@@ -19,6 +19,8 @@ exports.AccessPolicyIamMember = null;
|
|
|
19
19
|
utilities.lazyLoad(exports, ["AccessPolicyIamMember"], () => require("./accessPolicyIamMember"));
|
|
20
20
|
exports.AccessPolicyIamPolicy = null;
|
|
21
21
|
utilities.lazyLoad(exports, ["AccessPolicyIamPolicy"], () => require("./accessPolicyIamPolicy"));
|
|
22
|
+
exports.AuthorizedOrgsDesc = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["AuthorizedOrgsDesc"], () => require("./authorizedOrgsDesc"));
|
|
22
24
|
exports.GcpUserAccessBinding = null;
|
|
23
25
|
utilities.lazyLoad(exports, ["GcpUserAccessBinding"], () => require("./gcpUserAccessBinding"));
|
|
24
26
|
exports.ServicePerimeter = null;
|
|
@@ -45,6 +47,8 @@ const _module = {
|
|
|
45
47
|
return new exports.AccessPolicyIamMember(name, undefined, { urn });
|
|
46
48
|
case "gcp:accesscontextmanager/accessPolicyIamPolicy:AccessPolicyIamPolicy":
|
|
47
49
|
return new exports.AccessPolicyIamPolicy(name, undefined, { urn });
|
|
50
|
+
case "gcp:accesscontextmanager/authorizedOrgsDesc:AuthorizedOrgsDesc":
|
|
51
|
+
return new exports.AuthorizedOrgsDesc(name, undefined, { urn });
|
|
48
52
|
case "gcp:accesscontextmanager/gcpUserAccessBinding:GcpUserAccessBinding":
|
|
49
53
|
return new exports.GcpUserAccessBinding(name, undefined, { urn });
|
|
50
54
|
case "gcp:accesscontextmanager/servicePerimeter:ServicePerimeter":
|
|
@@ -65,6 +69,7 @@ pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/accessPolicy"
|
|
|
65
69
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/accessPolicyIamBinding", _module);
|
|
66
70
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/accessPolicyIamMember", _module);
|
|
67
71
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/accessPolicyIamPolicy", _module);
|
|
72
|
+
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/authorizedOrgsDesc", _module);
|
|
68
73
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/gcpUserAccessBinding", _module);
|
|
69
74
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/servicePerimeter", _module);
|
|
70
75
|
pulumi.runtime.registerResourceModule("gcp", "accesscontextmanager/servicePerimeterResource", _module);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../accesscontextmanager/index.ts"],"names":[],"m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AAE,OAAO,CAAC,CAAA;AACnG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2CAA2C,EAAE,OAAO,CAAC,CAAA;AAClG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+CAA+C,EAAE,OAAO,CAAC,CAAA;AACtG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wCAAwC,EAAE,OAAO,CAAC,CAAA"}
|
package/alloydb/backup.d.ts
CHANGED
|
@@ -9,6 +9,46 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* * [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
* ### Alloydb Backup Basic
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as gcp from "@pulumi/gcp";
|
|
17
|
+
*
|
|
18
|
+
* const defaultNetwork = gcp.compute.getNetwork({
|
|
19
|
+
* name: "alloydb-network",
|
|
20
|
+
* });
|
|
21
|
+
* const defaultCluster = new gcp.alloydb.Cluster("defaultCluster", {
|
|
22
|
+
* clusterId: "alloydb-cluster",
|
|
23
|
+
* location: "us-central1",
|
|
24
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
25
|
+
* });
|
|
26
|
+
* const privateIpAlloc = new gcp.compute.GlobalAddress("privateIpAlloc", {
|
|
27
|
+
* addressType: "INTERNAL",
|
|
28
|
+
* purpose: "VPC_PEERING",
|
|
29
|
+
* prefixLength: 16,
|
|
30
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
31
|
+
* });
|
|
32
|
+
* const vpcConnection = new gcp.servicenetworking.Connection("vpcConnection", {
|
|
33
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
34
|
+
* service: "servicenetworking.googleapis.com",
|
|
35
|
+
* reservedPeeringRanges: [privateIpAlloc.name],
|
|
36
|
+
* });
|
|
37
|
+
* const defaultInstance = new gcp.alloydb.Instance("defaultInstance", {
|
|
38
|
+
* cluster: defaultCluster.name,
|
|
39
|
+
* instanceId: "alloydb-instance",
|
|
40
|
+
* instanceType: "PRIMARY",
|
|
41
|
+
* }, {
|
|
42
|
+
* dependsOn: [vpcConnection],
|
|
43
|
+
* });
|
|
44
|
+
* const defaultBackup = new gcp.alloydb.Backup("defaultBackup", {
|
|
45
|
+
* location: "us-central1",
|
|
46
|
+
* backupId: "alloydb-backup",
|
|
47
|
+
* clusterName: defaultCluster.name,
|
|
48
|
+
* }, {
|
|
49
|
+
* dependsOn: [defaultInstance],
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
12
52
|
* ### Alloydb Backup Full
|
|
13
53
|
*
|
|
14
54
|
* ```typescript
|
package/alloydb/backup.js
CHANGED
|
@@ -15,6 +15,46 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* * [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
|
+
* ### Alloydb Backup Basic
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as gcp from "@pulumi/gcp";
|
|
23
|
+
*
|
|
24
|
+
* const defaultNetwork = gcp.compute.getNetwork({
|
|
25
|
+
* name: "alloydb-network",
|
|
26
|
+
* });
|
|
27
|
+
* const defaultCluster = new gcp.alloydb.Cluster("defaultCluster", {
|
|
28
|
+
* clusterId: "alloydb-cluster",
|
|
29
|
+
* location: "us-central1",
|
|
30
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
31
|
+
* });
|
|
32
|
+
* const privateIpAlloc = new gcp.compute.GlobalAddress("privateIpAlloc", {
|
|
33
|
+
* addressType: "INTERNAL",
|
|
34
|
+
* purpose: "VPC_PEERING",
|
|
35
|
+
* prefixLength: 16,
|
|
36
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
37
|
+
* });
|
|
38
|
+
* const vpcConnection = new gcp.servicenetworking.Connection("vpcConnection", {
|
|
39
|
+
* network: defaultNetwork.then(defaultNetwork => defaultNetwork.id),
|
|
40
|
+
* service: "servicenetworking.googleapis.com",
|
|
41
|
+
* reservedPeeringRanges: [privateIpAlloc.name],
|
|
42
|
+
* });
|
|
43
|
+
* const defaultInstance = new gcp.alloydb.Instance("defaultInstance", {
|
|
44
|
+
* cluster: defaultCluster.name,
|
|
45
|
+
* instanceId: "alloydb-instance",
|
|
46
|
+
* instanceType: "PRIMARY",
|
|
47
|
+
* }, {
|
|
48
|
+
* dependsOn: [vpcConnection],
|
|
49
|
+
* });
|
|
50
|
+
* const defaultBackup = new gcp.alloydb.Backup("defaultBackup", {
|
|
51
|
+
* location: "us-central1",
|
|
52
|
+
* backupId: "alloydb-backup",
|
|
53
|
+
* clusterName: defaultCluster.name,
|
|
54
|
+
* }, {
|
|
55
|
+
* dependsOn: [defaultInstance],
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
18
58
|
* ### Alloydb Backup Full
|
|
19
59
|
*
|
|
20
60
|
* ```typescript
|
package/alloydb/backup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../alloydb/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../alloydb/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEj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,CAAC,OAAO,CAAC;SACpD;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;;AApIL,wBAqIC;AAvHG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
package/alloydb/cluster.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
59
59
|
* If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days.
|
|
60
60
|
* Structure is documented below.
|
|
61
61
|
*/
|
|
62
|
-
readonly automatedBackupPolicy: pulumi.Output<outputs.alloydb.ClusterAutomatedBackupPolicy
|
|
62
|
+
readonly automatedBackupPolicy: pulumi.Output<outputs.alloydb.ClusterAutomatedBackupPolicy>;
|
|
63
63
|
/**
|
|
64
64
|
* Cluster created from backup.
|
|
65
65
|
* Structure is documented below.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* An `Environment KeyStore` in Apigee.
|
|
4
|
+
*
|
|
5
|
+
* To get more information about EnvKeystore, see:
|
|
6
|
+
*
|
|
7
|
+
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keystores/create)
|
|
8
|
+
* * How-to Guides
|
|
9
|
+
* * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* EnvKeystore can be imported using any of these accepted formats
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/keystores/{{name}}
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/{{name}}
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class EnvKeystore extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing EnvKeystore resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvKeystoreState, opts?: pulumi.CustomResourceOptions): EnvKeystore;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of EnvKeystore. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is EnvKeystore;
|
|
39
|
+
/**
|
|
40
|
+
* Aliases in this keystore.
|
|
41
|
+
*/
|
|
42
|
+
readonly aliases: pulumi.Output<string[]>;
|
|
43
|
+
/**
|
|
44
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
45
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
46
|
+
*/
|
|
47
|
+
readonly envId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the newly created keystore.
|
|
50
|
+
*/
|
|
51
|
+
readonly name: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a EnvKeystore resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: EnvKeystoreArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering EnvKeystore resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface EnvKeystoreState {
|
|
65
|
+
/**
|
|
66
|
+
* Aliases in this keystore.
|
|
67
|
+
*/
|
|
68
|
+
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
|
69
|
+
/**
|
|
70
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
71
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
72
|
+
*/
|
|
73
|
+
envId?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the newly created keystore.
|
|
76
|
+
*/
|
|
77
|
+
name?: pulumi.Input<string>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a EnvKeystore resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface EnvKeystoreArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The Apigee environment group associated with the Apigee environment,
|
|
85
|
+
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
|
86
|
+
*/
|
|
87
|
+
envId: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the newly created keystore.
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
}
|