@pulumi/fastly 5.0.1 → 5.2.0-alpha.1673556063
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/getDatacenters.d.ts +1 -1
- package/getDatacenters.js.map +1 -1
- package/getServices.d.ts +1 -1
- package/getServices.js.map +1 -1
- package/getTlsConfiguration.d.ts +1 -1
- package/getTlsConfiguration.js.map +1 -1
- package/getWafRules.d.ts +1 -1
- package/getWafRules.js.map +1 -1
- package/index.d.ts +88 -32
- package/index.js +89 -79
- package/index.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/serviceACLEntries.d.ts +2 -1
- package/serviceACLEntries.js +22 -22
- package/serviceACLEntries.js.map +1 -1
- package/serviceAuthorization.js +22 -22
- package/serviceAuthorization.js.map +1 -1
- package/serviceCompute.d.ts +28 -1
- package/serviceCompute.js +26 -22
- package/serviceCompute.js.map +1 -1
- package/serviceDictionaryItems.d.ts +1 -3
- package/serviceDictionaryItems.js +23 -25
- package/serviceDictionaryItems.js.map +1 -1
- package/serviceDynamicSnippetContent.js +22 -22
- package/serviceDynamicSnippetContent.js.map +1 -1
- package/serviceVcl.d.ts +28 -1
- package/serviceVcl.js +26 -22
- package/serviceVcl.js.map +1 -1
- package/serviceWafConfiguration.d.ts +2 -1
- package/serviceWafConfiguration.js +22 -22
- package/serviceWafConfiguration.js.map +1 -1
- package/tlsActivation.js +22 -22
- package/tlsActivation.js.map +1 -1
- package/tlsCertificate.d.ts +10 -1
- package/tlsCertificate.js +32 -23
- package/tlsCertificate.js.map +1 -1
- package/tlsPlatformCertificate.js +22 -22
- package/tlsPlatformCertificate.js.map +1 -1
- package/tlsPrivateKey.js +25 -23
- package/tlsPrivateKey.js.map +1 -1
- package/tlsSubscription.d.ts +2 -1
- package/tlsSubscription.js +22 -22
- package/tlsSubscription.js.map +1 -1
- package/tlsSubscriptionValidation.js +17 -17
- package/tlsSubscriptionValidation.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +8 -4
- package/types/output.d.ts +8 -4
- package/user.js +21 -21
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/serviceACLEntries.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceACLEntries.js","sourceRoot":"","sources":["../serviceACLEntries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"serviceACLEntries.js","sourceRoot":"","sources":["../serviceACLEntries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,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CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7EL,8CA8EC;AAhEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/serviceAuthorization.js
CHANGED
|
@@ -38,6 +38,28 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
class ServiceAuthorization extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ServiceAuthorization resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new ServiceAuthorization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of ServiceAuthorization. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === ServiceAuthorization.__pulumiType;
|
|
62
|
+
}
|
|
41
63
|
constructor(name, argsOrState, opts) {
|
|
42
64
|
let resourceInputs = {};
|
|
43
65
|
opts = opts || {};
|
|
@@ -65,28 +87,6 @@ class ServiceAuthorization extends pulumi.CustomResource {
|
|
|
65
87
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
88
|
super(ServiceAuthorization.__pulumiType, name, resourceInputs, opts);
|
|
67
89
|
}
|
|
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
90
|
}
|
|
91
91
|
exports.ServiceAuthorization = ServiceAuthorization;
|
|
92
92
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceAuthorization.js","sourceRoot":"","sources":["../serviceAuthorization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceAuthorization.js","sourceRoot":"","sources":["../serviceAuthorization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;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;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,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;;AA1EL,oDA2EC;AA7DG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/serviceCompute.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Import
|
|
5
6
|
*
|
|
@@ -57,6 +58,10 @@ export declare class ServiceCompute extends pulumi.CustomResource {
|
|
|
57
58
|
* Services that are active cannot be destroyed. In order to destroy the Service, set `forceDestroy` to `true`. Default `false`
|
|
58
59
|
*/
|
|
59
60
|
readonly forceDestroy: pulumi.Output<boolean | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
|
|
63
|
+
*/
|
|
64
|
+
readonly imported: pulumi.Output<boolean>;
|
|
60
65
|
readonly loggingBigqueries: pulumi.Output<outputs.ServiceComputeLoggingBigquery[] | undefined>;
|
|
61
66
|
readonly loggingBlobstorages: pulumi.Output<outputs.ServiceComputeLoggingBlobstorage[] | undefined>;
|
|
62
67
|
readonly loggingCloudfiles: pulumi.Output<outputs.ServiceComputeLoggingCloudfile[] | undefined>;
|
|
@@ -91,6 +96,12 @@ export declare class ServiceCompute extends pulumi.CustomResource {
|
|
|
91
96
|
* 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/)
|
|
92
97
|
*/
|
|
93
98
|
readonly package: pulumi.Output<outputs.ServiceComputePackage>;
|
|
99
|
+
/**
|
|
100
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
101
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
102
|
+
* an active service will cause an error. Default `false`
|
|
103
|
+
*/
|
|
104
|
+
readonly reuse: pulumi.Output<boolean | undefined>;
|
|
94
105
|
/**
|
|
95
106
|
* Description field for the version
|
|
96
107
|
*/
|
|
@@ -134,6 +145,10 @@ export interface ServiceComputeState {
|
|
|
134
145
|
* Services that are active cannot be destroyed. In order to destroy the Service, set `forceDestroy` to `true`. Default `false`
|
|
135
146
|
*/
|
|
136
147
|
forceDestroy?: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
|
|
150
|
+
*/
|
|
151
|
+
imported?: pulumi.Input<boolean>;
|
|
137
152
|
loggingBigqueries?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBigquery>[]>;
|
|
138
153
|
loggingBlobstorages?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingBlobstorage>[]>;
|
|
139
154
|
loggingCloudfiles?: pulumi.Input<pulumi.Input<inputs.ServiceComputeLoggingCloudfile>[]>;
|
|
@@ -168,6 +183,12 @@ export interface ServiceComputeState {
|
|
|
168
183
|
* 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/)
|
|
169
184
|
*/
|
|
170
185
|
package?: pulumi.Input<inputs.ServiceComputePackage>;
|
|
186
|
+
/**
|
|
187
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
188
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
189
|
+
* an active service will cause an error. Default `false`
|
|
190
|
+
*/
|
|
191
|
+
reuse?: pulumi.Input<boolean>;
|
|
171
192
|
/**
|
|
172
193
|
* Description field for the version
|
|
173
194
|
*/
|
|
@@ -229,6 +250,12 @@ export interface ServiceComputeArgs {
|
|
|
229
250
|
* 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/)
|
|
230
251
|
*/
|
|
231
252
|
package: pulumi.Input<inputs.ServiceComputePackage>;
|
|
253
|
+
/**
|
|
254
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
255
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
256
|
+
* an active service will cause an error. Default `false`
|
|
257
|
+
*/
|
|
258
|
+
reuse?: pulumi.Input<boolean>;
|
|
232
259
|
/**
|
|
233
260
|
* Description field for the version
|
|
234
261
|
*/
|
package/serviceCompute.js
CHANGED
|
@@ -21,6 +21,28 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
class ServiceCompute extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing ServiceCompute resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name, id, state, opts) {
|
|
34
|
+
return new ServiceCompute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of ServiceCompute. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj) {
|
|
41
|
+
if (obj === undefined || obj === null) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
return obj['__pulumiType'] === ServiceCompute.__pulumiType;
|
|
45
|
+
}
|
|
24
46
|
constructor(name, argsOrState, opts) {
|
|
25
47
|
let resourceInputs = {};
|
|
26
48
|
opts = opts || {};
|
|
@@ -34,6 +56,7 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
34
56
|
resourceInputs["dictionaries"] = state ? state.dictionaries : undefined;
|
|
35
57
|
resourceInputs["domains"] = state ? state.domains : undefined;
|
|
36
58
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
59
|
+
resourceInputs["imported"] = state ? state.imported : undefined;
|
|
37
60
|
resourceInputs["loggingBigqueries"] = state ? state.loggingBigqueries : undefined;
|
|
38
61
|
resourceInputs["loggingBlobstorages"] = state ? state.loggingBlobstorages : undefined;
|
|
39
62
|
resourceInputs["loggingCloudfiles"] = state ? state.loggingCloudfiles : undefined;
|
|
@@ -62,6 +85,7 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
62
85
|
resourceInputs["loggingSyslogs"] = state ? state.loggingSyslogs : undefined;
|
|
63
86
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
87
|
resourceInputs["package"] = state ? state.package : undefined;
|
|
88
|
+
resourceInputs["reuse"] = state ? state.reuse : undefined;
|
|
65
89
|
resourceInputs["versionComment"] = state ? state.versionComment : undefined;
|
|
66
90
|
}
|
|
67
91
|
else {
|
|
@@ -106,35 +130,15 @@ class ServiceCompute extends pulumi.CustomResource {
|
|
|
106
130
|
resourceInputs["loggingSyslogs"] = args ? args.loggingSyslogs : undefined;
|
|
107
131
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
108
132
|
resourceInputs["package"] = args ? args.package : undefined;
|
|
133
|
+
resourceInputs["reuse"] = args ? args.reuse : undefined;
|
|
109
134
|
resourceInputs["versionComment"] = args ? args.versionComment : undefined;
|
|
110
135
|
resourceInputs["activeVersion"] = undefined /*out*/;
|
|
111
136
|
resourceInputs["clonedVersion"] = undefined /*out*/;
|
|
137
|
+
resourceInputs["imported"] = undefined /*out*/;
|
|
112
138
|
}
|
|
113
139
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
140
|
super(ServiceCompute.__pulumiType, name, resourceInputs, opts);
|
|
115
141
|
}
|
|
116
|
-
/**
|
|
117
|
-
* Get an existing ServiceCompute resource's state with the given name, ID, and optional extra
|
|
118
|
-
* properties used to qualify the lookup.
|
|
119
|
-
*
|
|
120
|
-
* @param name The _unique_ name of the resulting resource.
|
|
121
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
122
|
-
* @param state Any extra arguments used during the lookup.
|
|
123
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
124
|
-
*/
|
|
125
|
-
static get(name, id, state, opts) {
|
|
126
|
-
return new ServiceCompute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Returns true if the given object is an instance of ServiceCompute. This is designed to work even
|
|
130
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
131
|
-
*/
|
|
132
|
-
static isInstance(obj) {
|
|
133
|
-
if (obj === undefined || obj === null) {
|
|
134
|
-
return false;
|
|
135
|
-
}
|
|
136
|
-
return obj['__pulumiType'] === ServiceCompute.__pulumiType;
|
|
137
|
-
}
|
|
138
142
|
}
|
|
139
143
|
exports.ServiceCompute = ServiceCompute;
|
|
140
144
|
/** @internal */
|
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;
|
|
1
|
+
{"version":3,"file":"serviceCompute.js","sourceRoot":"","sources":["../serviceCompute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAqFD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7ML,wCA8MC;AAhMG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -8,9 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* $ pulumi import fastly:index/serviceDictionaryItems:ServiceDictionaryItems items xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
|
-
* If Terraform is already managing remote dictionary items against a resource being imported then the user will be asked to remove it from the existing Terraform state.
|
|
12
|
-
*
|
|
13
|
-
* The following is an example of the Terraform state command to remove the resource named `fastly_service_dictionary_items.items` from the Terraform state file. $ terraform state rm fastly_service_dictionary_items.items
|
|
11
|
+
* If Terraform is already managing remote dictionary items against a resource being imported then the user will be asked to remove it from the existing Terraform state. The following is an example of the Terraform state command to remove the resource named `fastly_service_dictionary_items.items` from the Terraform state file. $ terraform state rm fastly_service_dictionary_items.items
|
|
14
12
|
*/
|
|
15
13
|
export declare class ServiceDictionaryItems extends pulumi.CustomResource {
|
|
16
14
|
/**
|
|
@@ -14,11 +14,31 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* $ pulumi import fastly:index/serviceDictionaryItems:ServiceDictionaryItems items xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
-
* If Terraform is already managing remote dictionary items against a resource being imported then the user will be asked to remove it from the existing Terraform state.
|
|
18
|
-
*
|
|
19
|
-
* The following is an example of the Terraform state command to remove the resource named `fastly_service_dictionary_items.items` from the Terraform state file. $ terraform state rm fastly_service_dictionary_items.items
|
|
17
|
+
* If Terraform is already managing remote dictionary items against a resource being imported then the user will be asked to remove it from the existing Terraform state. The following is an example of the Terraform state command to remove the resource named `fastly_service_dictionary_items.items` from the Terraform state file. $ terraform state rm fastly_service_dictionary_items.items
|
|
20
18
|
*/
|
|
21
19
|
class ServiceDictionaryItems extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing ServiceDictionaryItems resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new ServiceDictionaryItems(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of ServiceDictionaryItems. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === ServiceDictionaryItems.__pulumiType;
|
|
41
|
+
}
|
|
22
42
|
constructor(name, argsOrState, opts) {
|
|
23
43
|
let resourceInputs = {};
|
|
24
44
|
opts = opts || {};
|
|
@@ -45,28 +65,6 @@ class ServiceDictionaryItems extends pulumi.CustomResource {
|
|
|
45
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
46
66
|
super(ServiceDictionaryItems.__pulumiType, name, resourceInputs, opts);
|
|
47
67
|
}
|
|
48
|
-
/**
|
|
49
|
-
* Get an existing ServiceDictionaryItems resource's state with the given name, ID, and optional extra
|
|
50
|
-
* properties used to qualify the lookup.
|
|
51
|
-
*
|
|
52
|
-
* @param name The _unique_ name of the resulting resource.
|
|
53
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
-
* @param state Any extra arguments used during the lookup.
|
|
55
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
-
*/
|
|
57
|
-
static get(name, id, state, opts) {
|
|
58
|
-
return new ServiceDictionaryItems(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Returns true if the given object is an instance of ServiceDictionaryItems. This is designed to work even
|
|
62
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
-
*/
|
|
64
|
-
static isInstance(obj) {
|
|
65
|
-
if (obj === undefined || obj === null) {
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
return obj['__pulumiType'] === ServiceDictionaryItems.__pulumiType;
|
|
69
|
-
}
|
|
70
68
|
}
|
|
71
69
|
exports.ServiceDictionaryItems = ServiceDictionaryItems;
|
|
72
70
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceDictionaryItems.js","sourceRoot":"","sources":["../serviceDictionaryItems.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serviceDictionaryItems.js","sourceRoot":"","sources":["../serviceDictionaryItems.ts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AAI,GAAG,WAAqD,CAAC;YACnE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA7EL,wDA8EC;AAhEG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -17,6 +17,28 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* If Terraform is already managing remote content against a resource being imported then the user will be asked to remove it from the existing Terraform state. The following is an example of the Terraform state command to remove the resource named `fastly_service_dynamic_snippet_content.content` from the Terraform state file. $ terraform state rm fastly_service_dynamic_snippet_content.content
|
|
18
18
|
*/
|
|
19
19
|
class ServiceDynamicSnippetContent extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing ServiceDynamicSnippetContent resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new ServiceDynamicSnippetContent(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of ServiceDynamicSnippetContent. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === ServiceDynamicSnippetContent.__pulumiType;
|
|
41
|
+
}
|
|
20
42
|
constructor(name, argsOrState, opts) {
|
|
21
43
|
let resourceInputs = {};
|
|
22
44
|
opts = opts || {};
|
|
@@ -46,28 +68,6 @@ class ServiceDynamicSnippetContent extends pulumi.CustomResource {
|
|
|
46
68
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
69
|
super(ServiceDynamicSnippetContent.__pulumiType, name, resourceInputs, opts);
|
|
48
70
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Get an existing ServiceDynamicSnippetContent resource's state with the given name, ID, and optional extra
|
|
51
|
-
* properties used to qualify the lookup.
|
|
52
|
-
*
|
|
53
|
-
* @param name The _unique_ name of the resulting resource.
|
|
54
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
-
* @param state Any extra arguments used during the lookup.
|
|
56
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
-
*/
|
|
58
|
-
static get(name, id, state, opts) {
|
|
59
|
-
return new ServiceDynamicSnippetContent(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Returns true if the given object is an instance of ServiceDynamicSnippetContent. This is designed to work even
|
|
63
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
-
*/
|
|
65
|
-
static isInstance(obj) {
|
|
66
|
-
if (obj === undefined || obj === null) {
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
return obj['__pulumiType'] === ServiceDynamicSnippetContent.__pulumiType;
|
|
70
|
-
}
|
|
71
71
|
}
|
|
72
72
|
exports.ServiceDynamicSnippetContent = ServiceDynamicSnippetContent;
|
|
73
73
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceDynamicSnippetContent.js","sourceRoot":"","sources":["../serviceDynamicSnippetContent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceDynamicSnippetContent.js","sourceRoot":"","sources":["../serviceDynamicSnippetContent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,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CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAhFL,oEAiFC;AAnEG,gBAAgB;AACO,yCAAY,GAAG,wEAAwE,CAAC"}
|
package/serviceVcl.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Provides a Fastly Service, representing the configuration for a website, app,
|
|
5
6
|
* API, or anything else to be served through Fastly. A Service encompasses Domains
|
|
@@ -276,6 +277,10 @@ export declare class ServiceVcl extends pulumi.CustomResource {
|
|
|
276
277
|
readonly gzips: pulumi.Output<outputs.ServiceVclGzip[] | undefined>;
|
|
277
278
|
readonly headers: pulumi.Output<outputs.ServiceVclHeader[] | undefined>;
|
|
278
279
|
readonly healthchecks: pulumi.Output<outputs.ServiceVclHealthcheck[] | undefined>;
|
|
280
|
+
/**
|
|
281
|
+
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
|
|
282
|
+
*/
|
|
283
|
+
readonly imported: pulumi.Output<boolean>;
|
|
279
284
|
readonly loggingBigqueries: pulumi.Output<outputs.ServiceVclLoggingBigquery[] | undefined>;
|
|
280
285
|
readonly loggingBlobstorages: pulumi.Output<outputs.ServiceVclLoggingBlobstorage[] | undefined>;
|
|
281
286
|
readonly loggingCloudfiles: pulumi.Output<outputs.ServiceVclLoggingCloudfile[] | undefined>;
|
|
@@ -308,6 +313,12 @@ export declare class ServiceVcl extends pulumi.CustomResource {
|
|
|
308
313
|
readonly name: pulumi.Output<string>;
|
|
309
314
|
readonly requestSettings: pulumi.Output<outputs.ServiceVclRequestSetting[] | undefined>;
|
|
310
315
|
readonly responseObjects: pulumi.Output<outputs.ServiceVclResponseObject[] | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
318
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
319
|
+
* an active service will cause an error. Default `false`
|
|
320
|
+
*/
|
|
321
|
+
readonly reuse: pulumi.Output<boolean | undefined>;
|
|
311
322
|
readonly snippets: pulumi.Output<outputs.ServiceVclSnippet[] | undefined>;
|
|
312
323
|
/**
|
|
313
324
|
* Enables serving a stale object if there is an error
|
|
@@ -378,6 +389,10 @@ export interface ServiceVclState {
|
|
|
378
389
|
gzips?: pulumi.Input<pulumi.Input<inputs.ServiceVclGzip>[]>;
|
|
379
390
|
headers?: pulumi.Input<pulumi.Input<inputs.ServiceVclHeader>[]>;
|
|
380
391
|
healthchecks?: pulumi.Input<pulumi.Input<inputs.ServiceVclHealthcheck>[]>;
|
|
392
|
+
/**
|
|
393
|
+
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
|
|
394
|
+
*/
|
|
395
|
+
imported?: pulumi.Input<boolean>;
|
|
381
396
|
loggingBigqueries?: pulumi.Input<pulumi.Input<inputs.ServiceVclLoggingBigquery>[]>;
|
|
382
397
|
loggingBlobstorages?: pulumi.Input<pulumi.Input<inputs.ServiceVclLoggingBlobstorage>[]>;
|
|
383
398
|
loggingCloudfiles?: pulumi.Input<pulumi.Input<inputs.ServiceVclLoggingCloudfile>[]>;
|
|
@@ -410,6 +425,12 @@ export interface ServiceVclState {
|
|
|
410
425
|
name?: pulumi.Input<string>;
|
|
411
426
|
requestSettings?: pulumi.Input<pulumi.Input<inputs.ServiceVclRequestSetting>[]>;
|
|
412
427
|
responseObjects?: pulumi.Input<pulumi.Input<inputs.ServiceVclResponseObject>[]>;
|
|
428
|
+
/**
|
|
429
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
430
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
431
|
+
* an active service will cause an error. Default `false`
|
|
432
|
+
*/
|
|
433
|
+
reuse?: pulumi.Input<boolean>;
|
|
413
434
|
snippets?: pulumi.Input<pulumi.Input<inputs.ServiceVclSnippet>[]>;
|
|
414
435
|
/**
|
|
415
436
|
* Enables serving a stale object if there is an error
|
|
@@ -496,6 +517,12 @@ export interface ServiceVclArgs {
|
|
|
496
517
|
name?: pulumi.Input<string>;
|
|
497
518
|
requestSettings?: pulumi.Input<pulumi.Input<inputs.ServiceVclRequestSetting>[]>;
|
|
498
519
|
responseObjects?: pulumi.Input<pulumi.Input<inputs.ServiceVclResponseObject>[]>;
|
|
520
|
+
/**
|
|
521
|
+
* Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be
|
|
522
|
+
* deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy
|
|
523
|
+
* an active service will cause an error. Default `false`
|
|
524
|
+
*/
|
|
525
|
+
reuse?: pulumi.Input<boolean>;
|
|
499
526
|
snippets?: pulumi.Input<pulumi.Input<inputs.ServiceVclSnippet>[]>;
|
|
500
527
|
/**
|
|
501
528
|
* Enables serving a stale object if there is an error
|
package/serviceVcl.js
CHANGED
|
@@ -224,6 +224,28 @@ const utilities = require("./utilities");
|
|
|
224
224
|
* ```
|
|
225
225
|
*/
|
|
226
226
|
class ServiceVcl extends pulumi.CustomResource {
|
|
227
|
+
/**
|
|
228
|
+
* Get an existing ServiceVcl resource's state with the given name, ID, and optional extra
|
|
229
|
+
* properties used to qualify the lookup.
|
|
230
|
+
*
|
|
231
|
+
* @param name The _unique_ name of the resulting resource.
|
|
232
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
233
|
+
* @param state Any extra arguments used during the lookup.
|
|
234
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
235
|
+
*/
|
|
236
|
+
static get(name, id, state, opts) {
|
|
237
|
+
return new ServiceVcl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Returns true if the given object is an instance of ServiceVcl. This is designed to work even
|
|
241
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
242
|
+
*/
|
|
243
|
+
static isInstance(obj) {
|
|
244
|
+
if (obj === undefined || obj === null) {
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
return obj['__pulumiType'] === ServiceVcl.__pulumiType;
|
|
248
|
+
}
|
|
227
249
|
constructor(name, argsOrState, opts) {
|
|
228
250
|
let resourceInputs = {};
|
|
229
251
|
opts = opts || {};
|
|
@@ -247,6 +269,7 @@ class ServiceVcl extends pulumi.CustomResource {
|
|
|
247
269
|
resourceInputs["gzips"] = state ? state.gzips : undefined;
|
|
248
270
|
resourceInputs["headers"] = state ? state.headers : undefined;
|
|
249
271
|
resourceInputs["healthchecks"] = state ? state.healthchecks : undefined;
|
|
272
|
+
resourceInputs["imported"] = state ? state.imported : undefined;
|
|
250
273
|
resourceInputs["loggingBigqueries"] = state ? state.loggingBigqueries : undefined;
|
|
251
274
|
resourceInputs["loggingBlobstorages"] = state ? state.loggingBlobstorages : undefined;
|
|
252
275
|
resourceInputs["loggingCloudfiles"] = state ? state.loggingCloudfiles : undefined;
|
|
@@ -276,6 +299,7 @@ class ServiceVcl extends pulumi.CustomResource {
|
|
|
276
299
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
277
300
|
resourceInputs["requestSettings"] = state ? state.requestSettings : undefined;
|
|
278
301
|
resourceInputs["responseObjects"] = state ? state.responseObjects : undefined;
|
|
302
|
+
resourceInputs["reuse"] = state ? state.reuse : undefined;
|
|
279
303
|
resourceInputs["snippets"] = state ? state.snippets : undefined;
|
|
280
304
|
resourceInputs["staleIfError"] = state ? state.staleIfError : undefined;
|
|
281
305
|
resourceInputs["staleIfErrorTtl"] = state ? state.staleIfErrorTtl : undefined;
|
|
@@ -333,6 +357,7 @@ class ServiceVcl extends pulumi.CustomResource {
|
|
|
333
357
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
334
358
|
resourceInputs["requestSettings"] = args ? args.requestSettings : undefined;
|
|
335
359
|
resourceInputs["responseObjects"] = args ? args.responseObjects : undefined;
|
|
360
|
+
resourceInputs["reuse"] = args ? args.reuse : undefined;
|
|
336
361
|
resourceInputs["snippets"] = args ? args.snippets : undefined;
|
|
337
362
|
resourceInputs["staleIfError"] = args ? args.staleIfError : undefined;
|
|
338
363
|
resourceInputs["staleIfErrorTtl"] = args ? args.staleIfErrorTtl : undefined;
|
|
@@ -341,32 +366,11 @@ class ServiceVcl extends pulumi.CustomResource {
|
|
|
341
366
|
resourceInputs["waf"] = args ? args.waf : undefined;
|
|
342
367
|
resourceInputs["activeVersion"] = undefined /*out*/;
|
|
343
368
|
resourceInputs["clonedVersion"] = undefined /*out*/;
|
|
369
|
+
resourceInputs["imported"] = undefined /*out*/;
|
|
344
370
|
}
|
|
345
371
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
346
372
|
super(ServiceVcl.__pulumiType, name, resourceInputs, opts);
|
|
347
373
|
}
|
|
348
|
-
/**
|
|
349
|
-
* Get an existing ServiceVcl resource's state with the given name, ID, and optional extra
|
|
350
|
-
* properties used to qualify the lookup.
|
|
351
|
-
*
|
|
352
|
-
* @param name The _unique_ name of the resulting resource.
|
|
353
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
354
|
-
* @param state Any extra arguments used during the lookup.
|
|
355
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
356
|
-
*/
|
|
357
|
-
static get(name, id, state, opts) {
|
|
358
|
-
return new ServiceVcl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Returns true if the given object is an instance of ServiceVcl. This is designed to work even
|
|
362
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
363
|
-
*/
|
|
364
|
-
static isInstance(obj) {
|
|
365
|
-
if (obj === undefined || obj === null) {
|
|
366
|
-
return false;
|
|
367
|
-
}
|
|
368
|
-
return obj['__pulumiType'] === ServiceVcl.__pulumiType;
|
|
369
|
-
}
|
|
370
374
|
}
|
|
371
375
|
exports.ServiceVcl = ServiceVcl;
|
|
372
376
|
/** @internal */
|