@pulumiverse/scaleway 1.25.0 → 1.26.0-alpha.1743166124
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/appleSiliconServer.d.ts +28 -0
- package/appleSiliconServer.js +8 -0
- package/appleSiliconServer.js.map +1 -1
- package/applesilicon/server.d.ts +28 -0
- package/applesilicon/server.js +8 -0
- package/applesilicon/server.js.map +1 -1
- package/domain/index.d.ts +3 -0
- package/domain/index.js +6 -1
- package/domain/index.js.map +1 -1
- package/domain/registration.d.ts +275 -0
- package/domain/registration.js +193 -0
- package/domain/registration.js.map +1 -0
- package/edgeServicesBackendStage.d.ts +171 -0
- package/edgeServicesBackendStage.js +131 -0
- package/edgeServicesBackendStage.js.map +1 -0
- package/edgeServicesCacheStage.d.ts +153 -0
- package/edgeServicesCacheStage.js +93 -0
- package/edgeServicesCacheStage.js.map +1 -0
- package/edgeServicesDnsStage.d.ts +159 -0
- package/edgeServicesDnsStage.js +95 -0
- package/edgeServicesDnsStage.js.map +1 -0
- package/edgeServicesHeadStage.d.ts +96 -0
- package/edgeServicesHeadStage.js +90 -0
- package/edgeServicesHeadStage.js.map +1 -0
- package/edgeServicesPipeline.d.ts +160 -0
- package/edgeServicesPipeline.js +123 -0
- package/edgeServicesPipeline.js.map +1 -0
- package/edgeServicesPlan.d.ts +84 -0
- package/edgeServicesPlan.js +75 -0
- package/edgeServicesPlan.js.map +1 -0
- package/edgeServicesRouteStage.d.ts +142 -0
- package/edgeServicesRouteStage.js +102 -0
- package/edgeServicesRouteStage.js.map +1 -0
- package/edgeServicesTlsStage.d.ts +176 -0
- package/edgeServicesTlsStage.js +110 -0
- package/edgeServicesTlsStage.js.map +1 -0
- package/edgeServicesWafStage.d.ts +140 -0
- package/edgeServicesWafStage.js +95 -0
- package/edgeServicesWafStage.js.map +1 -0
- package/elasticmetal/ip.d.ts +6 -3
- package/elasticmetal/ip.js +3 -0
- package/elasticmetal/ip.js.map +1 -1
- package/flexibleIp.d.ts +6 -3
- package/flexibleIp.js +3 -0
- package/flexibleIp.js.map +1 -1
- package/getLbFrontend.d.ts +1 -0
- package/getLbFrontend.js.map +1 -1
- package/getLbRoute.d.ts +1 -0
- package/getLbRoute.js.map +1 -1
- package/getSecret.d.ts +1 -0
- package/getSecret.js.map +1 -1
- package/getVpcPublicGateway.d.ts +3 -0
- package/getVpcPublicGateway.js.map +1 -1
- package/getVpcPublicGatewayDhcp.d.ts +8 -0
- package/getVpcPublicGatewayDhcp.js +8 -0
- package/getVpcPublicGatewayDhcp.js.map +1 -1
- package/getVpcPublicGatewayDhcpReservation.d.ts +8 -0
- package/getVpcPublicGatewayDhcpReservation.js +8 -0
- package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
- package/index.d.ts +27 -0
- package/index.js +52 -7
- package/index.js.map +1 -1
- package/loadbalancerBackend.d.ts +1 -1
- package/loadbalancerBackend.js +1 -1
- package/loadbalancerFrontend.d.ts +12 -0
- package/loadbalancerFrontend.js +2 -0
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerRoute.d.ts +12 -0
- package/loadbalancerRoute.js +2 -0
- package/loadbalancerRoute.js.map +1 -1
- package/loadbalancers/backend.d.ts +1 -1
- package/loadbalancers/backend.js +1 -1
- package/loadbalancers/frontend.d.ts +12 -0
- package/loadbalancers/frontend.js +2 -0
- package/loadbalancers/frontend.js.map +1 -1
- package/loadbalancers/getFrontend.d.ts +1 -0
- package/loadbalancers/getFrontend.js.map +1 -1
- package/loadbalancers/getRoute.d.ts +1 -0
- package/loadbalancers/getRoute.js.map +1 -1
- package/loadbalancers/route.d.ts +12 -0
- package/loadbalancers/route.js +2 -0
- package/loadbalancers/route.js.map +1 -1
- package/network/acl.d.ts +138 -0
- package/network/acl.js +106 -0
- package/network/acl.js.map +1 -0
- package/network/gatewayNetwork.d.ts +54 -64
- package/network/gatewayNetwork.js +2 -48
- package/network/gatewayNetwork.js.map +1 -1
- package/network/getPublicGateway.d.ts +3 -0
- package/network/getPublicGateway.js.map +1 -1
- package/network/getPublicGatewayDhcp.d.ts +8 -0
- package/network/getPublicGatewayDhcp.js +8 -0
- package/network/getPublicGatewayDhcp.js.map +1 -1
- package/network/getPublicGatewayDhcpReservation.d.ts +8 -0
- package/network/getPublicGatewayDhcpReservation.js +8 -0
- package/network/getPublicGatewayDhcpReservation.js.map +1 -1
- package/network/index.d.ts +3 -0
- package/network/index.js +6 -1
- package/network/index.js.map +1 -1
- package/network/publicGateway.d.ts +33 -5
- package/network/publicGateway.js +7 -1
- package/network/publicGateway.js.map +1 -1
- package/network/publicGatewayDhcp.d.ts +4 -0
- package/network/publicGatewayDhcp.js +4 -0
- package/network/publicGatewayDhcp.js.map +1 -1
- package/network/publicGatewayDhcpReservation.d.ts +4 -0
- package/network/publicGatewayDhcpReservation.js +4 -0
- package/network/publicGatewayDhcpReservation.js.map +1 -1
- package/package.json +2 -2
- package/secret.d.ts +2 -0
- package/secret.js +2 -0
- package/secret.js.map +1 -1
- package/secrets/getSecret.d.ts +1 -0
- package/secrets/getSecret.js.map +1 -1
- package/secrets/secret.d.ts +2 -0
- package/secrets/secret.js +2 -0
- package/secrets/secret.js.map +1 -1
- package/tem/blockedList.d.ts +139 -0
- package/tem/blockedList.js +99 -0
- package/tem/blockedList.js.map +1 -0
- package/tem/domain.d.ts +3 -0
- package/tem/domain.js.map +1 -1
- package/tem/getOfferSubscription.d.ts +102 -0
- package/tem/getOfferSubscription.js +52 -0
- package/tem/getOfferSubscription.js.map +1 -0
- package/tem/index.d.ts +6 -0
- package/tem/index.js +9 -1
- package/tem/index.js.map +1 -1
- package/temDomain.d.ts +3 -0
- package/temDomain.js.map +1 -1
- package/types/input.d.ts +718 -0
- package/types/output.d.ts +790 -2
- package/vpcGatewayNetwork.d.ts +54 -64
- package/vpcGatewayNetwork.js +2 -48
- package/vpcGatewayNetwork.js.map +1 -1
- package/vpcPublicGateway.d.ts +33 -5
- package/vpcPublicGateway.js +7 -1
- package/vpcPublicGateway.js.map +1 -1
- package/vpcPublicGatewayDhcp.d.ts +4 -0
- package/vpcPublicGatewayDhcp.js +4 -0
- package/vpcPublicGatewayDhcp.js.map +1 -1
- package/vpcPublicGatewayDhcpReservation.d.ts +4 -0
- package/vpcPublicGatewayDhcpReservation.js +4 -0
- package/vpcPublicGatewayDhcpReservation.js.map +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
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.EdgeServicesCacheStage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Edge Services Cache Stages.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
+
*
|
|
19
|
+
* const main = new scaleway.EdgeServicesCacheStage("main", {
|
|
20
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
21
|
+
* backendStageId: mainScalewayEdgeServicesBackendStage.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Cache stages can be imported using the `{id}`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* bash
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import scaleway:index/edgeServicesCacheStage:EdgeServicesCacheStage basic 11111111-1111-1111-1111-111111111111
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class EdgeServicesCacheStage extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing EdgeServicesCacheStage resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new EdgeServicesCacheStage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of EdgeServicesCacheStage. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === EdgeServicesCacheStage.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["backendStageId"] = state ? state.backendStageId : undefined;
|
|
64
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
65
|
+
resourceInputs["fallbackTtl"] = state ? state.fallbackTtl : undefined;
|
|
66
|
+
resourceInputs["pipelineId"] = state ? state.pipelineId : undefined;
|
|
67
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
|
+
resourceInputs["purgeRequests"] = state ? state.purgeRequests : undefined;
|
|
69
|
+
resourceInputs["refreshCache"] = state ? state.refreshCache : undefined;
|
|
70
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.pipelineId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'pipelineId'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["backendStageId"] = args ? args.backendStageId : undefined;
|
|
78
|
+
resourceInputs["fallbackTtl"] = args ? args.fallbackTtl : undefined;
|
|
79
|
+
resourceInputs["pipelineId"] = args ? args.pipelineId : undefined;
|
|
80
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
81
|
+
resourceInputs["purgeRequests"] = args ? args.purgeRequests : undefined;
|
|
82
|
+
resourceInputs["refreshCache"] = args ? args.refreshCache : undefined;
|
|
83
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(EdgeServicesCacheStage.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.EdgeServicesCacheStage = EdgeServicesCacheStage;
|
|
91
|
+
/** @internal */
|
|
92
|
+
EdgeServicesCacheStage.__pulumiType = 'scaleway:index/edgeServicesCacheStage:EdgeServicesCacheStage';
|
|
93
|
+
//# sourceMappingURL=edgeServicesCacheStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edgeServicesCacheStage.js","sourceRoot":"","sources":["../edgeServicesCacheStage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAA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C,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAlGL,wDAmGC;AArFG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages Scaleway Edge Services DNS Stages.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
12
|
+
*
|
|
13
|
+
* const main = new scaleway.EdgeServicesDnsStage("main", {
|
|
14
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
15
|
+
* fqdns: ["subdomain.example.com"],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* DNS stages can be imported using the `{id}`, e.g.
|
|
22
|
+
*
|
|
23
|
+
* bash
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class EdgeServicesDnsStage extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing EdgeServicesDnsStage resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesDnsStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesDnsStage;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of EdgeServicesDnsStage. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is EdgeServicesDnsStage;
|
|
45
|
+
/**
|
|
46
|
+
* The backend stage ID the DNS stage will be linked to.
|
|
47
|
+
*/
|
|
48
|
+
readonly backendStageId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The cache stage ID the DNS stage will be linked to.
|
|
51
|
+
*/
|
|
52
|
+
readonly cacheStageId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The date and time of the creation of the DNS stage.
|
|
55
|
+
*/
|
|
56
|
+
readonly createdAt: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
|
59
|
+
*/
|
|
60
|
+
readonly fqdns: pulumi.Output<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the pipeline.
|
|
63
|
+
*/
|
|
64
|
+
readonly pipelineId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* `projectId`) The ID of the project the DNS stage is associated with.
|
|
67
|
+
*/
|
|
68
|
+
readonly projectId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The TLS stage ID the DNS stage will be linked to.
|
|
71
|
+
*/
|
|
72
|
+
readonly tlsStageId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The type of the stage.
|
|
75
|
+
*/
|
|
76
|
+
readonly type: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The date and time of the last update of the DNS stage.
|
|
79
|
+
*/
|
|
80
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Create a EdgeServicesDnsStage resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name: string, args: EdgeServicesDnsStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input properties used for looking up and filtering EdgeServicesDnsStage resources.
|
|
92
|
+
*/
|
|
93
|
+
export interface EdgeServicesDnsStageState {
|
|
94
|
+
/**
|
|
95
|
+
* The backend stage ID the DNS stage will be linked to.
|
|
96
|
+
*/
|
|
97
|
+
backendStageId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The cache stage ID the DNS stage will be linked to.
|
|
100
|
+
*/
|
|
101
|
+
cacheStageId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The date and time of the creation of the DNS stage.
|
|
104
|
+
*/
|
|
105
|
+
createdAt?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
|
108
|
+
*/
|
|
109
|
+
fqdns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the pipeline.
|
|
112
|
+
*/
|
|
113
|
+
pipelineId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* `projectId`) The ID of the project the DNS stage is associated with.
|
|
116
|
+
*/
|
|
117
|
+
projectId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The TLS stage ID the DNS stage will be linked to.
|
|
120
|
+
*/
|
|
121
|
+
tlsStageId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The type of the stage.
|
|
124
|
+
*/
|
|
125
|
+
type?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The date and time of the last update of the DNS stage.
|
|
128
|
+
*/
|
|
129
|
+
updatedAt?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a EdgeServicesDnsStage resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface EdgeServicesDnsStageArgs {
|
|
135
|
+
/**
|
|
136
|
+
* The backend stage ID the DNS stage will be linked to.
|
|
137
|
+
*/
|
|
138
|
+
backendStageId?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The cache stage ID the DNS stage will be linked to.
|
|
141
|
+
*/
|
|
142
|
+
cacheStageId?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
|
145
|
+
*/
|
|
146
|
+
fqdns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the pipeline.
|
|
149
|
+
*/
|
|
150
|
+
pipelineId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* `projectId`) The ID of the project the DNS stage is associated with.
|
|
153
|
+
*/
|
|
154
|
+
projectId?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The TLS stage ID the DNS stage will be linked to.
|
|
157
|
+
*/
|
|
158
|
+
tlsStageId?: pulumi.Input<string>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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.EdgeServicesDnsStage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Edge Services DNS Stages.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
+
*
|
|
19
|
+
* const main = new scaleway.EdgeServicesDnsStage("main", {
|
|
20
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
21
|
+
* fqdns: ["subdomain.example.com"],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* DNS stages can be imported using the `{id}`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* bash
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class EdgeServicesDnsStage extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing EdgeServicesDnsStage resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new EdgeServicesDnsStage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of EdgeServicesDnsStage. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === EdgeServicesDnsStage.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["backendStageId"] = state ? state.backendStageId : undefined;
|
|
64
|
+
resourceInputs["cacheStageId"] = state ? state.cacheStageId : undefined;
|
|
65
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
66
|
+
resourceInputs["fqdns"] = state ? state.fqdns : undefined;
|
|
67
|
+
resourceInputs["pipelineId"] = state ? state.pipelineId : undefined;
|
|
68
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
69
|
+
resourceInputs["tlsStageId"] = state ? state.tlsStageId : undefined;
|
|
70
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
71
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.pipelineId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'pipelineId'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["backendStageId"] = args ? args.backendStageId : undefined;
|
|
79
|
+
resourceInputs["cacheStageId"] = args ? args.cacheStageId : undefined;
|
|
80
|
+
resourceInputs["fqdns"] = args ? args.fqdns : undefined;
|
|
81
|
+
resourceInputs["pipelineId"] = args ? args.pipelineId : undefined;
|
|
82
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
83
|
+
resourceInputs["tlsStageId"] = args ? args.tlsStageId : undefined;
|
|
84
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(EdgeServicesDnsStage.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.EdgeServicesDnsStage = EdgeServicesDnsStage;
|
|
93
|
+
/** @internal */
|
|
94
|
+
EdgeServicesDnsStage.__pulumiType = 'scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage';
|
|
95
|
+
//# sourceMappingURL=edgeServicesDnsStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edgeServicesDnsStage.js","sourceRoot":"","sources":["../edgeServicesDnsStage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM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
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
12
|
+
*
|
|
13
|
+
* const main = new scaleway.EdgeServicesPipeline("main", {
|
|
14
|
+
* name: "my-edge_services-pipeline",
|
|
15
|
+
* description: "pipeline description",
|
|
16
|
+
* });
|
|
17
|
+
* const mainEdgeServicesDnsStage = new scaleway.EdgeServicesDnsStage("main", {
|
|
18
|
+
* pipelineId: main.id,
|
|
19
|
+
* tlsStageId: mainScalewayEdgeServicesTlsStage.id,
|
|
20
|
+
* fqdns: ["subdomain.example.com"],
|
|
21
|
+
* });
|
|
22
|
+
* const mainEdgeServicesHeadStage = new scaleway.EdgeServicesHeadStage("main", {
|
|
23
|
+
* pipelineId: main.id,
|
|
24
|
+
* headStageId: mainEdgeServicesDnsStage.id,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Head stages can be imported using the `{id}`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* bash
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class EdgeServicesHeadStage extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing EdgeServicesHeadStage resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesHeadStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesHeadStage;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of EdgeServicesHeadStage. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is EdgeServicesHeadStage;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of head stage of the pipeline.
|
|
56
|
+
*/
|
|
57
|
+
readonly headStageId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the pipeline.
|
|
60
|
+
*/
|
|
61
|
+
readonly pipelineId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a EdgeServicesHeadStage resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: EdgeServicesHeadStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering EdgeServicesHeadStage resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface EdgeServicesHeadStageState {
|
|
75
|
+
/**
|
|
76
|
+
* The ID of head stage of the pipeline.
|
|
77
|
+
*/
|
|
78
|
+
headStageId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the pipeline.
|
|
81
|
+
*/
|
|
82
|
+
pipelineId?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a EdgeServicesHeadStage resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface EdgeServicesHeadStageArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The ID of head stage of the pipeline.
|
|
90
|
+
*/
|
|
91
|
+
headStageId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the pipeline.
|
|
94
|
+
*/
|
|
95
|
+
pipelineId: pulumi.Input<string>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.EdgeServicesHeadStage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Sets the Scaleway Edge Services head stage of your pipeline.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
+
*
|
|
19
|
+
* const main = new scaleway.EdgeServicesPipeline("main", {
|
|
20
|
+
* name: "my-edge_services-pipeline",
|
|
21
|
+
* description: "pipeline description",
|
|
22
|
+
* });
|
|
23
|
+
* const mainEdgeServicesDnsStage = new scaleway.EdgeServicesDnsStage("main", {
|
|
24
|
+
* pipelineId: main.id,
|
|
25
|
+
* tlsStageId: mainScalewayEdgeServicesTlsStage.id,
|
|
26
|
+
* fqdns: ["subdomain.example.com"],
|
|
27
|
+
* });
|
|
28
|
+
* const mainEdgeServicesHeadStage = new scaleway.EdgeServicesHeadStage("main", {
|
|
29
|
+
* pipelineId: main.id,
|
|
30
|
+
* headStageId: mainEdgeServicesDnsStage.id,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Head stages can be imported using the `{id}`, e.g.
|
|
37
|
+
*
|
|
38
|
+
* bash
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class EdgeServicesHeadStage extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing EdgeServicesHeadStage resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new EdgeServicesHeadStage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of EdgeServicesHeadStage. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === EdgeServicesHeadStage.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["headStageId"] = state ? state.headStageId : undefined;
|
|
73
|
+
resourceInputs["pipelineId"] = state ? state.pipelineId : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.pipelineId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'pipelineId'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["headStageId"] = args ? args.headStageId : undefined;
|
|
81
|
+
resourceInputs["pipelineId"] = args ? args.pipelineId : undefined;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(EdgeServicesHeadStage.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.EdgeServicesHeadStage = EdgeServicesHeadStage;
|
|
88
|
+
/** @internal */
|
|
89
|
+
EdgeServicesHeadStage.__pulumiType = 'scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage';
|
|
90
|
+
//# sourceMappingURL=edgeServicesHeadStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edgeServicesHeadStage.js","sourceRoot":"","sources":["../edgeServicesHeadStage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA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