@pulumi/fastly 3.13.0 → 4.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/index.js +5 -1
- package/config/index.js.map +1 -1
- package/getDatacenters.d.ts +19 -0
- package/getDatacenters.js +19 -0
- package/getDatacenters.js.map +1 -0
- package/index.d.ts +6 -5
- package/index.js +31 -26
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/serviceACLEntries.d.ts +96 -0
- package/{serviceACLEntriesv1.js → serviceACLEntries.js} +16 -12
- package/serviceACLEntries.js.map +1 -0
- package/serviceCompute.d.ts +30 -30
- package/serviceCompute.js +20 -20
- package/serviceCompute.js.map +1 -1
- package/serviceDictionaryItems.d.ts +103 -0
- package/serviceDictionaryItems.js +74 -0
- package/serviceDictionaryItems.js.map +1 -0
- package/{serviceDynamicSnippetContentv1.d.ts → serviceDynamicSnippetContent.d.ts} +27 -21
- package/{serviceDynamicSnippetContentv1.js → serviceDynamicSnippetContent.js} +16 -20
- package/serviceDynamicSnippetContent.js.map +1 -0
- package/{servicev1.d.ts → serviceVcl.d.ts} +145 -144
- package/{servicev1.js → serviceVcl.js} +40 -39
- package/serviceVcl.js.map +1 -0
- package/serviceWafConfiguration.d.ts +11 -11
- package/serviceWafConfiguration.js +11 -11
- package/tlsActivation.d.ts +2 -2
- package/tlsActivation.js +2 -2
- package/tlsSubscriptionValidation.d.ts +2 -2
- package/tlsSubscriptionValidation.js +2 -2
- package/types/input.d.ts +767 -777
- package/types/output.d.ts +772 -776
- package/{userv1.d.ts → user.d.ts} +13 -13
- package/{userv1.js → user.js} +12 -12
- package/user.js.map +1 -0
- package/serviceACLEntriesv1.d.ts +0 -82
- package/serviceACLEntriesv1.js.map +0 -1
- package/serviceDictionaryItemsv1.d.ts +0 -121
- package/serviceDictionaryItemsv1.js +0 -102
- package/serviceDictionaryItemsv1.js.map +0 -1
- package/serviceDynamicSnippetContentv1.js.map +0 -1
- package/servicev1.js.map +0 -1
- package/userv1.js.map +0 -1
package/config/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 datacenters](https://developer.fastly.com/reference/api/utils/pops/).
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDatacenters(opts?: pulumi.InvokeOptions): Promise<GetDatacentersResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of values returned by getDatacenters.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetDatacentersResult {
|
|
11
|
+
/**
|
|
12
|
+
* The provider-assigned unique ID for this managed resource.
|
|
13
|
+
*/
|
|
14
|
+
readonly id: string;
|
|
15
|
+
/**
|
|
16
|
+
* A list of all Fastly POPs.
|
|
17
|
+
*/
|
|
18
|
+
readonly pops: outputs.GetDatacentersPop[];
|
|
19
|
+
}
|
|
@@ -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.getDatacenters = 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 datacenters](https://developer.fastly.com/reference/api/utils/pops/).
|
|
10
|
+
*/
|
|
11
|
+
function getDatacenters(opts) {
|
|
12
|
+
if (!opts) {
|
|
13
|
+
opts = {};
|
|
14
|
+
}
|
|
15
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
16
|
+
return pulumi.runtime.invoke("fastly:index/getDatacenters:getDatacenters", {}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getDatacenters = getDatacenters;
|
|
19
|
+
//# sourceMappingURL=getDatacenters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,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,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./getDatacenters";
|
|
1
2
|
export * from "./getFastlyIpRanges";
|
|
2
3
|
export * from "./getTlsActivation";
|
|
3
4
|
export * from "./getTlsActivationIds";
|
|
@@ -14,19 +15,19 @@ export * from "./getTlsSubscription";
|
|
|
14
15
|
export * from "./getTlsSubscriptionIds";
|
|
15
16
|
export * from "./getWafRules";
|
|
16
17
|
export * from "./provider";
|
|
17
|
-
export * from "./
|
|
18
|
+
export * from "./serviceACLEntries";
|
|
18
19
|
export * from "./serviceCompute";
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
20
|
+
export * from "./serviceDictionaryItems";
|
|
21
|
+
export * from "./serviceDynamicSnippetContent";
|
|
22
|
+
export * from "./serviceVcl";
|
|
21
23
|
export * from "./serviceWafConfiguration";
|
|
22
|
-
export * from "./servicev1";
|
|
23
24
|
export * from "./tlsActivation";
|
|
24
25
|
export * from "./tlsCertificate";
|
|
25
26
|
export * from "./tlsPlatformCertificate";
|
|
26
27
|
export * from "./tlsPrivateKey";
|
|
27
28
|
export * from "./tlsSubscription";
|
|
28
29
|
export * from "./tlsSubscriptionValidation";
|
|
29
|
-
export * from "./
|
|
30
|
+
export * from "./user";
|
|
30
31
|
import * as config from "./config";
|
|
31
32
|
import * as types from "./types";
|
|
32
33
|
export { config, types, };
|
package/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
|
@@ -16,6 +20,7 @@ exports.types = exports.config = void 0;
|
|
|
16
20
|
const pulumi = require("@pulumi/pulumi");
|
|
17
21
|
const utilities = require("./utilities");
|
|
18
22
|
// Export members:
|
|
23
|
+
__exportStar(require("./getDatacenters"), exports);
|
|
19
24
|
__exportStar(require("./getFastlyIpRanges"), exports);
|
|
20
25
|
__exportStar(require("./getTlsActivation"), exports);
|
|
21
26
|
__exportStar(require("./getTlsActivationIds"), exports);
|
|
@@ -32,54 +37,54 @@ __exportStar(require("./getTlsSubscription"), exports);
|
|
|
32
37
|
__exportStar(require("./getTlsSubscriptionIds"), exports);
|
|
33
38
|
__exportStar(require("./getWafRules"), exports);
|
|
34
39
|
__exportStar(require("./provider"), exports);
|
|
35
|
-
__exportStar(require("./
|
|
40
|
+
__exportStar(require("./serviceACLEntries"), exports);
|
|
36
41
|
__exportStar(require("./serviceCompute"), exports);
|
|
37
|
-
__exportStar(require("./
|
|
38
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./serviceDictionaryItems"), exports);
|
|
43
|
+
__exportStar(require("./serviceDynamicSnippetContent"), exports);
|
|
44
|
+
__exportStar(require("./serviceVcl"), exports);
|
|
39
45
|
__exportStar(require("./serviceWafConfiguration"), exports);
|
|
40
|
-
__exportStar(require("./servicev1"), exports);
|
|
41
46
|
__exportStar(require("./tlsActivation"), exports);
|
|
42
47
|
__exportStar(require("./tlsCertificate"), exports);
|
|
43
48
|
__exportStar(require("./tlsPlatformCertificate"), exports);
|
|
44
49
|
__exportStar(require("./tlsPrivateKey"), exports);
|
|
45
50
|
__exportStar(require("./tlsSubscription"), exports);
|
|
46
51
|
__exportStar(require("./tlsSubscriptionValidation"), exports);
|
|
47
|
-
__exportStar(require("./
|
|
52
|
+
__exportStar(require("./user"), exports);
|
|
48
53
|
// Export sub-modules:
|
|
49
54
|
const config = require("./config");
|
|
50
55
|
exports.config = config;
|
|
51
56
|
const types = require("./types");
|
|
52
57
|
exports.types = types;
|
|
53
58
|
// Import resources to register:
|
|
54
|
-
const
|
|
59
|
+
const serviceACLEntries_1 = require("./serviceACLEntries");
|
|
55
60
|
const serviceCompute_1 = require("./serviceCompute");
|
|
56
|
-
const
|
|
57
|
-
const
|
|
61
|
+
const serviceDictionaryItems_1 = require("./serviceDictionaryItems");
|
|
62
|
+
const serviceDynamicSnippetContent_1 = require("./serviceDynamicSnippetContent");
|
|
63
|
+
const serviceVcl_1 = require("./serviceVcl");
|
|
58
64
|
const serviceWafConfiguration_1 = require("./serviceWafConfiguration");
|
|
59
|
-
const servicev1_1 = require("./servicev1");
|
|
60
65
|
const tlsActivation_1 = require("./tlsActivation");
|
|
61
66
|
const tlsCertificate_1 = require("./tlsCertificate");
|
|
62
67
|
const tlsPlatformCertificate_1 = require("./tlsPlatformCertificate");
|
|
63
68
|
const tlsPrivateKey_1 = require("./tlsPrivateKey");
|
|
64
69
|
const tlsSubscription_1 = require("./tlsSubscription");
|
|
65
70
|
const tlsSubscriptionValidation_1 = require("./tlsSubscriptionValidation");
|
|
66
|
-
const
|
|
71
|
+
const user_1 = require("./user");
|
|
67
72
|
const _module = {
|
|
68
73
|
version: utilities.getVersion(),
|
|
69
74
|
construct: (name, type, urn) => {
|
|
70
75
|
switch (type) {
|
|
71
|
-
case "fastly:index/
|
|
72
|
-
return new
|
|
76
|
+
case "fastly:index/serviceACLEntries:ServiceACLEntries":
|
|
77
|
+
return new serviceACLEntries_1.ServiceACLEntries(name, undefined, { urn });
|
|
73
78
|
case "fastly:index/serviceCompute:ServiceCompute":
|
|
74
79
|
return new serviceCompute_1.ServiceCompute(name, undefined, { urn });
|
|
75
|
-
case "fastly:index/
|
|
76
|
-
return new
|
|
77
|
-
case "fastly:index/
|
|
78
|
-
return new
|
|
80
|
+
case "fastly:index/serviceDictionaryItems:ServiceDictionaryItems":
|
|
81
|
+
return new serviceDictionaryItems_1.ServiceDictionaryItems(name, undefined, { urn });
|
|
82
|
+
case "fastly:index/serviceDynamicSnippetContent:ServiceDynamicSnippetContent":
|
|
83
|
+
return new serviceDynamicSnippetContent_1.ServiceDynamicSnippetContent(name, undefined, { urn });
|
|
84
|
+
case "fastly:index/serviceVcl:ServiceVcl":
|
|
85
|
+
return new serviceVcl_1.ServiceVcl(name, undefined, { urn });
|
|
79
86
|
case "fastly:index/serviceWafConfiguration:ServiceWafConfiguration":
|
|
80
87
|
return new serviceWafConfiguration_1.ServiceWafConfiguration(name, undefined, { urn });
|
|
81
|
-
case "fastly:index/servicev1:Servicev1":
|
|
82
|
-
return new servicev1_1.Servicev1(name, undefined, { urn });
|
|
83
88
|
case "fastly:index/tlsActivation:TlsActivation":
|
|
84
89
|
return new tlsActivation_1.TlsActivation(name, undefined, { urn });
|
|
85
90
|
case "fastly:index/tlsCertificate:TlsCertificate":
|
|
@@ -92,26 +97,26 @@ const _module = {
|
|
|
92
97
|
return new tlsSubscription_1.TlsSubscription(name, undefined, { urn });
|
|
93
98
|
case "fastly:index/tlsSubscriptionValidation:TlsSubscriptionValidation":
|
|
94
99
|
return new tlsSubscriptionValidation_1.TlsSubscriptionValidation(name, undefined, { urn });
|
|
95
|
-
case "fastly:index/
|
|
96
|
-
return new
|
|
100
|
+
case "fastly:index/user:User":
|
|
101
|
+
return new user_1.User(name, undefined, { urn });
|
|
97
102
|
default:
|
|
98
103
|
throw new Error(`unknown resource type ${type}`);
|
|
99
104
|
}
|
|
100
105
|
},
|
|
101
106
|
};
|
|
102
|
-
pulumi.runtime.registerResourceModule("fastly", "index/
|
|
107
|
+
pulumi.runtime.registerResourceModule("fastly", "index/serviceACLEntries", _module);
|
|
103
108
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceCompute", _module);
|
|
104
|
-
pulumi.runtime.registerResourceModule("fastly", "index/
|
|
105
|
-
pulumi.runtime.registerResourceModule("fastly", "index/
|
|
109
|
+
pulumi.runtime.registerResourceModule("fastly", "index/serviceDictionaryItems", _module);
|
|
110
|
+
pulumi.runtime.registerResourceModule("fastly", "index/serviceDynamicSnippetContent", _module);
|
|
111
|
+
pulumi.runtime.registerResourceModule("fastly", "index/serviceVcl", _module);
|
|
106
112
|
pulumi.runtime.registerResourceModule("fastly", "index/serviceWafConfiguration", _module);
|
|
107
|
-
pulumi.runtime.registerResourceModule("fastly", "index/servicev1", _module);
|
|
108
113
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsActivation", _module);
|
|
109
114
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsCertificate", _module);
|
|
110
115
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsPlatformCertificate", _module);
|
|
111
116
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsPrivateKey", _module);
|
|
112
117
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsSubscription", _module);
|
|
113
118
|
pulumi.runtime.registerResourceModule("fastly", "index/tlsSubscriptionValidation", _module);
|
|
114
|
-
pulumi.runtime.registerResourceModule("fastly", "index/
|
|
119
|
+
pulumi.runtime.registerResourceModule("fastly", "index/user", _module);
|
|
115
120
|
const provider_1 = require("./provider");
|
|
116
121
|
pulumi.runtime.registerResourcePackage("fastly", {
|
|
117
122
|
version: utilities.getVersion(),
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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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AyB,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": "v4.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 v4.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": "v4.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 v4.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* This is an example of the import command being applied to the resource named `fastly_service_acl_entries.entries` The resource ID is a combined value of the `service_id` and `acl_id` separated by a forward slash.
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import fastly:index/serviceACLEntries:ServiceACLEntries entries xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* If Terraform is already managing remote acl entries 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_acl_entries.entries` from the Terraform state file. $ terraform state rm fastly_service_acl_entries.entries
|
|
13
|
+
*/
|
|
14
|
+
export declare class ServiceACLEntries extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing ServiceACLEntries resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param state Any extra arguments used during the lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceACLEntriesState, opts?: pulumi.CustomResourceOptions): ServiceACLEntries;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of ServiceACLEntries. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj: any): obj is ServiceACLEntries;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the ACL that the items belong to
|
|
32
|
+
*/
|
|
33
|
+
readonly aclId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* ACL Entries
|
|
36
|
+
*/
|
|
37
|
+
readonly entries: pulumi.Output<outputs.ServiceACLEntriesEntry[] | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally
|
|
40
|
+
*/
|
|
41
|
+
readonly manageEntries: pulumi.Output<boolean | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Service that the ACL belongs to
|
|
44
|
+
*/
|
|
45
|
+
readonly serviceId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a ServiceACLEntries resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args: ServiceACLEntriesArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Input properties used for looking up and filtering ServiceACLEntries resources.
|
|
57
|
+
*/
|
|
58
|
+
export interface ServiceACLEntriesState {
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the ACL that the items belong to
|
|
61
|
+
*/
|
|
62
|
+
aclId?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* ACL Entries
|
|
65
|
+
*/
|
|
66
|
+
entries?: pulumi.Input<pulumi.Input<inputs.ServiceACLEntriesEntry>[]>;
|
|
67
|
+
/**
|
|
68
|
+
* Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally
|
|
69
|
+
*/
|
|
70
|
+
manageEntries?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the Service that the ACL belongs to
|
|
73
|
+
*/
|
|
74
|
+
serviceId?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a ServiceACLEntries resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface ServiceACLEntriesArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the ACL that the items belong to
|
|
82
|
+
*/
|
|
83
|
+
aclId: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* ACL Entries
|
|
86
|
+
*/
|
|
87
|
+
entries?: pulumi.Input<pulumi.Input<inputs.ServiceACLEntriesEntry>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally
|
|
90
|
+
*/
|
|
91
|
+
manageEntries?: pulumi.Input<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the Service that the ACL belongs to
|
|
94
|
+
*/
|
|
95
|
+
serviceId: pulumi.Input<string>;
|
|
96
|
+
}
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.ServiceACLEntries = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* This is an example of the import command being applied to the resource named `
|
|
11
|
+
* This is an example of the import command being applied to the resource named `fastly_service_acl_entries.entries` The resource ID is a combined value of the `service_id` and `acl_id` separated by a forward slash.
|
|
12
12
|
*
|
|
13
13
|
* ```sh
|
|
14
|
-
* $ pulumi import fastly:index/
|
|
14
|
+
* $ pulumi import fastly:index/serviceACLEntries:ServiceACLEntries entries xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx
|
|
15
15
|
* ```
|
|
16
|
+
*
|
|
17
|
+
* If Terraform is already managing remote acl entries 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_acl_entries.entries` from the Terraform state file. $ terraform state rm fastly_service_acl_entries.entries
|
|
16
18
|
*/
|
|
17
|
-
class
|
|
19
|
+
class ServiceACLEntries extends pulumi.CustomResource {
|
|
18
20
|
constructor(name, argsOrState, opts) {
|
|
19
21
|
let resourceInputs = {};
|
|
20
22
|
opts = opts || {};
|
|
@@ -22,6 +24,7 @@ class ServiceACLEntriesv1 extends pulumi.CustomResource {
|
|
|
22
24
|
const state = argsOrState;
|
|
23
25
|
resourceInputs["aclId"] = state ? state.aclId : undefined;
|
|
24
26
|
resourceInputs["entries"] = state ? state.entries : undefined;
|
|
27
|
+
resourceInputs["manageEntries"] = state ? state.manageEntries : undefined;
|
|
25
28
|
resourceInputs["serviceId"] = state ? state.serviceId : undefined;
|
|
26
29
|
}
|
|
27
30
|
else {
|
|
@@ -34,13 +37,14 @@ class ServiceACLEntriesv1 extends pulumi.CustomResource {
|
|
|
34
37
|
}
|
|
35
38
|
resourceInputs["aclId"] = args ? args.aclId : undefined;
|
|
36
39
|
resourceInputs["entries"] = args ? args.entries : undefined;
|
|
40
|
+
resourceInputs["manageEntries"] = args ? args.manageEntries : undefined;
|
|
37
41
|
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
38
42
|
}
|
|
39
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
-
super(
|
|
44
|
+
super(ServiceACLEntries.__pulumiType, name, resourceInputs, opts);
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
|
-
* Get an existing
|
|
47
|
+
* Get an existing ServiceACLEntries resource's state with the given name, ID, and optional extra
|
|
44
48
|
* properties used to qualify the lookup.
|
|
45
49
|
*
|
|
46
50
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -49,20 +53,20 @@ class ServiceACLEntriesv1 extends pulumi.CustomResource {
|
|
|
49
53
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
54
|
*/
|
|
51
55
|
static get(name, id, state, opts) {
|
|
52
|
-
return new
|
|
56
|
+
return new ServiceACLEntries(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
57
|
}
|
|
54
58
|
/**
|
|
55
|
-
* Returns true if the given object is an instance of
|
|
59
|
+
* Returns true if the given object is an instance of ServiceACLEntries. This is designed to work even
|
|
56
60
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
61
|
*/
|
|
58
62
|
static isInstance(obj) {
|
|
59
63
|
if (obj === undefined || obj === null) {
|
|
60
64
|
return false;
|
|
61
65
|
}
|
|
62
|
-
return obj['__pulumiType'] ===
|
|
66
|
+
return obj['__pulumiType'] === ServiceACLEntries.__pulumiType;
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
|
-
exports.
|
|
69
|
+
exports.ServiceACLEntries = ServiceACLEntries;
|
|
66
70
|
/** @internal */
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=
|
|
71
|
+
ServiceACLEntries.__pulumiType = 'fastly:index/serviceACLEntries:ServiceACLEntries';
|
|
72
|
+
//# sourceMappingURL=serviceACLEntries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceACLEntries.js","sourceRoot":"","sources":["../serviceACLEntries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAqDxD,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,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,K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