@pulumi/fastly 11.4.0-alpha.1772051700 → 11.4.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/domain.d.ts +106 -0
- package/domain.js +84 -0
- package/domain.js.map +1 -0
- package/domainServiceLink.d.ts +74 -0
- package/domainServiceLink.js +71 -0
- package/domainServiceLink.js.map +1 -0
- package/domainV1.d.ts +0 -18
- package/domainV1.js +0 -18
- package/domainV1.js.map +1 -1
- package/domainV1ServiceLink.d.ts +0 -6
- package/domainV1ServiceLink.js +0 -6
- package/domainV1ServiceLink.js.map +1 -1
- package/getDomains.d.ts +71 -0
- package/getDomains.js +56 -0
- package/getDomains.js.map +1 -0
- package/getDomainsV1.d.ts +0 -32
- package/getDomainsV1.js +0 -32
- package/getDomainsV1.js.map +1 -1
- package/getFastlyIpRanges.d.ts +10 -10
- package/getFastlyIpRanges.js +10 -10
- package/getStagingIps.d.ts +51 -0
- package/getStagingIps.js +24 -0
- package/getStagingIps.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +19 -3
- package/index.js.map +1 -1
- package/ngwafAccountRule.d.ts +3 -3
- package/ngwafWorkspaceRule.d.ts +3 -3
- package/package.json +2 -2
- package/serviceACLEntries.d.ts +7 -3
- package/serviceACLEntries.js +7 -3
- package/serviceACLEntries.js.map +1 -1
- package/serviceDictionaryItems.d.ts +12 -6
- package/serviceDictionaryItems.js +12 -6
- package/serviceDictionaryItems.js.map +1 -1
- package/serviceDynamicSnippetContent.d.ts +4 -4
- package/serviceDynamicSnippetContent.js +4 -4
- package/serviceVcl.d.ts +6 -6
- package/serviceVcl.js +6 -6
- package/tlsCertificate.d.ts +2 -2
- package/tlsCertificate.js +2 -2
- package/tlsPlatformCertificate.d.ts +4 -4
- package/tlsPlatformCertificate.js +4 -4
- package/tlsSubscription.d.ts +137 -138
- package/tlsSubscription.js +137 -138
- package/tlsSubscription.js.map +1 -1
- package/tlsSubscriptionValidation.d.ts +68 -70
- package/tlsSubscriptionValidation.js +68 -70
- package/tlsSubscriptionValidation.js.map +1 -1
- package/types/input.d.ts +78 -2
- package/types/output.d.ts +102 -2
package/domain.d.ts
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Domain management allows you to manage your domains on Fastly and the services that they interact with.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* Basic usage:
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fastly from "@pulumi/fastly";
|
|
12
|
+
*
|
|
13
|
+
* const example = new fastly.Domain("example", {
|
|
14
|
+
* fqdn: "example.com",
|
|
15
|
+
* serviceId: "12345abcde",
|
|
16
|
+
* description: "This is a test domain.",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Domains can be imported using the domain ID, e.g.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import fastly:index/domain:Domain example <domain_id>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is Domain;
|
|
44
|
+
/**
|
|
45
|
+
* The description for your domain.
|
|
46
|
+
*/
|
|
47
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The Domain Identifier (UUID).
|
|
50
|
+
*/
|
|
51
|
+
readonly domainId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated.
|
|
54
|
+
*/
|
|
55
|
+
readonly fqdn: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The serviceId associated with your domain or null if there is no association.
|
|
58
|
+
*/
|
|
59
|
+
readonly serviceId: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Domain resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering Domain resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface DomainState {
|
|
73
|
+
/**
|
|
74
|
+
* The description for your domain.
|
|
75
|
+
*/
|
|
76
|
+
description?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The Domain Identifier (UUID).
|
|
79
|
+
*/
|
|
80
|
+
domainId?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated.
|
|
83
|
+
*/
|
|
84
|
+
fqdn?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The serviceId associated with your domain or null if there is no association.
|
|
87
|
+
*/
|
|
88
|
+
serviceId?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a Domain resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface DomainArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The description for your domain.
|
|
96
|
+
*/
|
|
97
|
+
description?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated.
|
|
100
|
+
*/
|
|
101
|
+
fqdn: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The serviceId associated with your domain or null if there is no association.
|
|
104
|
+
*/
|
|
105
|
+
serviceId?: pulumi.Input<string>;
|
|
106
|
+
}
|
package/domain.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Domain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Domain management allows you to manage your domains on Fastly and the services that they interact with.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Basic usage:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as fastly from "@pulumi/fastly";
|
|
18
|
+
*
|
|
19
|
+
* const example = new fastly.Domain("example", {
|
|
20
|
+
* fqdn: "example.com",
|
|
21
|
+
* serviceId: "12345abcde",
|
|
22
|
+
* description: "This is a test domain.",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Domains can be imported using the domain ID, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import fastly:index/domain:Domain example <domain_id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Domain extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Domain 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, id, state, opts) {
|
|
45
|
+
return new Domain(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["description"] = state?.description;
|
|
63
|
+
resourceInputs["domainId"] = state?.domainId;
|
|
64
|
+
resourceInputs["fqdn"] = state?.fqdn;
|
|
65
|
+
resourceInputs["serviceId"] = state?.serviceId;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if (args?.fqdn === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'fqdn'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["description"] = args?.description;
|
|
73
|
+
resourceInputs["fqdn"] = args?.fqdn;
|
|
74
|
+
resourceInputs["serviceId"] = args?.serviceId;
|
|
75
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.Domain = Domain;
|
|
82
|
+
/** @internal */
|
|
83
|
+
Domain.__pulumiType = 'fastly:index/domain:Domain';
|
|
84
|
+
//# sourceMappingURL=domain.js.map
|
package/domain.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA1EL,wBA2EC;AA7DG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Domain service links are for managing versionless domains for services. The link associates an existing service
|
|
4
|
+
* with an existing domain, but doesn't create or delete either resource.
|
|
5
|
+
*
|
|
6
|
+
* If you are managing your versionless domain with a service link, you may not also use a `resourceFastlyDomain` block as well.
|
|
7
|
+
*
|
|
8
|
+
* ## Import
|
|
9
|
+
*
|
|
10
|
+
* Domain service links can be imported using the domain ID, e.g.
|
|
11
|
+
*
|
|
12
|
+
* ```sh
|
|
13
|
+
* $ pulumi import fastly:index/domainServiceLink:DomainServiceLink example <domain_id>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare class DomainServiceLink extends pulumi.CustomResource {
|
|
17
|
+
/**
|
|
18
|
+
* Get an existing DomainServiceLink resource's state with the given name, ID, and optional extra
|
|
19
|
+
* properties used to qualify the lookup.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resulting resource.
|
|
22
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
23
|
+
* @param state Any extra arguments used during the lookup.
|
|
24
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
25
|
+
*/
|
|
26
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainServiceLinkState, opts?: pulumi.CustomResourceOptions): DomainServiceLink;
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of DomainServiceLink. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj: any): obj is DomainServiceLink;
|
|
32
|
+
/**
|
|
33
|
+
* The Domain Identifier of the versionless domain being linked (UUID).
|
|
34
|
+
*/
|
|
35
|
+
readonly domainId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The serviceId associated with your domain
|
|
38
|
+
*/
|
|
39
|
+
readonly serviceId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a DomainServiceLink resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: DomainServiceLinkArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input properties used for looking up and filtering DomainServiceLink resources.
|
|
51
|
+
*/
|
|
52
|
+
export interface DomainServiceLinkState {
|
|
53
|
+
/**
|
|
54
|
+
* The Domain Identifier of the versionless domain being linked (UUID).
|
|
55
|
+
*/
|
|
56
|
+
domainId?: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The serviceId associated with your domain
|
|
59
|
+
*/
|
|
60
|
+
serviceId?: pulumi.Input<string>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The set of arguments for constructing a DomainServiceLink resource.
|
|
64
|
+
*/
|
|
65
|
+
export interface DomainServiceLinkArgs {
|
|
66
|
+
/**
|
|
67
|
+
* The Domain Identifier of the versionless domain being linked (UUID).
|
|
68
|
+
*/
|
|
69
|
+
domainId: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The serviceId associated with your domain
|
|
72
|
+
*/
|
|
73
|
+
serviceId: pulumi.Input<string>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.DomainServiceLink = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Domain service links are for managing versionless domains for services. The link associates an existing service
|
|
10
|
+
* with an existing domain, but doesn't create or delete either resource.
|
|
11
|
+
*
|
|
12
|
+
* If you are managing your versionless domain with a service link, you may not also use a `resourceFastlyDomain` block as well.
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* Domain service links can be imported using the domain ID, e.g.
|
|
17
|
+
*
|
|
18
|
+
* ```sh
|
|
19
|
+
* $ pulumi import fastly:index/domainServiceLink:DomainServiceLink example <domain_id>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
class DomainServiceLink extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing DomainServiceLink resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param state Any extra arguments used during the lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name, id, state, opts) {
|
|
33
|
+
return new DomainServiceLink(name, state, { ...opts, id: id });
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of DomainServiceLink. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj) {
|
|
40
|
+
if (obj === undefined || obj === null) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return obj['__pulumiType'] === DomainServiceLink.__pulumiType;
|
|
44
|
+
}
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["domainId"] = state?.domainId;
|
|
51
|
+
resourceInputs["serviceId"] = state?.serviceId;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if (args?.domainId === undefined && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'domainId'");
|
|
57
|
+
}
|
|
58
|
+
if (args?.serviceId === undefined && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'serviceId'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
62
|
+
resourceInputs["serviceId"] = args?.serviceId;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(DomainServiceLink.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DomainServiceLink = DomainServiceLink;
|
|
69
|
+
/** @internal */
|
|
70
|
+
DomainServiceLink.__pulumiType = 'fastly:index/domainServiceLink:DomainServiceLink';
|
|
71
|
+
//# sourceMappingURL=domainServiceLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainServiceLink.js","sourceRoot":"","sources":["../domainServiceLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAmBD,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,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,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;;AAjEL,8CAkEC;AApDG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/domainV1.d.ts
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Domain management allows you to manage your domains on Fastly and the services that they interact with.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* Basic usage:
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as fastly from "@pulumi/fastly";
|
|
12
|
-
*
|
|
13
|
-
* const example = new fastly.DomainV1("example", {
|
|
14
|
-
* fqdn: "example.com",
|
|
15
|
-
* serviceId: "12345abcde",
|
|
16
|
-
* description: "This is a test domain.",
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
2
|
export declare class DomainV1 extends pulumi.CustomResource {
|
|
21
3
|
/**
|
|
22
4
|
* Get an existing DomainV1 resource's state with the given name, ID, and optional extra
|
package/domainV1.js
CHANGED
|
@@ -5,24 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DomainV1 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Domain management allows you to manage your domains on Fastly and the services that they interact with.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Basic usage:
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as fastly from "@pulumi/fastly";
|
|
18
|
-
*
|
|
19
|
-
* const example = new fastly.DomainV1("example", {
|
|
20
|
-
* fqdn: "example.com",
|
|
21
|
-
* serviceId: "12345abcde",
|
|
22
|
-
* description: "This is a test domain.",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
8
|
class DomainV1 extends pulumi.CustomResource {
|
|
27
9
|
/**
|
|
28
10
|
* Get an existing DomainV1 resource's state with the given name, ID, and optional extra
|
package/domainV1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainV1.js","sourceRoot":"","sources":["../domainV1.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainV1.js","sourceRoot":"","sources":["../domainV1.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/domainV1ServiceLink.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Domain service links are for managing versionless domains for services. The link associates an existing service
|
|
4
|
-
* with an existing domain, but doesn't create or delete either resource.
|
|
5
|
-
*
|
|
6
|
-
* If you are managing your versionless domain with a service link, you may not also use a `resourceFastlyDomainV1` block as well.
|
|
7
|
-
*/
|
|
8
2
|
export declare class DomainV1ServiceLink extends pulumi.CustomResource {
|
|
9
3
|
/**
|
|
10
4
|
* Get an existing DomainV1ServiceLink resource's state with the given name, ID, and optional extra
|
package/domainV1ServiceLink.js
CHANGED
|
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DomainV1ServiceLink = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Domain service links are for managing versionless domains for services. The link associates an existing service
|
|
10
|
-
* with an existing domain, but doesn't create or delete either resource.
|
|
11
|
-
*
|
|
12
|
-
* If you are managing your versionless domain with a service link, you may not also use a `resourceFastlyDomainV1` block as well.
|
|
13
|
-
*/
|
|
14
8
|
class DomainV1ServiceLink extends pulumi.CustomResource {
|
|
15
9
|
/**
|
|
16
10
|
* Get an existing DomainV1ServiceLink resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainV1ServiceLink.js","sourceRoot":"","sources":["../domainV1ServiceLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainV1ServiceLink.js","sourceRoot":"","sources":["../domainV1ServiceLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/getDomains.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get information about versionless domains.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as fastly from "@pulumi/fastly";
|
|
11
|
+
*
|
|
12
|
+
* const example = fastly.getDomains({});
|
|
13
|
+
* export const allDomains = example.then(example => example.domains);
|
|
14
|
+
* export const totalDomains = example.then(example => example.total);
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainsResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDomains.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDomainsArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The total number of domains returned.
|
|
26
|
+
*/
|
|
27
|
+
total?: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDomains.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDomainsResult {
|
|
33
|
+
/**
|
|
34
|
+
* A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
|
|
35
|
+
*/
|
|
36
|
+
readonly domains: outputs.GetDomainsDomain[];
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The total number of domains returned.
|
|
43
|
+
*/
|
|
44
|
+
readonly total: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Use this data source to get information about versionless domains.
|
|
48
|
+
*
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as fastly from "@pulumi/fastly";
|
|
54
|
+
*
|
|
55
|
+
* const example = fastly.getDomains({});
|
|
56
|
+
* export const allDomains = example.then(example => example.domains);
|
|
57
|
+
* export const totalDomains = example.then(example => example.total);
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
61
|
+
*/
|
|
62
|
+
export declare function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainsResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getDomains.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetDomainsOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The total number of domains returned.
|
|
69
|
+
*/
|
|
70
|
+
total?: pulumi.Input<number>;
|
|
71
|
+
}
|
package/getDomains.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getDomainsOutput = exports.getDomains = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about versionless domains.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fastly from "@pulumi/fastly";
|
|
16
|
+
*
|
|
17
|
+
* const example = fastly.getDomains({});
|
|
18
|
+
* export const allDomains = example.then(example => example.domains);
|
|
19
|
+
* export const totalDomains = example.then(example => example.total);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
23
|
+
*/
|
|
24
|
+
function getDomains(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("fastly:index/getDomains:getDomains", {
|
|
28
|
+
"total": args.total,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getDomains = getDomains;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to get information about versionless domains.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as fastly from "@pulumi/fastly";
|
|
40
|
+
*
|
|
41
|
+
* const example = fastly.getDomains({});
|
|
42
|
+
* export const allDomains = example.then(example => example.domains);
|
|
43
|
+
* export const totalDomains = example.then(example => example.total);
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
47
|
+
*/
|
|
48
|
+
function getDomainsOutput(args, opts) {
|
|
49
|
+
args = args || {};
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
|
+
return pulumi.runtime.invokeOutput("fastly:index/getDomains:getDomains", {
|
|
52
|
+
"total": args.total,
|
|
53
|
+
}, opts);
|
|
54
|
+
}
|
|
55
|
+
exports.getDomainsOutput = getDomainsOutput;
|
|
56
|
+
//# sourceMappingURL=getDomains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomains.js","sourceRoot":"","sources":["../getDomains.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA6BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getDomainsV1.d.ts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to get information about versionless domains.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as fastly from "@pulumi/fastly";
|
|
11
|
-
*
|
|
12
|
-
* const example = fastly.getDomainsV1({});
|
|
13
|
-
* export const allDomains = example.then(example => example.domains);
|
|
14
|
-
* export const totalDomains = example.then(example => example.total);
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
18
|
-
*/
|
|
19
3
|
export declare function getDomainsV1(args?: GetDomainsV1Args, opts?: pulumi.InvokeOptions): Promise<GetDomainsV1Result>;
|
|
20
4
|
/**
|
|
21
5
|
* A collection of arguments for invoking getDomainsV1.
|
|
@@ -43,22 +27,6 @@ export interface GetDomainsV1Result {
|
|
|
43
27
|
*/
|
|
44
28
|
readonly total: number;
|
|
45
29
|
}
|
|
46
|
-
/**
|
|
47
|
-
* Use this data source to get information about versionless domains.
|
|
48
|
-
*
|
|
49
|
-
* ## Example Usage
|
|
50
|
-
*
|
|
51
|
-
* ```typescript
|
|
52
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
-
* import * as fastly from "@pulumi/fastly";
|
|
54
|
-
*
|
|
55
|
-
* const example = fastly.getDomainsV1({});
|
|
56
|
-
* export const allDomains = example.then(example => example.domains);
|
|
57
|
-
* export const totalDomains = example.then(example => example.total);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
61
|
-
*/
|
|
62
30
|
export declare function getDomainsV1Output(args?: GetDomainsV1OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainsV1Result>;
|
|
63
31
|
/**
|
|
64
32
|
* A collection of arguments for invoking getDomainsV1.
|
package/getDomainsV1.js
CHANGED
|
@@ -5,22 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDomainsV1Output = exports.getDomainsV1 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to get information about versionless domains.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as fastly from "@pulumi/fastly";
|
|
16
|
-
*
|
|
17
|
-
* const example = fastly.getDomainsV1({});
|
|
18
|
-
* export const allDomains = example.then(example => example.domains);
|
|
19
|
-
* export const totalDomains = example.then(example => example.total);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
23
|
-
*/
|
|
24
8
|
function getDomainsV1(args, opts) {
|
|
25
9
|
args = args || {};
|
|
26
10
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -29,22 +13,6 @@ function getDomainsV1(args, opts) {
|
|
|
29
13
|
}, opts);
|
|
30
14
|
}
|
|
31
15
|
exports.getDomainsV1 = getDomainsV1;
|
|
32
|
-
/**
|
|
33
|
-
* Use this data source to get information about versionless domains.
|
|
34
|
-
*
|
|
35
|
-
* ## Example Usage
|
|
36
|
-
*
|
|
37
|
-
* ```typescript
|
|
38
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
-
* import * as fastly from "@pulumi/fastly";
|
|
40
|
-
*
|
|
41
|
-
* const example = fastly.getDomainsV1({});
|
|
42
|
-
* export const allDomains = example.then(example => example.domains);
|
|
43
|
-
* export const totalDomains = example.then(example => example.total);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* [1]: https://www.fastly.com/documentation/reference/api/domain-management/domains/
|
|
47
|
-
*/
|
|
48
16
|
function getDomainsV1Output(args, opts) {
|
|
49
17
|
args = args || {};
|
|
50
18
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|