@pulumi/fastly 4.1.0-alpha.1653604818 → 5.0.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/config/vars.d.ts +2 -1
- package/config/vars.js.map +1 -1
- package/getServices.d.ts +23 -0
- package/getServices.js +19 -0
- package/getServices.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +2 -1
- package/serviceAuthorization.d.ts +104 -0
- package/serviceAuthorization.js +94 -0
- package/serviceAuthorization.js.map +1 -0
- package/serviceCompute.d.ts +0 -54
- package/serviceCompute.js +0 -12
- package/serviceCompute.js.map +1 -1
- package/serviceVcl.d.ts +3 -3
- package/serviceVcl.js +3 -3
- package/types/input.d.ts +0 -76
- package/types/output.d.ts +13 -76
package/config/vars.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const baseUrl: string | undefined;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const forceHttp2: boolean | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* Set
|
|
16
|
+
* Set to `true` if your configuration only consumes data sources that do not require authentication, such as
|
|
17
|
+
* `fastly_ip_ranges`
|
|
17
18
|
*/
|
|
18
19
|
export declare const noAuth: boolean | undefined;
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC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nB,CAAC,CAAC"}
|
package/getServices.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get the list of the [Fastly services](https://developer.fastly.com/reference/api/services/service/).
|
|
5
|
+
*/
|
|
6
|
+
export declare function getServices(opts?: pulumi.InvokeOptions): Promise<GetServicesResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of values returned by getServices.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetServicesResult {
|
|
11
|
+
/**
|
|
12
|
+
* A detailed list of Fastly services in your account. This is limited to the services the API token can read.
|
|
13
|
+
*/
|
|
14
|
+
readonly details: outputs.GetServicesDetail[];
|
|
15
|
+
/**
|
|
16
|
+
* The provider-assigned unique ID for this managed resource.
|
|
17
|
+
*/
|
|
18
|
+
readonly id: string;
|
|
19
|
+
/**
|
|
20
|
+
* A list of service IDs in your account. This is limited to the services the API token can read.
|
|
21
|
+
*/
|
|
22
|
+
readonly ids: string[];
|
|
23
|
+
}
|
package/getServices.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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.getServices = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the list of the [Fastly services](https://developer.fastly.com/reference/api/services/service/).
|
|
10
|
+
*/
|
|
11
|
+
function getServices(opts) {
|
|
12
|
+
if (!opts) {
|
|
13
|
+
opts = {};
|
|
14
|
+
}
|
|
15
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
16
|
+
return pulumi.runtime.invoke("fastly:index/getServices:getServices", {}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getServices = getServices;
|
|
19
|
+
//# sourceMappingURL=getServices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getServices.js","sourceRoot":"","sources":["../getServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./getDatacenters";
|
|
2
2
|
export * from "./getFastlyIpRanges";
|
|
3
|
+
export * from "./getServices";
|
|
3
4
|
export * from "./getTlsActivation";
|
|
4
5
|
export * from "./getTlsActivationIds";
|
|
5
6
|
export * from "./getTlsCertificate";
|
|
@@ -16,6 +17,7 @@ export * from "./getTlsSubscriptionIds";
|
|
|
16
17
|
export * from "./getWafRules";
|
|
17
18
|
export * from "./provider";
|
|
18
19
|
export * from "./serviceACLEntries";
|
|
20
|
+
export * from "./serviceAuthorization";
|
|
19
21
|
export * from "./serviceCompute";
|
|
20
22
|
export * from "./serviceDictionaryItems";
|
|
21
23
|
export * from "./serviceDynamicSnippetContent";
|
package/index.js
CHANGED
|
@@ -22,6 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
// Export members:
|
|
23
23
|
__exportStar(require("./getDatacenters"), exports);
|
|
24
24
|
__exportStar(require("./getFastlyIpRanges"), exports);
|
|
25
|
+
__exportStar(require("./getServices"), exports);
|
|
25
26
|
__exportStar(require("./getTlsActivation"), exports);
|
|
26
27
|
__exportStar(require("./getTlsActivationIds"), exports);
|
|
27
28
|
__exportStar(require("./getTlsCertificate"), exports);
|
|
@@ -38,6 +39,7 @@ __exportStar(require("./getTlsSubscriptionIds"), exports);
|
|
|
38
39
|
__exportStar(require("./getWafRules"), exports);
|
|
39
40
|
__exportStar(require("./provider"), exports);
|
|
40
41
|
__exportStar(require("./serviceACLEntries"), exports);
|
|
42
|
+
__exportStar(require("./serviceAuthorization"), exports);
|
|
41
43
|
__exportStar(require("./serviceCompute"), exports);
|
|
42
44
|
__exportStar(require("./serviceDictionaryItems"), exports);
|
|
43
45
|
__exportStar(require("./serviceDynamicSnippetContent"), exports);
|
|
@@ -57,6 +59,7 @@ const types = require("./types");
|
|
|
57
59
|
exports.types = types;
|
|
58
60
|
// Import resources to register:
|
|
59
61
|
const serviceACLEntries_1 = require("./serviceACLEntries");
|
|
62
|
+
const serviceAuthorization_1 = require("./serviceAuthorization");
|
|
60
63
|
const serviceCompute_1 = require("./serviceCompute");
|
|
61
64
|
const serviceDictionaryItems_1 = require("./serviceDictionaryItems");
|
|
62
65
|
const serviceDynamicSnippetContent_1 = require("./serviceDynamicSnippetContent");
|
|
@@ -75,6 +78,8 @@ const _module = {
|
|
|
75
78
|
switch (type) {
|
|
76
79
|
case "fastly:index/serviceACLEntries:ServiceACLEntries":
|
|
77
80
|
return new serviceACLEntries_1.ServiceACLEntries(name, undefined, { urn });
|
|
81
|
+
case "fastly:index/serviceAuthorization:ServiceAuthorization":
|
|
82
|
+
return new serviceAuthorization_1.ServiceAuthorization(name, undefined, { urn });
|
|
78
83
|
case "fastly:index/serviceCompute:ServiceCompute":
|
|
79
84
|
return new serviceCompute_1.ServiceCompute(name, undefined, { urn });
|
|
80
85
|
case "fastly:index/serviceDictionaryItems:ServiceDictionaryItems":
|
|
@@ -105,6 +110,7 @@ const _module = {
|
|
|
105
110
|
},
|
|
106
111
|
};
|
|
107
112
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceACLEntries", _module);
|
|
113
|
+
pulumi.runtime.registerResourceModule("fastly", "index/serviceAuthorization", _module);
|
|
108
114
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceCompute", _module);
|
|
109
115
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceDictionaryItems", _module);
|
|
110
116
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceDynamicSnippetContent", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,iDAA+B;AAC/B,8DAA4C;AAC5C,iEAA+C;AAC/C,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,6CAA2B;AAC3B,sDAAoC;AACpC,mDAAiC;AACjC,2DAAyC;AACzC,iEAA+C;AAC/C,+CAA6B;AAC7B,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,oDAAkC;AAClC,8DAA4C;AAC5C,yCAAuB;AAEvB,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;AAChC,2DAAwD;AACxD,qDAAkD;AAClD,qEAAkE;AAClE,iFAA8E;AAC9E,6CAA0C;AAC1C,uEAAoE;AACpE,mDAAgD;AAChD,qDAAkD;AAClD,qEAAkE;AAClE,mDAAgD;AAChD,uDAAoD;AACpD,2EAAwE;AACxE,iCAA8B;AAE9B,MAAM,OAAO,GA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EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/fastly",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v5.0.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing fastly cloud 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 fastly
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource fastly v5.0.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/fastly",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v5.0.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing fastly cloud 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 fastly
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource fastly v5.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.d.ts
CHANGED
|
@@ -47,7 +47,8 @@ export interface ProviderArgs {
|
|
|
47
47
|
*/
|
|
48
48
|
forceHttp2?: pulumi.Input<boolean>;
|
|
49
49
|
/**
|
|
50
|
-
* Set
|
|
50
|
+
* Set to `true` if your configuration only consumes data sources that do not require authentication, such as
|
|
51
|
+
* `fastly_ip_ranges`
|
|
51
52
|
*/
|
|
52
53
|
noAuth?: pulumi.Input<boolean>;
|
|
53
54
|
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Configures authorization with granular permissions to services. Users can be granted rights for services on different levels.
|
|
4
|
+
*
|
|
5
|
+
* The Service Authorization resource requires a user id, service id and an optional permission.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Basic usage:
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as fastly from "@pulumi/fastly";
|
|
14
|
+
*
|
|
15
|
+
* const demo = new fastly.ServiceVcl("demo", {});
|
|
16
|
+
* //...
|
|
17
|
+
* const user = new fastly.User("user", {});
|
|
18
|
+
* // ...
|
|
19
|
+
* const auth = new fastly.ServiceAuthorization("auth", {
|
|
20
|
+
* serviceId: demo.id,
|
|
21
|
+
* userId: user.id,
|
|
22
|
+
* permission: "purge_all",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* A Fastly Service Authorization can be imported using their user ID, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import fastly:index/serviceAuthorization:ServiceAuthorization demo xxxxxxxxxxxxxxxxxxxx
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class ServiceAuthorization extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ServiceAuthorization resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceAuthorizationState, opts?: pulumi.CustomResourceOptions): ServiceAuthorization;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of ServiceAuthorization. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is ServiceAuthorization;
|
|
50
|
+
/**
|
|
51
|
+
* The permissions to grant the user. Can be `full`, `readOnly`, `purgeSelect` or `purgeAll`.
|
|
52
|
+
*/
|
|
53
|
+
readonly permission: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the service to grant permissions for.
|
|
56
|
+
*/
|
|
57
|
+
readonly serviceId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the user which will receive the granted permissions.
|
|
60
|
+
*/
|
|
61
|
+
readonly userId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a ServiceAuthorization resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: ServiceAuthorizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering ServiceAuthorization resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface ServiceAuthorizationState {
|
|
75
|
+
/**
|
|
76
|
+
* The permissions to grant the user. Can be `full`, `readOnly`, `purgeSelect` or `purgeAll`.
|
|
77
|
+
*/
|
|
78
|
+
permission?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the service to grant permissions for.
|
|
81
|
+
*/
|
|
82
|
+
serviceId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the user which will receive the granted permissions.
|
|
85
|
+
*/
|
|
86
|
+
userId?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a ServiceAuthorization resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface ServiceAuthorizationArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The permissions to grant the user. Can be `full`, `readOnly`, `purgeSelect` or `purgeAll`.
|
|
94
|
+
*/
|
|
95
|
+
permission: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the service to grant permissions for.
|
|
98
|
+
*/
|
|
99
|
+
serviceId: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the user which will receive the granted permissions.
|
|
102
|
+
*/
|
|
103
|
+
userId: pulumi.Input<string>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.ServiceAuthorization = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Configures authorization with granular permissions to services. Users can be granted rights for services on different levels.
|
|
10
|
+
*
|
|
11
|
+
* The Service Authorization resource requires a user id, service id and an optional permission.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Basic usage:
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as fastly from "@pulumi/fastly";
|
|
20
|
+
*
|
|
21
|
+
* const demo = new fastly.ServiceVcl("demo", {});
|
|
22
|
+
* //...
|
|
23
|
+
* const user = new fastly.User("user", {});
|
|
24
|
+
* // ...
|
|
25
|
+
* const auth = new fastly.ServiceAuthorization("auth", {
|
|
26
|
+
* serviceId: demo.id,
|
|
27
|
+
* userId: user.id,
|
|
28
|
+
* permission: "purge_all",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* A Fastly Service Authorization can be imported using their user ID, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import fastly:index/serviceAuthorization:ServiceAuthorization demo xxxxxxxxxxxxxxxxxxxx
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class ServiceAuthorization extends pulumi.CustomResource {
|
|
41
|
+
constructor(name, argsOrState, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (opts.id) {
|
|
45
|
+
const state = argsOrState;
|
|
46
|
+
resourceInputs["permission"] = state ? state.permission : undefined;
|
|
47
|
+
resourceInputs["serviceId"] = state ? state.serviceId : undefined;
|
|
48
|
+
resourceInputs["userId"] = state ? state.userId : undefined;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
const args = argsOrState;
|
|
52
|
+
if ((!args || args.permission === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'permission'");
|
|
54
|
+
}
|
|
55
|
+
if ((!args || args.serviceId === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'serviceId'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.userId === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'userId'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["permission"] = args ? args.permission : undefined;
|
|
62
|
+
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
63
|
+
resourceInputs["userId"] = args ? args.userId : undefined;
|
|
64
|
+
}
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
super(ServiceAuthorization.__pulumiType, name, resourceInputs, opts);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing ServiceAuthorization resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new ServiceAuthorization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of ServiceAuthorization. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === ServiceAuthorization.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ServiceAuthorization = ServiceAuthorization;
|
|
92
|
+
/** @internal */
|
|
93
|
+
ServiceAuthorization.__pulumiType = 'fastly:index/serviceAuthorization:ServiceAuthorization';
|
|
94
|
+
//# sourceMappingURL=serviceAuthorization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceAuthorization.js","sourceRoot":"","sources":["../serviceAuthorization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AAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA2EC;AA7DG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/serviceCompute.d.ts
CHANGED
|
@@ -48,16 +48,7 @@ export declare class ServiceCompute extends pulumi.CustomResource {
|
|
|
48
48
|
* Description field for the service. Default `Managed by Terraform`
|
|
49
49
|
*/
|
|
50
50
|
readonly comment: pulumi.Output<string | undefined>;
|
|
51
|
-
/**
|
|
52
|
-
* The default hostname
|
|
53
|
-
*/
|
|
54
|
-
readonly defaultHost: pulumi.Output<string | undefined>;
|
|
55
|
-
/**
|
|
56
|
-
* The default Time-to-live (TTL) for requests
|
|
57
|
-
*/
|
|
58
|
-
readonly defaultTtl: pulumi.Output<number | undefined>;
|
|
59
51
|
readonly dictionaries: pulumi.Output<outputs.ServiceComputeDictionary[] | undefined>;
|
|
60
|
-
readonly directors: pulumi.Output<outputs.ServiceComputeDirector[] | undefined>;
|
|
61
52
|
/**
|
|
62
53
|
* A set of Domain names to serve as entry points for your Service
|
|
63
54
|
*/
|
|
@@ -66,7 +57,6 @@ export declare class ServiceCompute extends pulumi.CustomResource {
|
|
|
66
57
|
* Services that are active cannot be destroyed. In order to destroy the Service, set `forceDestroy` to `true`. Default `false`
|
|
67
58
|
*/
|
|
68
59
|
readonly forceDestroy: pulumi.Output<boolean | undefined>;
|
|
69
|
-
readonly healthchecks: pulumi.Output<outputs.ServiceComputeHealthcheck[] | undefined>;
|
|
70
60
|
readonly loggingBigqueries: pulumi.Output<outputs.ServiceComputeLoggingBigquery[] | undefined>;
|
|
71
61
|
readonly loggingBlobstorages: pulumi.Output<outputs.ServiceComputeLoggingBlobstorage[] | undefined>;
|
|
72
62
|
readonly loggingCloudfiles: pulumi.Output<outputs.ServiceComputeLoggingCloudfile[] | undefined>;
|
|
@@ -101,14 +91,6 @@ export declare class ServiceCompute extends pulumi.CustomResource {
|
|
|
101
91
|
* The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service. See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)
|
|
102
92
|
*/
|
|
103
93
|
readonly package: pulumi.Output<outputs.ServiceComputePackage>;
|
|
104
|
-
/**
|
|
105
|
-
* Enables serving a stale object if there is an error
|
|
106
|
-
*/
|
|
107
|
-
readonly staleIfError: pulumi.Output<boolean | undefined>;
|
|
108
|
-
/**
|
|
109
|
-
* The default time-to-live (TTL) for serving the stale object for the version
|
|
110
|
-
*/
|
|
111
|
-
readonly staleIfErrorTtl: pulumi.Output<number | undefined>;
|
|
112
94
|
/**
|
|
113
95
|
* Description field for the version
|
|
114
96
|
*/
|
|
@@ -143,16 +125,7 @@ export interface ServiceComputeState {
|
|
|
143
125
|
* Description field for the service. Default `Managed by Terraform`
|
|
144
126
|
*/
|
|
145
127
|
comment?: pulumi.Input<string>;
|
|
146
|
-
/**
|
|
147
|
-
* The default hostname
|
|
148
|
-
*/
|
|
149
|
-
defaultHost?: pulumi.Input<string>;
|
|
150
|
-
/**
|
|
151
|
-
* The default Time-to-live (TTL) for requests
|
|
152
|
-
*/
|
|
153
|
-
defaultTtl?: pulumi.Input<number>;
|
|
154
128
|
dictionaries?: pulumi.Input<pulumi.Input<inputs.ServiceComputeDictionary>[]>;
|
|
155
|
-
directors?: pulumi.Input<pulumi.Input<inputs.ServiceComputeDirector>[]>;
|
|
156
129
|
/**
|
|
157
130
|
* A set of Domain names to serve as entry points for your Service
|
|
158
131
|
*/
|
|
@@ -161,7 +134,6 @@ export interface ServiceComputeState {
|
|
|
161
134
|
* Services that are active cannot be destroyed. In order to destroy the Service, set `forceDestroy` to `true`. Default `false`
|
|
162
135
|
*/
|
|
163
136
|
forceDestroy?: pulumi.Input<boolean>;
|
|
164
|
-
healthchecks?: pulumi.Input<pulumi.Input<inputs.ServiceComputeHealthcheck>[]>;
|
|
165
137
|
loggingBigqueries?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBigquery>[]>;
|
|
166
138
|
loggingBlobstorages?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBlobstorage>[]>;
|
|
167
139
|
loggingCloudfiles?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingCloudfile>[]>;
|
|
@@ -196,14 +168,6 @@ export interface ServiceComputeState {
|
|
|
196
168
|
* The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service. See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)
|
|
197
169
|
*/
|
|
198
170
|
package?: pulumi.Input<inputs.ServiceComputePackage>;
|
|
199
|
-
/**
|
|
200
|
-
* Enables serving a stale object if there is an error
|
|
201
|
-
*/
|
|
202
|
-
staleIfError?: pulumi.Input<boolean>;
|
|
203
|
-
/**
|
|
204
|
-
* The default time-to-live (TTL) for serving the stale object for the version
|
|
205
|
-
*/
|
|
206
|
-
staleIfErrorTtl?: pulumi.Input<number>;
|
|
207
171
|
/**
|
|
208
172
|
* Description field for the version
|
|
209
173
|
*/
|
|
@@ -222,16 +186,7 @@ export interface ServiceComputeArgs {
|
|
|
222
186
|
* Description field for the service. Default `Managed by Terraform`
|
|
223
187
|
*/
|
|
224
188
|
comment?: pulumi.Input<string>;
|
|
225
|
-
/**
|
|
226
|
-
* The default hostname
|
|
227
|
-
*/
|
|
228
|
-
defaultHost?: pulumi.Input<string>;
|
|
229
|
-
/**
|
|
230
|
-
* The default Time-to-live (TTL) for requests
|
|
231
|
-
*/
|
|
232
|
-
defaultTtl?: pulumi.Input<number>;
|
|
233
189
|
dictionaries?: pulumi.Input<pulumi.Input<inputs.ServiceComputeDictionary>[]>;
|
|
234
|
-
directors?: pulumi.Input<pulumi.Input<inputs.ServiceComputeDirector>[]>;
|
|
235
190
|
/**
|
|
236
191
|
* A set of Domain names to serve as entry points for your Service
|
|
237
192
|
*/
|
|
@@ -240,7 +195,6 @@ export interface ServiceComputeArgs {
|
|
|
240
195
|
* Services that are active cannot be destroyed. In order to destroy the Service, set `forceDestroy` to `true`. Default `false`
|
|
241
196
|
*/
|
|
242
197
|
forceDestroy?: pulumi.Input<boolean>;
|
|
243
|
-
healthchecks?: pulumi.Input<pulumi.Input<inputs.ServiceComputeHealthcheck>[]>;
|
|
244
198
|
loggingBigqueries?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBigquery>[]>;
|
|
245
199
|
loggingBlobstorages?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBlobstorage>[]>;
|
|
246
200
|
loggingCloudfiles?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingCloudfile>[]>;
|
|
@@ -275,14 +229,6 @@ export interface ServiceComputeArgs {
|
|
|
275
229
|
* The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service. See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)
|
|
276
230
|
*/
|
|
277
231
|
package: pulumi.Input<inputs.ServiceComputePackage>;
|
|
278
|
-
/**
|
|
279
|
-
* Enables serving a stale object if there is an error
|
|
280
|
-
*/
|
|
281
|
-
staleIfError?: pulumi.Input<boolean>;
|
|
282
|
-
/**
|
|
283
|
-
* The default time-to-live (TTL) for serving the stale object for the version
|
|
284
|
-
*/
|
|
285
|
-
staleIfErrorTtl?: pulumi.Input<number>;
|
|
286
232
|
/**
|
|
287
233
|
* Description field for the version
|
|
288
234
|
*/
|
package/serviceCompute.js
CHANGED
|
@@ -31,13 +31,9 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
31
31
|
resourceInputs["backends"] = state ? state.backends : undefined;
|
|
32
32
|
resourceInputs["clonedVersion"] = state ? state.clonedVersion : undefined;
|
|
33
33
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
34
|
-
resourceInputs["defaultHost"] = state ? state.defaultHost : undefined;
|
|
35
|
-
resourceInputs["defaultTtl"] = state ? state.defaultTtl : undefined;
|
|
36
34
|
resourceInputs["dictionaries"] = state ? state.dictionaries : undefined;
|
|
37
|
-
resourceInputs["directors"] = state ? state.directors : undefined;
|
|
38
35
|
resourceInputs["domains"] = state ? state.domains : undefined;
|
|
39
36
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
40
|
-
resourceInputs["healthchecks"] = state ? state.healthchecks : undefined;
|
|
41
37
|
resourceInputs["loggingBigqueries"] = state ? state.loggingBigqueries : undefined;
|
|
42
38
|
resourceInputs["loggingBlobstorages"] = state ? state.loggingBlobstorages : undefined;
|
|
43
39
|
resourceInputs["loggingCloudfiles"] = state ? state.loggingCloudfiles : undefined;
|
|
@@ -66,8 +62,6 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
66
62
|
resourceInputs["loggingSyslogs"] = state ? state.loggingSyslogs : undefined;
|
|
67
63
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
68
64
|
resourceInputs["package"] = state ? state.package : undefined;
|
|
69
|
-
resourceInputs["staleIfError"] = state ? state.staleIfError : undefined;
|
|
70
|
-
resourceInputs["staleIfErrorTtl"] = state ? state.staleIfErrorTtl : undefined;
|
|
71
65
|
resourceInputs["versionComment"] = state ? state.versionComment : undefined;
|
|
72
66
|
}
|
|
73
67
|
else {
|
|
@@ -81,13 +75,9 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
81
75
|
resourceInputs["activate"] = args ? args.activate : undefined;
|
|
82
76
|
resourceInputs["backends"] = args ? args.backends : undefined;
|
|
83
77
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
84
|
-
resourceInputs["defaultHost"] = args ? args.defaultHost : undefined;
|
|
85
|
-
resourceInputs["defaultTtl"] = args ? args.defaultTtl : undefined;
|
|
86
78
|
resourceInputs["dictionaries"] = args ? args.dictionaries : undefined;
|
|
87
|
-
resourceInputs["directors"] = args ? args.directors : undefined;
|
|
88
79
|
resourceInputs["domains"] = args ? args.domains : undefined;
|
|
89
80
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
90
|
-
resourceInputs["healthchecks"] = args ? args.healthchecks : undefined;
|
|
91
81
|
resourceInputs["loggingBigqueries"] = args ? args.loggingBigqueries : undefined;
|
|
92
82
|
resourceInputs["loggingBlobstorages"] = args ? args.loggingBlobstorages : undefined;
|
|
93
83
|
resourceInputs["loggingCloudfiles"] = args ? args.loggingCloudfiles : undefined;
|
|
@@ -116,8 +106,6 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
116
106
|
resourceInputs["loggingSyslogs"] = args ? args.loggingSyslogs : undefined;
|
|
117
107
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
118
108
|
resourceInputs["package"] = args ? args.package : undefined;
|
|
119
|
-
resourceInputs["staleIfError"] = args ? args.staleIfError : undefined;
|
|
120
|
-
resourceInputs["staleIfErrorTtl"] = args ? args.staleIfErrorTtl : undefined;
|
|
121
109
|
resourceInputs["versionComment"] = args ? args.versionComment : undefined;
|
|
122
110
|
resourceInputs["activeVersion"] = undefined /*out*/;
|
|
123
111
|
resourceInputs["clonedVersion"] = undefined /*out*/;
|
package/serviceCompute.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceCompute.js","sourceRoot":"","sources":["../serviceCompute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceCompute.js","sourceRoot":"","sources":["../serviceCompute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqGrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CA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C,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAgMC;AAlLG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/serviceVcl.d.ts
CHANGED
|
@@ -68,12 +68,12 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
68
68
|
* type: "cache",
|
|
69
69
|
* }],
|
|
70
70
|
* });
|
|
71
|
-
* const website = new aws.s3.
|
|
71
|
+
* const website = new aws.s3.BucketV2("website", {
|
|
72
72
|
* acl: "public-read",
|
|
73
|
-
*
|
|
73
|
+
* websites: [{
|
|
74
74
|
* errorDocument: "error.html",
|
|
75
75
|
* indexDocument: "index.html",
|
|
76
|
-
* },
|
|
76
|
+
* }],
|
|
77
77
|
* });
|
|
78
78
|
* ```
|
|
79
79
|
*
|
package/serviceVcl.js
CHANGED
|
@@ -73,12 +73,12 @@ const utilities = require("./utilities");
|
|
|
73
73
|
* type: "cache",
|
|
74
74
|
* }],
|
|
75
75
|
* });
|
|
76
|
-
* const website = new aws.s3.
|
|
76
|
+
* const website = new aws.s3.BucketV2("website", {
|
|
77
77
|
* acl: "public-read",
|
|
78
|
-
*
|
|
78
|
+
* websites: [{
|
|
79
79
|
* errorDocument: "error.html",
|
|
80
80
|
* indexDocument: "index.html",
|
|
81
|
-
* },
|
|
81
|
+
* }],
|
|
82
82
|
* });
|
|
83
83
|
* ```
|
|
84
84
|
*
|
package/types/input.d.ts
CHANGED
|
@@ -136,36 +136,6 @@ export interface ServiceComputeDictionary {
|
|
|
136
136
|
name: pulumi.Input<string>;
|
|
137
137
|
writeOnly?: pulumi.Input<boolean>;
|
|
138
138
|
}
|
|
139
|
-
export interface ServiceComputeDirector {
|
|
140
|
-
/**
|
|
141
|
-
* Names of defined backends to map the director to. Example: `[ "origin1", "origin2" ]`
|
|
142
|
-
*/
|
|
143
|
-
backends: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
-
/**
|
|
145
|
-
* An optional comment about the Director
|
|
146
|
-
*/
|
|
147
|
-
comment?: pulumi.Input<string>;
|
|
148
|
-
/**
|
|
149
|
-
* Unique name for this Director. It is important to note that changing this attribute will delete and recreate the resource
|
|
150
|
-
*/
|
|
151
|
-
name: pulumi.Input<string>;
|
|
152
|
-
/**
|
|
153
|
-
* Percentage of capacity that needs to be up for the director itself to be considered up. Default `75`
|
|
154
|
-
*/
|
|
155
|
-
quorum?: pulumi.Input<number>;
|
|
156
|
-
/**
|
|
157
|
-
* How many backends to search if it fails. Default `5`
|
|
158
|
-
*/
|
|
159
|
-
retries?: pulumi.Input<number>;
|
|
160
|
-
/**
|
|
161
|
-
* Selected POP to serve as a "shield" for backends. Valid values for `shield` are included in the [`GET /datacenters`](https://developer.fastly.com/reference/api/utils/datacenter/) API response
|
|
162
|
-
*/
|
|
163
|
-
shield?: pulumi.Input<string>;
|
|
164
|
-
/**
|
|
165
|
-
* Type of load balance group to use. Integer, 1 to 4. Values: `1` (random), `3` (hash), `4` (client). Default `1`
|
|
166
|
-
*/
|
|
167
|
-
type?: pulumi.Input<number>;
|
|
168
|
-
}
|
|
169
139
|
export interface ServiceComputeDomain {
|
|
170
140
|
/**
|
|
171
141
|
* An optional comment about the Domain.
|
|
@@ -176,52 +146,6 @@ export interface ServiceComputeDomain {
|
|
|
176
146
|
*/
|
|
177
147
|
name: pulumi.Input<string>;
|
|
178
148
|
}
|
|
179
|
-
export interface ServiceComputeHealthcheck {
|
|
180
|
-
/**
|
|
181
|
-
* How often to run the Healthcheck in milliseconds. Default `5000`
|
|
182
|
-
*/
|
|
183
|
-
checkInterval?: pulumi.Input<number>;
|
|
184
|
-
/**
|
|
185
|
-
* The status code expected from the host. Default `200`
|
|
186
|
-
*/
|
|
187
|
-
expectedResponse?: pulumi.Input<number>;
|
|
188
|
-
/**
|
|
189
|
-
* The Host header to send for this Healthcheck
|
|
190
|
-
*/
|
|
191
|
-
host: pulumi.Input<string>;
|
|
192
|
-
/**
|
|
193
|
-
* Whether to use version 1.0 or 1.1 HTTP. Default `1.1`
|
|
194
|
-
*/
|
|
195
|
-
httpVersion?: pulumi.Input<string>;
|
|
196
|
-
/**
|
|
197
|
-
* When loading a config, the initial number of probes to be seen as OK. Default `3`
|
|
198
|
-
*/
|
|
199
|
-
initial?: pulumi.Input<number>;
|
|
200
|
-
/**
|
|
201
|
-
* Which HTTP method to use. Default `HEAD`
|
|
202
|
-
*/
|
|
203
|
-
method?: pulumi.Input<string>;
|
|
204
|
-
/**
|
|
205
|
-
* A unique name to identify this Healthcheck. It is important to note that changing this attribute will delete and recreate the resource
|
|
206
|
-
*/
|
|
207
|
-
name: pulumi.Input<string>;
|
|
208
|
-
/**
|
|
209
|
-
* The path to check
|
|
210
|
-
*/
|
|
211
|
-
path: pulumi.Input<string>;
|
|
212
|
-
/**
|
|
213
|
-
* How many Healthchecks must succeed to be considered healthy. Default `3`
|
|
214
|
-
*/
|
|
215
|
-
threshold?: pulumi.Input<number>;
|
|
216
|
-
/**
|
|
217
|
-
* Timeout in milliseconds. Default `500`
|
|
218
|
-
*/
|
|
219
|
-
timeout?: pulumi.Input<number>;
|
|
220
|
-
/**
|
|
221
|
-
* The number of most recent Healthcheck queries to keep for this Healthcheck. Default `5`
|
|
222
|
-
*/
|
|
223
|
-
window?: pulumi.Input<number>;
|
|
224
|
-
}
|
|
225
149
|
export interface ServiceComputeLoggingBigquery {
|
|
226
150
|
/**
|
|
227
151
|
* The ID of your BigQuery dataset
|
package/types/output.d.ts
CHANGED
|
@@ -4,6 +4,19 @@ export interface GetDatacentersPop {
|
|
|
4
4
|
name: string;
|
|
5
5
|
shield: string;
|
|
6
6
|
}
|
|
7
|
+
export interface GetServicesDetail {
|
|
8
|
+
comment: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
customerId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The ID of this resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
updatedAt: string;
|
|
18
|
+
version: number;
|
|
19
|
+
}
|
|
7
20
|
export interface GetTlsConfigurationDnsRecord {
|
|
8
21
|
recordType: string;
|
|
9
22
|
recordValue: string;
|
|
@@ -160,36 +173,6 @@ export interface ServiceComputeDictionary {
|
|
|
160
173
|
name: string;
|
|
161
174
|
writeOnly?: boolean;
|
|
162
175
|
}
|
|
163
|
-
export interface ServiceComputeDirector {
|
|
164
|
-
/**
|
|
165
|
-
* Names of defined backends to map the director to. Example: `[ "origin1", "origin2" ]`
|
|
166
|
-
*/
|
|
167
|
-
backends: string[];
|
|
168
|
-
/**
|
|
169
|
-
* An optional comment about the Director
|
|
170
|
-
*/
|
|
171
|
-
comment?: string;
|
|
172
|
-
/**
|
|
173
|
-
* Unique name for this Director. It is important to note that changing this attribute will delete and recreate the resource
|
|
174
|
-
*/
|
|
175
|
-
name: string;
|
|
176
|
-
/**
|
|
177
|
-
* Percentage of capacity that needs to be up for the director itself to be considered up. Default `75`
|
|
178
|
-
*/
|
|
179
|
-
quorum?: number;
|
|
180
|
-
/**
|
|
181
|
-
* How many backends to search if it fails. Default `5`
|
|
182
|
-
*/
|
|
183
|
-
retries?: number;
|
|
184
|
-
/**
|
|
185
|
-
* Selected POP to serve as a "shield" for backends. Valid values for `shield` are included in the [`GET /datacenters`](https://developer.fastly.com/reference/api/utils/datacenter/) API response
|
|
186
|
-
*/
|
|
187
|
-
shield?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Type of load balance group to use. Integer, 1 to 4. Values: `1` (random), `3` (hash), `4` (client). Default `1`
|
|
190
|
-
*/
|
|
191
|
-
type?: number;
|
|
192
|
-
}
|
|
193
176
|
export interface ServiceComputeDomain {
|
|
194
177
|
/**
|
|
195
178
|
* An optional comment about the Domain.
|
|
@@ -200,52 +183,6 @@ export interface ServiceComputeDomain {
|
|
|
200
183
|
*/
|
|
201
184
|
name: string;
|
|
202
185
|
}
|
|
203
|
-
export interface ServiceComputeHealthcheck {
|
|
204
|
-
/**
|
|
205
|
-
* How often to run the Healthcheck in milliseconds. Default `5000`
|
|
206
|
-
*/
|
|
207
|
-
checkInterval?: number;
|
|
208
|
-
/**
|
|
209
|
-
* The status code expected from the host. Default `200`
|
|
210
|
-
*/
|
|
211
|
-
expectedResponse?: number;
|
|
212
|
-
/**
|
|
213
|
-
* The Host header to send for this Healthcheck
|
|
214
|
-
*/
|
|
215
|
-
host: string;
|
|
216
|
-
/**
|
|
217
|
-
* Whether to use version 1.0 or 1.1 HTTP. Default `1.1`
|
|
218
|
-
*/
|
|
219
|
-
httpVersion?: string;
|
|
220
|
-
/**
|
|
221
|
-
* When loading a config, the initial number of probes to be seen as OK. Default `3`
|
|
222
|
-
*/
|
|
223
|
-
initial?: number;
|
|
224
|
-
/**
|
|
225
|
-
* Which HTTP method to use. Default `HEAD`
|
|
226
|
-
*/
|
|
227
|
-
method?: string;
|
|
228
|
-
/**
|
|
229
|
-
* A unique name to identify this Healthcheck. It is important to note that changing this attribute will delete and recreate the resource
|
|
230
|
-
*/
|
|
231
|
-
name: string;
|
|
232
|
-
/**
|
|
233
|
-
* The path to check
|
|
234
|
-
*/
|
|
235
|
-
path: string;
|
|
236
|
-
/**
|
|
237
|
-
* How many Healthchecks must succeed to be considered healthy. Default `3`
|
|
238
|
-
*/
|
|
239
|
-
threshold?: number;
|
|
240
|
-
/**
|
|
241
|
-
* Timeout in milliseconds. Default `500`
|
|
242
|
-
*/
|
|
243
|
-
timeout?: number;
|
|
244
|
-
/**
|
|
245
|
-
* The number of most recent Healthcheck queries to keep for this Healthcheck. Default `5`
|
|
246
|
-
*/
|
|
247
|
-
window?: number;
|
|
248
|
-
}
|
|
249
186
|
export interface ServiceComputeLoggingBigquery {
|
|
250
187
|
/**
|
|
251
188
|
* The ID of your BigQuery dataset
|