@pulumi/gcp 6.16.0-alpha.1647368232 → 6.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/apigee/organization.d.ts +12 -0
- package/apigee/organization.js +2 -0
- package/apigee/organization.js.map +1 -1
- package/cloudfunctions/zMixins.d.ts +2 -1
- package/cloudfunctions/zMixins.js +14 -7
- package/cloudfunctions/zMixins.js.map +1 -1
- package/eventarc/trigger.d.ts +3 -3
- package/logging/index.d.ts +1 -0
- package/logging/index.js +5 -0
- package/logging/index.js.map +1 -1
- package/logging/logView.d.ts +154 -0
- package/logging/logView.js +96 -0
- package/logging/logView.js.map +1 -0
- package/networkservices/edgeCacheOrigin.d.ts +22 -17
- package/networkservices/edgeCacheOrigin.js +4 -2
- package/networkservices/edgeCacheOrigin.js.map +1 -1
- package/networkservices/edgeCacheService.d.ts +19 -0
- package/networkservices/edgeCacheService.js +3 -0
- package/networkservices/edgeCacheService.js.map +1 -1
- package/orgpolicy/policy.d.ts +0 -4
- package/orgpolicy/policy.js +0 -4
- package/orgpolicy/policy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projects/apiKey.d.ts +4 -4
- package/projects/apiKey.js +4 -4
- package/projects/iamauditConfig.d.ts +1 -1
- package/projects/iamauditConfig.js +1 -1
- package/projects/iambinding.d.ts +1 -1
- package/projects/iambinding.js +1 -1
- package/projects/iammember.d.ts +1 -1
- package/projects/iammember.js +1 -1
- package/projects/iampolicy.d.ts +1 -1
- package/projects/iampolicy.js +1 -1
- package/types/input.d.ts +17 -5
- package/types/output.d.ts +17 -5
package/apigee/organization.d.ts
CHANGED
|
@@ -121,6 +121,10 @@ export declare class Organization extends pulumi.CustomResource {
|
|
|
121
121
|
* Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default".
|
|
122
122
|
*/
|
|
123
123
|
readonly authorizedNetwork: pulumi.Output<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing).
|
|
126
|
+
*/
|
|
127
|
+
readonly billingType: pulumi.Output<string>;
|
|
124
128
|
/**
|
|
125
129
|
* Output only. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when 'RuntimeType'
|
|
126
130
|
* is CLOUD. A base64-encoded string.
|
|
@@ -183,6 +187,10 @@ export interface OrganizationState {
|
|
|
183
187
|
* Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default".
|
|
184
188
|
*/
|
|
185
189
|
authorizedNetwork?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing).
|
|
192
|
+
*/
|
|
193
|
+
billingType?: pulumi.Input<string>;
|
|
186
194
|
/**
|
|
187
195
|
* Output only. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when 'RuntimeType'
|
|
188
196
|
* is CLOUD. A base64-encoded string.
|
|
@@ -237,6 +245,10 @@ export interface OrganizationArgs {
|
|
|
237
245
|
* Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default".
|
|
238
246
|
*/
|
|
239
247
|
authorizedNetwork?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing).
|
|
250
|
+
*/
|
|
251
|
+
billingType?: pulumi.Input<string>;
|
|
240
252
|
/**
|
|
241
253
|
* Description of the Apigee organization.
|
|
242
254
|
*/
|
package/apigee/organization.js
CHANGED
|
@@ -109,6 +109,7 @@ class Organization extends pulumi.CustomResource {
|
|
|
109
109
|
const state = argsOrState;
|
|
110
110
|
resourceInputs["analyticsRegion"] = state ? state.analyticsRegion : undefined;
|
|
111
111
|
resourceInputs["authorizedNetwork"] = state ? state.authorizedNetwork : undefined;
|
|
112
|
+
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
112
113
|
resourceInputs["caCertificate"] = state ? state.caCertificate : undefined;
|
|
113
114
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
114
115
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
@@ -125,6 +126,7 @@ class Organization extends pulumi.CustomResource {
|
|
|
125
126
|
}
|
|
126
127
|
resourceInputs["analyticsRegion"] = args ? args.analyticsRegion : undefined;
|
|
127
128
|
resourceInputs["authorizedNetwork"] = args ? args.authorizedNetwork : undefined;
|
|
129
|
+
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
128
130
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
129
131
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
130
132
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../apigee/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../apigee/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA0FnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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AC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA5HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA8HC;AAhHG,gBAAgB;AACO,yBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -174,7 +174,8 @@ export interface CallbackFunctionArgs {
|
|
|
174
174
|
*/
|
|
175
175
|
timeout?: pulumi.Input<number>;
|
|
176
176
|
/**
|
|
177
|
-
* Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT,
|
|
177
|
+
* Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT,
|
|
178
|
+
* GET, DELETE, and OPTIONS. Endpoint is returned as `https_trigger_url`. Cannot be used with `trigger_bucket` and `trigger_topic`.
|
|
178
179
|
*/
|
|
179
180
|
triggerHttp?: pulumi.Input<boolean>;
|
|
180
181
|
/**
|
|
@@ -123,9 +123,6 @@ function computeCodePaths(closure, serializedFileNameNoExtension, codePathOption
|
|
|
123
123
|
codePathOptions.extraIncludePaths = codePathOptions.extraIncludePaths || [];
|
|
124
124
|
codePathOptions.extraIncludePackages = codePathOptions.extraIncludePackages || [];
|
|
125
125
|
codePathOptions.extraExcludePackages = codePathOptions.extraExcludePackages || [];
|
|
126
|
-
if (codePathOptions.extraIncludePaths.length > 0) {
|
|
127
|
-
throw new pulumi.ResourceError("codePathOptions.extraIncludePaths not currently supported in GCP.", codePathOptions.logResource);
|
|
128
|
-
}
|
|
129
126
|
if (codePathOptions.extraIncludePackages.length > 0) {
|
|
130
127
|
throw new pulumi.ResourceError("codePathOptions.extraIncludePackages not currently supported in GCP.", codePathOptions.logResource);
|
|
131
128
|
}
|
|
@@ -136,12 +133,11 @@ function computeCodePaths(closure, serializedFileNameNoExtension, codePathOption
|
|
|
136
133
|
}
|
|
137
134
|
// Include packages to package.json file
|
|
138
135
|
const packageJson = yield producePackageJson(excludedPackages);
|
|
139
|
-
return {
|
|
136
|
+
return Object.assign({
|
|
140
137
|
// Always include the serialized function.
|
|
141
|
-
[serializedFileNameNoExtension + ".js"]: new pulumi.asset.StringAsset(serializedFunction.text),
|
|
138
|
+
[serializedFileNameNoExtension + ".js"]: new pulumi.asset.StringAsset(serializedFunction.text),
|
|
142
139
|
// Include package.json and GCP will install packages for us
|
|
143
|
-
["package.json"]: new pulumi.asset.StringAsset(packageJson)
|
|
144
|
-
};
|
|
140
|
+
["package.json"]: new pulumi.asset.StringAsset(packageJson) }, processExtraIncludePaths(codePathOptions.extraIncludePaths));
|
|
145
141
|
});
|
|
146
142
|
}
|
|
147
143
|
// Get the list of packages declare in package.json, exclude pulumi and exclusions made by user,
|
|
@@ -167,4 +163,15 @@ function producePackageJson(excludedPackages) {
|
|
|
167
163
|
});
|
|
168
164
|
});
|
|
169
165
|
}
|
|
166
|
+
// Create file assets from specified by user list,
|
|
167
|
+
// files will be added to the main directory under the file name thus duplicates will be overridden
|
|
168
|
+
// e.g. ['./dir1/file1', './file1'] will add only the last file.
|
|
169
|
+
function processExtraIncludePaths(extraIncludePaths) {
|
|
170
|
+
const filesToInclude = {};
|
|
171
|
+
for (const fullPath of extraIncludePaths) {
|
|
172
|
+
const fileName = filepath.basename(fullPath);
|
|
173
|
+
filesToInclude[fileName] = new pulumi.asset.FileAsset(fullPath);
|
|
174
|
+
}
|
|
175
|
+
return filesToInclude;
|
|
176
|
+
}
|
|
170
177
|
//# sourceMappingURL=zMixins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zMixins.js","sourceRoot":"","sources":["../../cloudfunctions/zMixins.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,yCAAyC;AAEzC,oCAAoC;AACpC,sCAAsC;AAEtC,iCAAiC;AAEjC,kCAAkC;AAwElC;;;;;;;;;;;;;GAaG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,iBAAiB;IAY1D,YAAY,IAAY,EAAE,IAA0B,EAAE,OAAwC,EAAE;QAC5F,KAAK,CAAC,qCAAqC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;QAEpE,MAAM,UAAU,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACpC,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,6BAA6B,GAAG,OAAO,CAAC;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,CAAC;QACnD,IAAI,CAAC,IAAI,EAAE;YACP,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;SAC/E;QAED,MAAM,OAAO,GAAG,MAAM,CAAC,OA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115,7 @@ export declare class Trigger extends pulumi.CustomResource {
|
|
|
115
115
|
*/
|
|
116
116
|
readonly project: pulumi.Output<string>;
|
|
117
117
|
/**
|
|
118
|
-
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts
|
|
118
|
+
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role.
|
|
119
119
|
*/
|
|
120
120
|
readonly serviceAccount: pulumi.Output<string | undefined>;
|
|
121
121
|
/**
|
|
@@ -180,7 +180,7 @@ export interface TriggerState {
|
|
|
180
180
|
*/
|
|
181
181
|
project?: pulumi.Input<string>;
|
|
182
182
|
/**
|
|
183
|
-
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts
|
|
183
|
+
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role.
|
|
184
184
|
*/
|
|
185
185
|
serviceAccount?: pulumi.Input<string>;
|
|
186
186
|
/**
|
|
@@ -228,7 +228,7 @@ export interface TriggerArgs {
|
|
|
228
228
|
*/
|
|
229
229
|
project?: pulumi.Input<string>;
|
|
230
230
|
/**
|
|
231
|
-
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts
|
|
231
|
+
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role.
|
|
232
232
|
*/
|
|
233
233
|
serviceAccount?: pulumi.Input<string>;
|
|
234
234
|
/**
|
package/logging/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./billingAccountSink";
|
|
|
4
4
|
export * from "./folderBucketConfig";
|
|
5
5
|
export * from "./folderExclusion";
|
|
6
6
|
export * from "./folderSink";
|
|
7
|
+
export * from "./logView";
|
|
7
8
|
export * from "./metric";
|
|
8
9
|
export * from "./organizationBucketConfig";
|
|
9
10
|
export * from "./organizationExclusion";
|
package/logging/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./billingAccountSink"), exports);
|
|
|
25
25
|
__exportStar(require("./folderBucketConfig"), exports);
|
|
26
26
|
__exportStar(require("./folderExclusion"), exports);
|
|
27
27
|
__exportStar(require("./folderSink"), exports);
|
|
28
|
+
__exportStar(require("./logView"), exports);
|
|
28
29
|
__exportStar(require("./metric"), exports);
|
|
29
30
|
__exportStar(require("./organizationBucketConfig"), exports);
|
|
30
31
|
__exportStar(require("./organizationExclusion"), exports);
|
|
@@ -39,6 +40,7 @@ const billingAccountSink_1 = require("./billingAccountSink");
|
|
|
39
40
|
const folderBucketConfig_1 = require("./folderBucketConfig");
|
|
40
41
|
const folderExclusion_1 = require("./folderExclusion");
|
|
41
42
|
const folderSink_1 = require("./folderSink");
|
|
43
|
+
const logView_1 = require("./logView");
|
|
42
44
|
const metric_1 = require("./metric");
|
|
43
45
|
const organizationBucketConfig_1 = require("./organizationBucketConfig");
|
|
44
46
|
const organizationExclusion_1 = require("./organizationExclusion");
|
|
@@ -62,6 +64,8 @@ const _module = {
|
|
|
62
64
|
return new folderExclusion_1.FolderExclusion(name, undefined, { urn });
|
|
63
65
|
case "gcp:logging/folderSink:FolderSink":
|
|
64
66
|
return new folderSink_1.FolderSink(name, undefined, { urn });
|
|
67
|
+
case "gcp:logging/logView:LogView":
|
|
68
|
+
return new logView_1.LogView(name, undefined, { urn });
|
|
65
69
|
case "gcp:logging/metric:Metric":
|
|
66
70
|
return new metric_1.Metric(name, undefined, { urn });
|
|
67
71
|
case "gcp:logging/organizationBucketConfig:OrganizationBucketConfig":
|
|
@@ -87,6 +91,7 @@ pulumi.runtime.registerResourceModule("gcp", "logging/billingAccountSink", _modu
|
|
|
87
91
|
pulumi.runtime.registerResourceModule("gcp", "logging/folderBucketConfig", _module);
|
|
88
92
|
pulumi.runtime.registerResourceModule("gcp", "logging/folderExclusion", _module);
|
|
89
93
|
pulumi.runtime.registerResourceModule("gcp", "logging/folderSink", _module);
|
|
94
|
+
pulumi.runtime.registerResourceModule("gcp", "logging/logView", _module);
|
|
90
95
|
pulumi.runtime.registerResourceModule("gcp", "logging/metric", _module);
|
|
91
96
|
pulumi.runtime.registerResourceModule("gcp", "logging/organizationBucketConfig", _module);
|
|
92
97
|
pulumi.runtime.registerResourceModule("gcp", "logging/organizationExclusion", _module);
|
package/logging/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../logging/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+DAA6C;AAC7C,4DAA0C;AAC1C,uDAAqC;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E,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Logging LogView resource
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Basic
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const basic = new gcp.logging.ProjectBucketConfig("basic", {
|
|
12
|
+
* project: "my-project-name",
|
|
13
|
+
* location: "global",
|
|
14
|
+
* retentionDays: 30,
|
|
15
|
+
* bucketId: "_Default",
|
|
16
|
+
* });
|
|
17
|
+
* const primary = new gcp.logging.LogView("primary", {
|
|
18
|
+
* bucket: basic.id,
|
|
19
|
+
* description: "A logging view configured with Terraform",
|
|
20
|
+
* filter: "SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* LogView can be imported using any of these accepted formats
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import gcp:logging/logView:LogView default {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class LogView extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing LogView resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogViewState, opts?: pulumi.CustomResourceOptions): LogView;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of LogView. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is LogView;
|
|
48
|
+
/**
|
|
49
|
+
* The bucket of the resource
|
|
50
|
+
*/
|
|
51
|
+
readonly bucket: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Output only. The creation timestamp of the view.
|
|
54
|
+
*/
|
|
55
|
+
readonly createTime: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Describes this view.
|
|
58
|
+
*/
|
|
59
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gceInstance" AND LOG_ID("stdout")
|
|
62
|
+
*/
|
|
63
|
+
readonly filter: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.
|
|
66
|
+
*/
|
|
67
|
+
readonly location: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
|
|
70
|
+
*/
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The parent of the resource.
|
|
74
|
+
*/
|
|
75
|
+
readonly parent: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Output only. The last update timestamp of the view.
|
|
78
|
+
*/
|
|
79
|
+
readonly updateTime: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a LogView resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: LogViewArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering LogView resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface LogViewState {
|
|
93
|
+
/**
|
|
94
|
+
* The bucket of the resource
|
|
95
|
+
*/
|
|
96
|
+
bucket?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Output only. The creation timestamp of the view.
|
|
99
|
+
*/
|
|
100
|
+
createTime?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Describes this view.
|
|
103
|
+
*/
|
|
104
|
+
description?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gceInstance" AND LOG_ID("stdout")
|
|
107
|
+
*/
|
|
108
|
+
filter?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.
|
|
111
|
+
*/
|
|
112
|
+
location?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
|
|
115
|
+
*/
|
|
116
|
+
name?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The parent of the resource.
|
|
119
|
+
*/
|
|
120
|
+
parent?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Output only. The last update timestamp of the view.
|
|
123
|
+
*/
|
|
124
|
+
updateTime?: pulumi.Input<string>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The set of arguments for constructing a LogView resource.
|
|
128
|
+
*/
|
|
129
|
+
export interface LogViewArgs {
|
|
130
|
+
/**
|
|
131
|
+
* The bucket of the resource
|
|
132
|
+
*/
|
|
133
|
+
bucket: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Describes this view.
|
|
136
|
+
*/
|
|
137
|
+
description?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gceInstance" AND LOG_ID("stdout")
|
|
140
|
+
*/
|
|
141
|
+
filter?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.
|
|
144
|
+
*/
|
|
145
|
+
location?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
|
|
148
|
+
*/
|
|
149
|
+
name?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The parent of the resource.
|
|
152
|
+
*/
|
|
153
|
+
parent?: pulumi.Input<string>;
|
|
154
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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.LogView = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Logging LogView resource
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const basic = new gcp.logging.ProjectBucketConfig("basic", {
|
|
18
|
+
* project: "my-project-name",
|
|
19
|
+
* location: "global",
|
|
20
|
+
* retentionDays: 30,
|
|
21
|
+
* bucketId: "_Default",
|
|
22
|
+
* });
|
|
23
|
+
* const primary = new gcp.logging.LogView("primary", {
|
|
24
|
+
* bucket: basic.id,
|
|
25
|
+
* description: "A logging view configured with Terraform",
|
|
26
|
+
* filter: "SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* LogView can be imported using any of these accepted formats
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import gcp:logging/logView:LogView default {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class LogView extends pulumi.CustomResource {
|
|
39
|
+
constructor(name, argsOrState, opts) {
|
|
40
|
+
let resourceInputs = {};
|
|
41
|
+
opts = opts || {};
|
|
42
|
+
if (opts.id) {
|
|
43
|
+
const state = argsOrState;
|
|
44
|
+
resourceInputs["bucket"] = state ? state.bucket : undefined;
|
|
45
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
46
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
|
+
resourceInputs["filter"] = state ? state.filter : undefined;
|
|
48
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
49
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
|
+
resourceInputs["parent"] = state ? state.parent : undefined;
|
|
51
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if ((!args || args.bucket === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'bucket'");
|
|
57
|
+
}
|
|
58
|
+
resourceInputs["bucket"] = args ? args.bucket : undefined;
|
|
59
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
60
|
+
resourceInputs["filter"] = args ? args.filter : undefined;
|
|
61
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["parent"] = args ? args.parent : undefined;
|
|
64
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(LogView.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing LogView resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new LogView(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of LogView. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === LogView.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.LogView = LogView;
|
|
94
|
+
/** @internal */
|
|
95
|
+
LogView.__pulumiType = 'gcp:logging/logView:LogView';
|
|
96
|
+
//# sourceMappingURL=logView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logView.js","sourceRoot":"","sources":["../../logging/logView.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAqE9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CA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CAAC"}
|
|
@@ -31,11 +31,13 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
31
31
|
* "CONNECT_FAILURE",
|
|
32
32
|
* "NOT_FOUND",
|
|
33
33
|
* "HTTP_5XX",
|
|
34
|
+
* "FORBIDDEN",
|
|
34
35
|
* ],
|
|
35
36
|
* timeout: {
|
|
36
37
|
* connectTimeout: "10s",
|
|
37
|
-
* maxAttemptsTimeout: "
|
|
38
|
-
* responseTimeout: "
|
|
38
|
+
* maxAttemptsTimeout: "20s",
|
|
39
|
+
* responseTimeout: "60s",
|
|
40
|
+
* readTimeout: "5s",
|
|
39
41
|
* },
|
|
40
42
|
* });
|
|
41
43
|
* const _default = new gcp.networkservices.EdgeCacheOrigin("default", {
|
|
@@ -107,8 +109,8 @@ export declare class EdgeCacheOrigin extends pulumi.CustomResource {
|
|
|
107
109
|
* retryConditions and failoverOrigin to control its own cache fill failures.
|
|
108
110
|
* The total number of allowed attempts to cache fill across this and failover origins is limited to four.
|
|
109
111
|
* The total time allowed for cache fill attempts across this and failover origins can be controlled with maxAttemptsTimeout.
|
|
110
|
-
* The last valid response from
|
|
111
|
-
* If no origin returns a valid response, an HTTP
|
|
112
|
+
* The last valid, non-retried response from all origins will be returned to the client.
|
|
113
|
+
* If no origin returns a valid response, an HTTP 502 will be returned to the client.
|
|
112
114
|
* Defaults to 1. Must be a value greater than 0 and less than 4.
|
|
113
115
|
*/
|
|
114
116
|
readonly maxAttempts: pulumi.Output<number | undefined>;
|
|
@@ -120,8 +122,8 @@ export declare class EdgeCacheOrigin extends pulumi.CustomResource {
|
|
|
120
122
|
readonly name: pulumi.Output<string>;
|
|
121
123
|
/**
|
|
122
124
|
* A fully qualified domain name (FQDN) or IP address reachable over the public Internet, or the address of a Google Cloud Storage bucket.
|
|
123
|
-
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com IPv4:35.218.1.1 IPv6:
|
|
124
|
-
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable.
|
|
125
|
+
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com, IPv4: 35.218.1.1, IPv6: 2607:f8b0:4012:809::200e, Cloud Storage: gs://bucketname
|
|
126
|
+
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable. It must not contain a protocol (e.g., https://) and it must not contain any slashes.
|
|
125
127
|
* If a Cloud Storage bucket is provided, it must be in the canonical "gs://bucketname" format. Other forms, such as "storage.googleapis.com", will be rejected.
|
|
126
128
|
*/
|
|
127
129
|
readonly originAddress: pulumi.Output<string>;
|
|
@@ -154,7 +156,8 @@ export declare class EdgeCacheOrigin extends pulumi.CustomResource {
|
|
|
154
156
|
* - GATEWAY_ERROR: Similar to 5xx, but only applies to response codes 502, 503 or 504.
|
|
155
157
|
* - RETRIABLE_4XX: Retry for retriable 4xx response codes, which include HTTP 409 (Conflict) and HTTP 429 (Too Many Requests)
|
|
156
158
|
* - NOT_FOUND: Retry if the origin returns a HTTP 404 (Not Found). This can be useful when generating video content, and the segment is not available yet.
|
|
157
|
-
*
|
|
159
|
+
* - FORBIDDEN: Retry if the origin returns a HTTP 403 (Forbidden).
|
|
160
|
+
* Each value may be one of `CONNECT_FAILURE`, `HTTP_5XX`, `GATEWAY_ERROR`, `RETRIABLE_4XX`, `NOT_FOUND`, and `FORBIDDEN`.
|
|
158
161
|
*/
|
|
159
162
|
readonly retryConditions: pulumi.Output<string[]>;
|
|
160
163
|
/**
|
|
@@ -198,8 +201,8 @@ export interface EdgeCacheOriginState {
|
|
|
198
201
|
* retryConditions and failoverOrigin to control its own cache fill failures.
|
|
199
202
|
* The total number of allowed attempts to cache fill across this and failover origins is limited to four.
|
|
200
203
|
* The total time allowed for cache fill attempts across this and failover origins can be controlled with maxAttemptsTimeout.
|
|
201
|
-
* The last valid response from
|
|
202
|
-
* If no origin returns a valid response, an HTTP
|
|
204
|
+
* The last valid, non-retried response from all origins will be returned to the client.
|
|
205
|
+
* If no origin returns a valid response, an HTTP 502 will be returned to the client.
|
|
203
206
|
* Defaults to 1. Must be a value greater than 0 and less than 4.
|
|
204
207
|
*/
|
|
205
208
|
maxAttempts?: pulumi.Input<number>;
|
|
@@ -211,8 +214,8 @@ export interface EdgeCacheOriginState {
|
|
|
211
214
|
name?: pulumi.Input<string>;
|
|
212
215
|
/**
|
|
213
216
|
* A fully qualified domain name (FQDN) or IP address reachable over the public Internet, or the address of a Google Cloud Storage bucket.
|
|
214
|
-
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com IPv4:35.218.1.1 IPv6:
|
|
215
|
-
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable.
|
|
217
|
+
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com, IPv4: 35.218.1.1, IPv6: 2607:f8b0:4012:809::200e, Cloud Storage: gs://bucketname
|
|
218
|
+
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable. It must not contain a protocol (e.g., https://) and it must not contain any slashes.
|
|
216
219
|
* If a Cloud Storage bucket is provided, it must be in the canonical "gs://bucketname" format. Other forms, such as "storage.googleapis.com", will be rejected.
|
|
217
220
|
*/
|
|
218
221
|
originAddress?: pulumi.Input<string>;
|
|
@@ -245,7 +248,8 @@ export interface EdgeCacheOriginState {
|
|
|
245
248
|
* - GATEWAY_ERROR: Similar to 5xx, but only applies to response codes 502, 503 or 504.
|
|
246
249
|
* - RETRIABLE_4XX: Retry for retriable 4xx response codes, which include HTTP 409 (Conflict) and HTTP 429 (Too Many Requests)
|
|
247
250
|
* - NOT_FOUND: Retry if the origin returns a HTTP 404 (Not Found). This can be useful when generating video content, and the segment is not available yet.
|
|
248
|
-
*
|
|
251
|
+
* - FORBIDDEN: Retry if the origin returns a HTTP 403 (Forbidden).
|
|
252
|
+
* Each value may be one of `CONNECT_FAILURE`, `HTTP_5XX`, `GATEWAY_ERROR`, `RETRIABLE_4XX`, `NOT_FOUND`, and `FORBIDDEN`.
|
|
249
253
|
*/
|
|
250
254
|
retryConditions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
251
255
|
/**
|
|
@@ -281,8 +285,8 @@ export interface EdgeCacheOriginArgs {
|
|
|
281
285
|
* retryConditions and failoverOrigin to control its own cache fill failures.
|
|
282
286
|
* The total number of allowed attempts to cache fill across this and failover origins is limited to four.
|
|
283
287
|
* The total time allowed for cache fill attempts across this and failover origins can be controlled with maxAttemptsTimeout.
|
|
284
|
-
* The last valid response from
|
|
285
|
-
* If no origin returns a valid response, an HTTP
|
|
288
|
+
* The last valid, non-retried response from all origins will be returned to the client.
|
|
289
|
+
* If no origin returns a valid response, an HTTP 502 will be returned to the client.
|
|
286
290
|
* Defaults to 1. Must be a value greater than 0 and less than 4.
|
|
287
291
|
*/
|
|
288
292
|
maxAttempts?: pulumi.Input<number>;
|
|
@@ -294,8 +298,8 @@ export interface EdgeCacheOriginArgs {
|
|
|
294
298
|
name?: pulumi.Input<string>;
|
|
295
299
|
/**
|
|
296
300
|
* A fully qualified domain name (FQDN) or IP address reachable over the public Internet, or the address of a Google Cloud Storage bucket.
|
|
297
|
-
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com IPv4:35.218.1.1 IPv6:
|
|
298
|
-
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable.
|
|
301
|
+
* This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com, IPv4: 35.218.1.1, IPv6: 2607:f8b0:4012:809::200e, Cloud Storage: gs://bucketname
|
|
302
|
+
* When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable. It must not contain a protocol (e.g., https://) and it must not contain any slashes.
|
|
299
303
|
* If a Cloud Storage bucket is provided, it must be in the canonical "gs://bucketname" format. Other forms, such as "storage.googleapis.com", will be rejected.
|
|
300
304
|
*/
|
|
301
305
|
originAddress: pulumi.Input<string>;
|
|
@@ -328,7 +332,8 @@ export interface EdgeCacheOriginArgs {
|
|
|
328
332
|
* - GATEWAY_ERROR: Similar to 5xx, but only applies to response codes 502, 503 or 504.
|
|
329
333
|
* - RETRIABLE_4XX: Retry for retriable 4xx response codes, which include HTTP 409 (Conflict) and HTTP 429 (Too Many Requests)
|
|
330
334
|
* - NOT_FOUND: Retry if the origin returns a HTTP 404 (Not Found). This can be useful when generating video content, and the segment is not available yet.
|
|
331
|
-
*
|
|
335
|
+
* - FORBIDDEN: Retry if the origin returns a HTTP 403 (Forbidden).
|
|
336
|
+
* Each value may be one of `CONNECT_FAILURE`, `HTTP_5XX`, `GATEWAY_ERROR`, `RETRIABLE_4XX`, `NOT_FOUND`, and `FORBIDDEN`.
|
|
332
337
|
*/
|
|
333
338
|
retryConditions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
334
339
|
/**
|
|
@@ -36,11 +36,13 @@ const utilities = require("../utilities");
|
|
|
36
36
|
* "CONNECT_FAILURE",
|
|
37
37
|
* "NOT_FOUND",
|
|
38
38
|
* "HTTP_5XX",
|
|
39
|
+
* "FORBIDDEN",
|
|
39
40
|
* ],
|
|
40
41
|
* timeout: {
|
|
41
42
|
* connectTimeout: "10s",
|
|
42
|
-
* maxAttemptsTimeout: "
|
|
43
|
-
* responseTimeout: "
|
|
43
|
+
* maxAttemptsTimeout: "20s",
|
|
44
|
+
* responseTimeout: "60s",
|
|
45
|
+
* readTimeout: "5s",
|
|
44
46
|
* },
|
|
45
47
|
* });
|
|
46
48
|
* const _default = new gcp.networkservices.EdgeCacheOrigin("default", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeCacheOrigin.js","sourceRoot":"","sources":["../../networkservices/edgeCacheOrigin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"edgeCacheOrigin.js","sourceRoot":"","sources":["../../networkservices/edgeCacheOrigin.ts"],"names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AAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -87,6 +87,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
87
87
|
* const instanceEdgeCacheService = new gcp.networkservices.EdgeCacheService("instanceEdgeCacheService", {
|
|
88
88
|
* description: "some description",
|
|
89
89
|
* disableQuic: true,
|
|
90
|
+
* disableHttp2: true,
|
|
90
91
|
* labels: {
|
|
91
92
|
* a: "b",
|
|
92
93
|
* },
|
|
@@ -288,6 +289,12 @@ export declare class EdgeCacheService extends pulumi.CustomResource {
|
|
|
288
289
|
* A human-readable description of the resource.
|
|
289
290
|
*/
|
|
290
291
|
readonly description: pulumi.Output<string | undefined>;
|
|
292
|
+
/**
|
|
293
|
+
* Disables HTTP/2.
|
|
294
|
+
* HTTP/2 (h2) is enabled by default and recommended for performance. HTTP/2 improves connection re-use and reduces connection setup overhead by sending multiple streams over the same connection.
|
|
295
|
+
* Some legacy HTTP clients may have issues with HTTP/2 connections due to broken HTTP/2 implementations. Setting this to true will prevent HTTP/2 from being advertised and negotiated.
|
|
296
|
+
*/
|
|
297
|
+
readonly disableHttp2: pulumi.Output<boolean | undefined>;
|
|
291
298
|
/**
|
|
292
299
|
* HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
|
|
293
300
|
*/
|
|
@@ -362,6 +369,12 @@ export interface EdgeCacheServiceState {
|
|
|
362
369
|
* A human-readable description of the resource.
|
|
363
370
|
*/
|
|
364
371
|
description?: pulumi.Input<string>;
|
|
372
|
+
/**
|
|
373
|
+
* Disables HTTP/2.
|
|
374
|
+
* HTTP/2 (h2) is enabled by default and recommended for performance. HTTP/2 improves connection re-use and reduces connection setup overhead by sending multiple streams over the same connection.
|
|
375
|
+
* Some legacy HTTP clients may have issues with HTTP/2 connections due to broken HTTP/2 implementations. Setting this to true will prevent HTTP/2 from being advertised and negotiated.
|
|
376
|
+
*/
|
|
377
|
+
disableHttp2?: pulumi.Input<boolean>;
|
|
365
378
|
/**
|
|
366
379
|
* HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
|
|
367
380
|
*/
|
|
@@ -428,6 +441,12 @@ export interface EdgeCacheServiceArgs {
|
|
|
428
441
|
* A human-readable description of the resource.
|
|
429
442
|
*/
|
|
430
443
|
description?: pulumi.Input<string>;
|
|
444
|
+
/**
|
|
445
|
+
* Disables HTTP/2.
|
|
446
|
+
* HTTP/2 (h2) is enabled by default and recommended for performance. HTTP/2 improves connection re-use and reduces connection setup overhead by sending multiple streams over the same connection.
|
|
447
|
+
* Some legacy HTTP clients may have issues with HTTP/2 connections due to broken HTTP/2 implementations. Setting this to true will prevent HTTP/2 from being advertised and negotiated.
|
|
448
|
+
*/
|
|
449
|
+
disableHttp2?: pulumi.Input<boolean>;
|
|
431
450
|
/**
|
|
432
451
|
* HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
|
|
433
452
|
*/
|
|
@@ -92,6 +92,7 @@ const utilities = require("../utilities");
|
|
|
92
92
|
* const instanceEdgeCacheService = new gcp.networkservices.EdgeCacheService("instanceEdgeCacheService", {
|
|
93
93
|
* description: "some description",
|
|
94
94
|
* disableQuic: true,
|
|
95
|
+
* disableHttp2: true,
|
|
95
96
|
* labels: {
|
|
96
97
|
* a: "b",
|
|
97
98
|
* },
|
|
@@ -280,6 +281,7 @@ class EdgeCacheService extends pulumi.CustomResource {
|
|
|
280
281
|
if (opts.id) {
|
|
281
282
|
const state = argsOrState;
|
|
282
283
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
284
|
+
resourceInputs["disableHttp2"] = state ? state.disableHttp2 : undefined;
|
|
283
285
|
resourceInputs["disableQuic"] = state ? state.disableQuic : undefined;
|
|
284
286
|
resourceInputs["edgeSecurityPolicy"] = state ? state.edgeSecurityPolicy : undefined;
|
|
285
287
|
resourceInputs["edgeSslCertificates"] = state ? state.edgeSslCertificates : undefined;
|
|
@@ -299,6 +301,7 @@ class EdgeCacheService extends pulumi.CustomResource {
|
|
|
299
301
|
throw new Error("Missing required property 'routing'");
|
|
300
302
|
}
|
|
301
303
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
304
|
+
resourceInputs["disableHttp2"] = args ? args.disableHttp2 : undefined;
|
|
302
305
|
resourceInputs["disableQuic"] = args ? args.disableQuic : undefined;
|
|
303
306
|
resourceInputs["edgeSecurityPolicy"] = args ? args.edgeSecurityPolicy : undefined;
|
|
304
307
|
resourceInputs["edgeSslCertificates"] = args ? args.edgeSslCertificates : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeCacheService.js","sourceRoot":"","sources":["../../networkservices/edgeCacheService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"edgeCacheService.js","sourceRoot":"","sources":["../../networkservices/edgeCacheService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4QG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAsGvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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c,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAgJC;AAlIG,gBAAgB;AACO,6BAAY,GAAG,uDAAuD,CAAC"}
|
package/orgpolicy/policy.d.ts
CHANGED
|
@@ -101,10 +101,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
101
101
|
* ```sh
|
|
102
102
|
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
|
103
103
|
* ```
|
|
104
|
-
*
|
|
105
|
-
* ```sh
|
|
106
|
-
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/{{name}}
|
|
107
|
-
* ```
|
|
108
104
|
*/
|
|
109
105
|
export declare class Policy extends pulumi.CustomResource {
|
|
110
106
|
/**
|
package/orgpolicy/policy.js
CHANGED
|
@@ -106,10 +106,6 @@ const utilities = require("../utilities");
|
|
|
106
106
|
* ```sh
|
|
107
107
|
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
|
108
108
|
* ```
|
|
109
|
-
*
|
|
110
|
-
* ```sh
|
|
111
|
-
* $ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/{{name}}
|
|
112
|
-
* ```
|
|
113
109
|
*/
|
|
114
110
|
class Policy extends pulumi.CustomResource {
|
|
115
111
|
constructor(name, argsOrState, opts) {
|
package/orgpolicy/policy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../orgpolicy/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../orgpolicy/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAnED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,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,wBAqEC;AAvDG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.17.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 v6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.17.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.17.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 v6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.17.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/projects/apiKey.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
25
25
|
* }],
|
|
26
26
|
* },
|
|
27
27
|
* apiTargets: [{
|
|
28
|
-
* methods: ["GET*"],
|
|
29
28
|
* service: "translate.googleapis.com",
|
|
29
|
+
* methods: ["GET*"],
|
|
30
30
|
* }],
|
|
31
31
|
* },
|
|
32
32
|
* });
|
|
@@ -46,8 +46,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
46
46
|
* project: basic.name,
|
|
47
47
|
* restrictions: {
|
|
48
48
|
* apiTargets: [{
|
|
49
|
-
* methods: ["GET*"],
|
|
50
49
|
* service: "translate.googleapis.com",
|
|
50
|
+
* methods: ["GET*"],
|
|
51
51
|
* }],
|
|
52
52
|
* browserKeyRestrictions: {
|
|
53
53
|
* allowedReferrers: [".*"],
|
|
@@ -70,8 +70,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
70
70
|
* project: basic.name,
|
|
71
71
|
* restrictions: {
|
|
72
72
|
* apiTargets: [{
|
|
73
|
-
* methods: ["GET*"],
|
|
74
73
|
* service: "translate.googleapis.com",
|
|
74
|
+
* methods: ["GET*"],
|
|
75
75
|
* }],
|
|
76
76
|
* iosKeyRestrictions: {
|
|
77
77
|
* allowedBundleIds: ["com.google.app.macos"],
|
|
@@ -109,8 +109,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
109
109
|
* project: basic.name,
|
|
110
110
|
* restrictions: {
|
|
111
111
|
* apiTargets: [{
|
|
112
|
-
* methods: ["GET*"],
|
|
113
112
|
* service: "translate.googleapis.com",
|
|
113
|
+
* methods: ["GET*"],
|
|
114
114
|
* }],
|
|
115
115
|
* serverKeyRestrictions: {
|
|
116
116
|
* allowedIps: ["127.0.0.1"],
|
package/projects/apiKey.js
CHANGED
|
@@ -30,8 +30,8 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* }],
|
|
31
31
|
* },
|
|
32
32
|
* apiTargets: [{
|
|
33
|
-
* methods: ["GET*"],
|
|
34
33
|
* service: "translate.googleapis.com",
|
|
34
|
+
* methods: ["GET*"],
|
|
35
35
|
* }],
|
|
36
36
|
* },
|
|
37
37
|
* });
|
|
@@ -51,8 +51,8 @@ const utilities = require("../utilities");
|
|
|
51
51
|
* project: basic.name,
|
|
52
52
|
* restrictions: {
|
|
53
53
|
* apiTargets: [{
|
|
54
|
-
* methods: ["GET*"],
|
|
55
54
|
* service: "translate.googleapis.com",
|
|
55
|
+
* methods: ["GET*"],
|
|
56
56
|
* }],
|
|
57
57
|
* browserKeyRestrictions: {
|
|
58
58
|
* allowedReferrers: [".*"],
|
|
@@ -75,8 +75,8 @@ const utilities = require("../utilities");
|
|
|
75
75
|
* project: basic.name,
|
|
76
76
|
* restrictions: {
|
|
77
77
|
* apiTargets: [{
|
|
78
|
-
* methods: ["GET*"],
|
|
79
78
|
* service: "translate.googleapis.com",
|
|
79
|
+
* methods: ["GET*"],
|
|
80
80
|
* }],
|
|
81
81
|
* iosKeyRestrictions: {
|
|
82
82
|
* allowedBundleIds: ["com.google.app.macos"],
|
|
@@ -114,8 +114,8 @@ const utilities = require("../utilities");
|
|
|
114
114
|
* project: basic.name,
|
|
115
115
|
* restrictions: {
|
|
116
116
|
* apiTargets: [{
|
|
117
|
-
* methods: ["GET*"],
|
|
118
117
|
* service: "translate.googleapis.com",
|
|
118
|
+
* methods: ["GET*"],
|
|
119
119
|
* }],
|
|
120
120
|
* serverKeyRestrictions: {
|
|
121
121
|
* allowedIps: ["127.0.0.1"],
|
|
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
17
17
|
*
|
|
18
18
|
* ## google\_project\_iam\_policy
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
21
21
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
22
22
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
23
23
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## google\_project\_iam\_policy
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
26
26
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
27
27
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
28
28
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iambinding.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
17
17
|
*
|
|
18
18
|
* ## google\_project\_iam\_policy
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
21
21
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
22
22
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
23
23
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iambinding.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## google\_project\_iam\_policy
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
26
26
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
27
27
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
28
28
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iammember.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
17
17
|
*
|
|
18
18
|
* ## google\_project\_iam\_policy
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
21
21
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
22
22
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
23
23
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iammember.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## google\_project\_iam\_policy
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
26
26
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
27
27
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
28
28
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iampolicy.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## google\_project\_iam\_policy
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
20
20
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
21
21
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
22
22
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/projects/iampolicy.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## google\_project\_iam\_policy
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* !> **Be careful!** You can accidentally lock yourself out of your project
|
|
26
26
|
* using this resource. Deleting a `gcp.projects.IAMPolicy` removes access
|
|
27
27
|
* from anyone without organization-level access to the project. Proceed with caution.
|
|
28
28
|
* It's not recommended to use `gcp.projects.IAMPolicy` with your provider project
|
package/types/input.d.ts
CHANGED
|
@@ -23470,18 +23470,30 @@ export declare namespace networkservices {
|
|
|
23470
23470
|
}
|
|
23471
23471
|
interface EdgeCacheOriginTimeout {
|
|
23472
23472
|
/**
|
|
23473
|
-
* The maximum duration to wait for
|
|
23473
|
+
* The maximum duration to wait for a single origin connection to be established, including DNS lookup, TLS handshake and TCP/QUIC connection establishment.
|
|
23474
23474
|
* Defaults to 5 seconds. The timeout must be a value between 1s and 15s.
|
|
23475
|
+
* The connectTimeout capped by the deadline set by the request's maxAttemptsTimeout. The last connection attempt may have a smaller connectTimeout in order to adhere to the overall maxAttemptsTimeout.
|
|
23475
23476
|
*/
|
|
23476
23477
|
connectTimeout?: pulumi.Input<string>;
|
|
23477
23478
|
/**
|
|
23478
|
-
* The maximum time across all connection attempts to the origin, including failover origins, before returning an error to the client. A HTTP
|
|
23479
|
-
* Defaults to
|
|
23479
|
+
* The maximum time across all connection attempts to the origin, including failover origins, before returning an error to the client. A HTTP 504 will be returned if the timeout is reached before a response is returned.
|
|
23480
|
+
* Defaults to 15 seconds. The timeout must be a value between 1s and 30s.
|
|
23481
|
+
* If a failoverOrigin is specified, the maxAttemptsTimeout of the first configured origin sets the deadline for all connection attempts across all failoverOrigins.
|
|
23480
23482
|
*/
|
|
23481
23483
|
maxAttemptsTimeout?: pulumi.Input<string>;
|
|
23482
23484
|
/**
|
|
23483
|
-
* The maximum duration to wait
|
|
23484
|
-
* Defaults to
|
|
23485
|
+
* The maximum duration to wait between reads of a single HTTP connection/stream.
|
|
23486
|
+
* Defaults to 15 seconds. The timeout must be a value between 1s and 30s.
|
|
23487
|
+
* The readTimeout is capped by the responseTimeout. All reads of the HTTP connection/stream must be completed by the deadline set by the responseTimeout.
|
|
23488
|
+
* If the response headers have already been written to the connection, the response will be truncated and logged.
|
|
23489
|
+
*/
|
|
23490
|
+
readTimeout?: pulumi.Input<string>;
|
|
23491
|
+
/**
|
|
23492
|
+
* The maximum duration to wait for the last byte of a response to arrive when reading from the HTTP connection/stream.
|
|
23493
|
+
* Defaults to 30 seconds. The timeout must be a value between 1s and 120s.
|
|
23494
|
+
* The responseTimeout starts after the connection has been established.
|
|
23495
|
+
* This also applies to HTTP Chunked Transfer Encoding responses, and/or when an open-ended Range request is made to the origin. Origins that take longer to write additional bytes to the response than the configured responseTimeout will result in an error being returned to the client.
|
|
23496
|
+
* If the response headers have already been written to the connection, the response will be truncated and logged.
|
|
23485
23497
|
*/
|
|
23486
23498
|
responseTimeout?: pulumi.Input<string>;
|
|
23487
23499
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -25350,18 +25350,30 @@ export declare namespace networkservices {
|
|
|
25350
25350
|
}
|
|
25351
25351
|
interface EdgeCacheOriginTimeout {
|
|
25352
25352
|
/**
|
|
25353
|
-
* The maximum duration to wait for
|
|
25353
|
+
* The maximum duration to wait for a single origin connection to be established, including DNS lookup, TLS handshake and TCP/QUIC connection establishment.
|
|
25354
25354
|
* Defaults to 5 seconds. The timeout must be a value between 1s and 15s.
|
|
25355
|
+
* The connectTimeout capped by the deadline set by the request's maxAttemptsTimeout. The last connection attempt may have a smaller connectTimeout in order to adhere to the overall maxAttemptsTimeout.
|
|
25355
25356
|
*/
|
|
25356
25357
|
connectTimeout?: string;
|
|
25357
25358
|
/**
|
|
25358
|
-
* The maximum time across all connection attempts to the origin, including failover origins, before returning an error to the client. A HTTP
|
|
25359
|
-
* Defaults to
|
|
25359
|
+
* The maximum time across all connection attempts to the origin, including failover origins, before returning an error to the client. A HTTP 504 will be returned if the timeout is reached before a response is returned.
|
|
25360
|
+
* Defaults to 15 seconds. The timeout must be a value between 1s and 30s.
|
|
25361
|
+
* If a failoverOrigin is specified, the maxAttemptsTimeout of the first configured origin sets the deadline for all connection attempts across all failoverOrigins.
|
|
25360
25362
|
*/
|
|
25361
25363
|
maxAttemptsTimeout?: string;
|
|
25362
25364
|
/**
|
|
25363
|
-
* The maximum duration to wait
|
|
25364
|
-
* Defaults to
|
|
25365
|
+
* The maximum duration to wait between reads of a single HTTP connection/stream.
|
|
25366
|
+
* Defaults to 15 seconds. The timeout must be a value between 1s and 30s.
|
|
25367
|
+
* The readTimeout is capped by the responseTimeout. All reads of the HTTP connection/stream must be completed by the deadline set by the responseTimeout.
|
|
25368
|
+
* If the response headers have already been written to the connection, the response will be truncated and logged.
|
|
25369
|
+
*/
|
|
25370
|
+
readTimeout?: string;
|
|
25371
|
+
/**
|
|
25372
|
+
* The maximum duration to wait for the last byte of a response to arrive when reading from the HTTP connection/stream.
|
|
25373
|
+
* Defaults to 30 seconds. The timeout must be a value between 1s and 120s.
|
|
25374
|
+
* The responseTimeout starts after the connection has been established.
|
|
25375
|
+
* This also applies to HTTP Chunked Transfer Encoding responses, and/or when an open-ended Range request is made to the origin. Origins that take longer to write additional bytes to the response than the configured responseTimeout will result in an error being returned to the client.
|
|
25376
|
+
* If the response headers have already been written to the connection, the response will be truncated and logged.
|
|
25365
25377
|
*/
|
|
25366
25378
|
responseTimeout?: string;
|
|
25367
25379
|
}
|