@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
package/appleSiliconServer.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export declare class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
47
47
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
48
|
*/
|
|
49
49
|
static isInstance(obj: any): obj is AppleSiliconServer;
|
|
50
|
+
/**
|
|
51
|
+
* The commitment period of the server
|
|
52
|
+
*/
|
|
53
|
+
readonly commitment: pulumi.Output<string | undefined>;
|
|
50
54
|
/**
|
|
51
55
|
* The date and time of the creation of the Apple Silicon server.
|
|
52
56
|
*/
|
|
@@ -71,6 +75,10 @@ export declare class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
71
75
|
* The organization ID the server is associated with.
|
|
72
76
|
*/
|
|
73
77
|
readonly organizationId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The password of the server
|
|
80
|
+
*/
|
|
81
|
+
readonly password: pulumi.Output<string>;
|
|
74
82
|
/**
|
|
75
83
|
* The private networks to attach to the server
|
|
76
84
|
*/
|
|
@@ -94,6 +102,10 @@ export declare class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
94
102
|
* The date and time of the last update of the Apple Silicon server.
|
|
95
103
|
*/
|
|
96
104
|
readonly updatedAt: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The username of the server
|
|
107
|
+
*/
|
|
108
|
+
readonly username: pulumi.Output<string>;
|
|
97
109
|
/**
|
|
98
110
|
* URL of the VNC.
|
|
99
111
|
*/
|
|
@@ -121,6 +133,10 @@ export declare class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
121
133
|
* Input properties used for looking up and filtering AppleSiliconServer resources.
|
|
122
134
|
*/
|
|
123
135
|
export interface AppleSiliconServerState {
|
|
136
|
+
/**
|
|
137
|
+
* The commitment period of the server
|
|
138
|
+
*/
|
|
139
|
+
commitment?: pulumi.Input<string>;
|
|
124
140
|
/**
|
|
125
141
|
* The date and time of the creation of the Apple Silicon server.
|
|
126
142
|
*/
|
|
@@ -145,6 +161,10 @@ export interface AppleSiliconServerState {
|
|
|
145
161
|
* The organization ID the server is associated with.
|
|
146
162
|
*/
|
|
147
163
|
organizationId?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The password of the server
|
|
166
|
+
*/
|
|
167
|
+
password?: pulumi.Input<string>;
|
|
148
168
|
/**
|
|
149
169
|
* The private networks to attach to the server
|
|
150
170
|
*/
|
|
@@ -168,6 +188,10 @@ export interface AppleSiliconServerState {
|
|
|
168
188
|
* The date and time of the last update of the Apple Silicon server.
|
|
169
189
|
*/
|
|
170
190
|
updatedAt?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* The username of the server
|
|
193
|
+
*/
|
|
194
|
+
username?: pulumi.Input<string>;
|
|
171
195
|
/**
|
|
172
196
|
* URL of the VNC.
|
|
173
197
|
*/
|
|
@@ -186,6 +210,10 @@ export interface AppleSiliconServerState {
|
|
|
186
210
|
* The set of arguments for constructing a AppleSiliconServer resource.
|
|
187
211
|
*/
|
|
188
212
|
export interface AppleSiliconServerArgs {
|
|
213
|
+
/**
|
|
214
|
+
* The commitment period of the server
|
|
215
|
+
*/
|
|
216
|
+
commitment?: pulumi.Input<string>;
|
|
189
217
|
/**
|
|
190
218
|
* : Enables the VPC option when set to true.
|
|
191
219
|
*/
|
package/appleSiliconServer.js
CHANGED
|
@@ -66,17 +66,20 @@ class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
+
resourceInputs["commitment"] = state ? state.commitment : undefined;
|
|
69
70
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
70
71
|
resourceInputs["deletableAt"] = state ? state.deletableAt : undefined;
|
|
71
72
|
resourceInputs["enableVpc"] = state ? state.enableVpc : undefined;
|
|
72
73
|
resourceInputs["ip"] = state ? state.ip : undefined;
|
|
73
74
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
74
75
|
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
76
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
75
77
|
resourceInputs["privateNetworks"] = state ? state.privateNetworks : undefined;
|
|
76
78
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
77
79
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
78
80
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
79
81
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
82
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
80
83
|
resourceInputs["vncUrl"] = state ? state.vncUrl : undefined;
|
|
81
84
|
resourceInputs["vpcStatus"] = state ? state.vpcStatus : undefined;
|
|
82
85
|
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
@@ -86,6 +89,7 @@ class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
86
89
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
87
90
|
throw new Error("Missing required property 'type'");
|
|
88
91
|
}
|
|
92
|
+
resourceInputs["commitment"] = args ? args.commitment : undefined;
|
|
89
93
|
resourceInputs["enableVpc"] = args ? args.enableVpc : undefined;
|
|
90
94
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
95
|
resourceInputs["privateNetworks"] = args ? args.privateNetworks : undefined;
|
|
@@ -96,12 +100,16 @@ class AppleSiliconServer extends pulumi.CustomResource {
|
|
|
96
100
|
resourceInputs["deletableAt"] = undefined /*out*/;
|
|
97
101
|
resourceInputs["ip"] = undefined /*out*/;
|
|
98
102
|
resourceInputs["organizationId"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["password"] = undefined /*out*/;
|
|
99
104
|
resourceInputs["state"] = undefined /*out*/;
|
|
100
105
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
101
107
|
resourceInputs["vncUrl"] = undefined /*out*/;
|
|
102
108
|
resourceInputs["vpcStatus"] = undefined /*out*/;
|
|
103
109
|
}
|
|
104
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
112
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
105
113
|
super(AppleSiliconServer.__pulumiType, name, resourceInputs, opts);
|
|
106
114
|
}
|
|
107
115
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleSiliconServer.js","sourceRoot":"","sources":["../appleSiliconServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4JAA4J,CAAC,CAAA;QAC7K,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"appleSili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the Pulumi SDK have been loaded into the same process.
|
|
46
46
|
*/
|
|
47
47
|
static isInstance(obj: any): obj is Server;
|
|
48
|
+
/**
|
|
49
|
+
* The commitment period of the server
|
|
50
|
+
*/
|
|
51
|
+
readonly commitment: pulumi.Output<string | undefined>;
|
|
48
52
|
/**
|
|
49
53
|
* The date and time of the creation of the Apple Silicon server.
|
|
50
54
|
*/
|
|
@@ -69,6 +73,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
69
73
|
* The organization ID the server is associated with.
|
|
70
74
|
*/
|
|
71
75
|
readonly organizationId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The password of the server
|
|
78
|
+
*/
|
|
79
|
+
readonly password: pulumi.Output<string>;
|
|
72
80
|
/**
|
|
73
81
|
* The private networks to attach to the server
|
|
74
82
|
*/
|
|
@@ -92,6 +100,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
92
100
|
* The date and time of the last update of the Apple Silicon server.
|
|
93
101
|
*/
|
|
94
102
|
readonly updatedAt: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The username of the server
|
|
105
|
+
*/
|
|
106
|
+
readonly username: pulumi.Output<string>;
|
|
95
107
|
/**
|
|
96
108
|
* URL of the VNC.
|
|
97
109
|
*/
|
|
@@ -118,6 +130,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
118
130
|
* Input properties used for looking up and filtering Server resources.
|
|
119
131
|
*/
|
|
120
132
|
export interface ServerState {
|
|
133
|
+
/**
|
|
134
|
+
* The commitment period of the server
|
|
135
|
+
*/
|
|
136
|
+
commitment?: pulumi.Input<string>;
|
|
121
137
|
/**
|
|
122
138
|
* The date and time of the creation of the Apple Silicon server.
|
|
123
139
|
*/
|
|
@@ -142,6 +158,10 @@ export interface ServerState {
|
|
|
142
158
|
* The organization ID the server is associated with.
|
|
143
159
|
*/
|
|
144
160
|
organizationId?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The password of the server
|
|
163
|
+
*/
|
|
164
|
+
password?: pulumi.Input<string>;
|
|
145
165
|
/**
|
|
146
166
|
* The private networks to attach to the server
|
|
147
167
|
*/
|
|
@@ -165,6 +185,10 @@ export interface ServerState {
|
|
|
165
185
|
* The date and time of the last update of the Apple Silicon server.
|
|
166
186
|
*/
|
|
167
187
|
updatedAt?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The username of the server
|
|
190
|
+
*/
|
|
191
|
+
username?: pulumi.Input<string>;
|
|
168
192
|
/**
|
|
169
193
|
* URL of the VNC.
|
|
170
194
|
*/
|
|
@@ -183,6 +207,10 @@ export interface ServerState {
|
|
|
183
207
|
* The set of arguments for constructing a Server resource.
|
|
184
208
|
*/
|
|
185
209
|
export interface ServerArgs {
|
|
210
|
+
/**
|
|
211
|
+
* The commitment period of the server
|
|
212
|
+
*/
|
|
213
|
+
commitment?: pulumi.Input<string>;
|
|
186
214
|
/**
|
|
187
215
|
* : Enables the VPC option when set to true.
|
|
188
216
|
*/
|
package/applesilicon/server.js
CHANGED
|
@@ -61,17 +61,20 @@ class Server extends pulumi.CustomResource {
|
|
|
61
61
|
opts = opts || {};
|
|
62
62
|
if (opts.id) {
|
|
63
63
|
const state = argsOrState;
|
|
64
|
+
resourceInputs["commitment"] = state ? state.commitment : undefined;
|
|
64
65
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
65
66
|
resourceInputs["deletableAt"] = state ? state.deletableAt : undefined;
|
|
66
67
|
resourceInputs["enableVpc"] = state ? state.enableVpc : undefined;
|
|
67
68
|
resourceInputs["ip"] = state ? state.ip : undefined;
|
|
68
69
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
69
70
|
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
71
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
70
72
|
resourceInputs["privateNetworks"] = state ? state.privateNetworks : undefined;
|
|
71
73
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
72
74
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
73
75
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
74
76
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
77
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
75
78
|
resourceInputs["vncUrl"] = state ? state.vncUrl : undefined;
|
|
76
79
|
resourceInputs["vpcStatus"] = state ? state.vpcStatus : undefined;
|
|
77
80
|
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
@@ -81,6 +84,7 @@ class Server extends pulumi.CustomResource {
|
|
|
81
84
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
82
85
|
throw new Error("Missing required property 'type'");
|
|
83
86
|
}
|
|
87
|
+
resourceInputs["commitment"] = args ? args.commitment : undefined;
|
|
84
88
|
resourceInputs["enableVpc"] = args ? args.enableVpc : undefined;
|
|
85
89
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
86
90
|
resourceInputs["privateNetworks"] = args ? args.privateNetworks : undefined;
|
|
@@ -91,14 +95,18 @@ class Server extends pulumi.CustomResource {
|
|
|
91
95
|
resourceInputs["deletableAt"] = undefined /*out*/;
|
|
92
96
|
resourceInputs["ip"] = undefined /*out*/;
|
|
93
97
|
resourceInputs["organizationId"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["password"] = undefined /*out*/;
|
|
94
99
|
resourceInputs["state"] = undefined /*out*/;
|
|
95
100
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
96
102
|
resourceInputs["vncUrl"] = undefined /*out*/;
|
|
97
103
|
resourceInputs["vpcStatus"] = undefined /*out*/;
|
|
98
104
|
}
|
|
99
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
106
|
const aliasOpts = { aliases: [{ type: "scaleway:index/appleSiliconServer:AppleSiliconServer" }] };
|
|
101
107
|
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
108
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
109
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
102
110
|
super(Server.__pulumiType, name, resourceInputs, opts);
|
|
103
111
|
}
|
|
104
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../applesilicon/server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../applesilicon/server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,sDAAsD,EAAE,CAAC,EAAE,CAAC;QAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAhKL,wBAiKC;AAnJG,gBAAgB;AACO,mBAAY,GAAG,qCAAqC,CAAC"}
|
package/domain/index.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export declare const getZoneOutput: typeof import("./getZone").getZoneOutput;
|
|
|
7
7
|
export { RecordArgs, RecordState } from "./record";
|
|
8
8
|
export type Record = import("./record").Record;
|
|
9
9
|
export declare const Record: typeof import("./record").Record;
|
|
10
|
+
export { RegistrationArgs, RegistrationState } from "./registration";
|
|
11
|
+
export type Registration = import("./registration").Registration;
|
|
12
|
+
export declare const Registration: typeof import("./registration").Registration;
|
|
10
13
|
export { ZoneArgs, ZoneState } from "./zone";
|
|
11
14
|
export type Zone = import("./zone").Zone;
|
|
12
15
|
export declare const Zone: typeof import("./zone").Zone;
|
package/domain/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.Zone = exports.Record = exports.getZoneOutput = exports.getZone = exports.getRecordOutput = exports.getRecord = void 0;
|
|
5
|
+
exports.Zone = exports.Registration = exports.Record = exports.getZoneOutput = exports.getZone = exports.getRecordOutput = exports.getRecord = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getRecord = null;
|
|
@@ -13,6 +13,8 @@ exports.getZoneOutput = null;
|
|
|
13
13
|
utilities.lazyLoad(exports, ["getZone", "getZoneOutput"], () => require("./getZone"));
|
|
14
14
|
exports.Record = null;
|
|
15
15
|
utilities.lazyLoad(exports, ["Record"], () => require("./record"));
|
|
16
|
+
exports.Registration = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["Registration"], () => require("./registration"));
|
|
16
18
|
exports.Zone = null;
|
|
17
19
|
utilities.lazyLoad(exports, ["Zone"], () => require("./zone"));
|
|
18
20
|
const _module = {
|
|
@@ -21,6 +23,8 @@ const _module = {
|
|
|
21
23
|
switch (type) {
|
|
22
24
|
case "scaleway:domain/record:Record":
|
|
23
25
|
return new exports.Record(name, undefined, { urn });
|
|
26
|
+
case "scaleway:domain/registration:Registration":
|
|
27
|
+
return new exports.Registration(name, undefined, { urn });
|
|
24
28
|
case "scaleway:domain/zone:Zone":
|
|
25
29
|
return new exports.Zone(name, undefined, { urn });
|
|
26
30
|
default:
|
|
@@ -29,5 +33,6 @@ const _module = {
|
|
|
29
33
|
},
|
|
30
34
|
};
|
|
31
35
|
pulumi.runtime.registerResourceModule("scaleway", "domain/record", _module);
|
|
36
|
+
pulumi.runtime.registerResourceModule("scaleway", "domain/registration", _module);
|
|
32
37
|
pulumi.runtime.registerResourceModule("scaleway", "domain/zone", _module);
|
|
33
38
|
//# sourceMappingURL=index.js.map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AAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+BAA+B;gBAChC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The `scaleway.domain.Registration` resource allows you to purchase and manage domain registrations with Scaleway. Using this resource you can register one or more domains for a specified duration, configure auto-renewal and DNSSEC options, and set contact information. You can supply an owner contact either by providing an existing contact ID or by specifying the complete contact details. The resource automatically returns additional contact information (administrative and technical) as provided by the Scaleway API.
|
|
6
|
+
*
|
|
7
|
+
* Refer to the [Domains and DNS documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/) and the [API documentation](https://developers.scaleway.com/) for more details.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Purchase a Single Domain
|
|
12
|
+
*
|
|
13
|
+
* The following example purchases a domain with a one-year registration period and specifies the owner contact details. Administrative and technical contacts are returned by the API.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
+
*
|
|
19
|
+
* const test = new scaleway.domain.Registration("test", {
|
|
20
|
+
* domainNames: ["example.com"],
|
|
21
|
+
* durationInYears: 1,
|
|
22
|
+
* ownerContact: {
|
|
23
|
+
* legalForm: "individual",
|
|
24
|
+
* firstname: "John",
|
|
25
|
+
* lastname: "DOE",
|
|
26
|
+
* email: "john.doe@example.com",
|
|
27
|
+
* phoneNumber: "+1.23456789",
|
|
28
|
+
* addressLine1: "123 Main Street",
|
|
29
|
+
* city: "Paris",
|
|
30
|
+
* zip: "75001",
|
|
31
|
+
* country: "FR",
|
|
32
|
+
* vatIdentificationCode: "FR12345678901",
|
|
33
|
+
* companyIdentificationCode: "123456789",
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ### Update Domain Settings
|
|
39
|
+
*
|
|
40
|
+
* You can update the resource to enable auto-renewal and DNSSEC:
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
45
|
+
*
|
|
46
|
+
* const test = new scaleway.domain.Registration("test", {
|
|
47
|
+
* domainNames: ["example.com"],
|
|
48
|
+
* durationInYears: 1,
|
|
49
|
+
* ownerContact: {
|
|
50
|
+
* legalForm: "individual",
|
|
51
|
+
* firstname: "John",
|
|
52
|
+
* lastname: "DOE",
|
|
53
|
+
* email: "john.doe@example.com",
|
|
54
|
+
* phoneNumber: "+1.23456789",
|
|
55
|
+
* addressLine1: "123 Main Street",
|
|
56
|
+
* city: "Paris",
|
|
57
|
+
* zip: "75001",
|
|
58
|
+
* country: "FR",
|
|
59
|
+
* vatIdentificationCode: "FR12345678901",
|
|
60
|
+
* companyIdentificationCode: "123456789",
|
|
61
|
+
* },
|
|
62
|
+
* autoRenew: true,
|
|
63
|
+
* dnssec: true,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ### Purchase Multiple Domains
|
|
68
|
+
*
|
|
69
|
+
* The following example registers several domains in one go:
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
74
|
+
*
|
|
75
|
+
* const multi = new scaleway.domain.Registration("multi", {
|
|
76
|
+
* domainNames: [
|
|
77
|
+
* "domain1.com",
|
|
78
|
+
* "domain2.com",
|
|
79
|
+
* "domain3.com",
|
|
80
|
+
* ],
|
|
81
|
+
* durationInYears: 1,
|
|
82
|
+
* ownerContact: {
|
|
83
|
+
* legalForm: "individual",
|
|
84
|
+
* firstname: "John",
|
|
85
|
+
* lastname: "DOE",
|
|
86
|
+
* email: "john.doe@example.com",
|
|
87
|
+
* phoneNumber: "+1.23456789",
|
|
88
|
+
* addressLine1: "123 Main Street",
|
|
89
|
+
* city: "Paris",
|
|
90
|
+
* zip: "75001",
|
|
91
|
+
* country: "FR",
|
|
92
|
+
* vatIdentificationCode: "FR12345678901",
|
|
93
|
+
* companyIdentificationCode: "123456789",
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* ## Contact Blocks
|
|
99
|
+
*
|
|
100
|
+
* Each contact block supports the following attributes:
|
|
101
|
+
*
|
|
102
|
+
* - `legalForm` (Required, String): Legal form of the contact.
|
|
103
|
+
* - `firstname` (Required, String): First name.
|
|
104
|
+
* - `lastname` (Required, String): Last name.
|
|
105
|
+
* - `companyName` (Optional, String): Company name.
|
|
106
|
+
* - `email` (Required, String): Primary email.
|
|
107
|
+
* - `phoneNumber` (Required, String): Primary phone number.
|
|
108
|
+
* - `addressLine1` (Required, String): Primary address.
|
|
109
|
+
* - `zip` (Required, String): Postal code.
|
|
110
|
+
* - `city` (Required, String): City.
|
|
111
|
+
* - `country` (Required, String): Country code (ISO format).
|
|
112
|
+
* - `vatIdentificationCode` (Required, String): VAT identification code.
|
|
113
|
+
* - `companyIdentificationCode` (Required, String): Company identification code.
|
|
114
|
+
*
|
|
115
|
+
* ## Import
|
|
116
|
+
*
|
|
117
|
+
* To import an existing domain registration, use:
|
|
118
|
+
*
|
|
119
|
+
* bash
|
|
120
|
+
*
|
|
121
|
+
* ```sh
|
|
122
|
+
* $ pulumi import scaleway:domain/registration:Registration test <project_id>/<task_id>
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
export declare class Registration extends pulumi.CustomResource {
|
|
126
|
+
/**
|
|
127
|
+
* Get an existing Registration resource's state with the given name, ID, and optional extra
|
|
128
|
+
* properties used to qualify the lookup.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resulting resource.
|
|
131
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
132
|
+
* @param state Any extra arguments used during the lookup.
|
|
133
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
134
|
+
*/
|
|
135
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegistrationState, opts?: pulumi.CustomResourceOptions): Registration;
|
|
136
|
+
/**
|
|
137
|
+
* Returns true if the given object is an instance of Registration. This is designed to work even
|
|
138
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
139
|
+
*/
|
|
140
|
+
static isInstance(obj: any): obj is Registration;
|
|
141
|
+
/**
|
|
142
|
+
* : Administrative contact information.
|
|
143
|
+
*/
|
|
144
|
+
readonly administrativeContacts: pulumi.Output<outputs.domain.RegistrationAdministrativeContact[]>;
|
|
145
|
+
/**
|
|
146
|
+
* : Enables or disables auto-renewal.
|
|
147
|
+
*/
|
|
148
|
+
readonly autoRenew: pulumi.Output<boolean | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* : Enables or disables DNSSEC.
|
|
151
|
+
*/
|
|
152
|
+
readonly dnssec: pulumi.Output<boolean | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* : A list of domain names to be registered.
|
|
155
|
+
*/
|
|
156
|
+
readonly domainNames: pulumi.Output<string[]>;
|
|
157
|
+
/**
|
|
158
|
+
* DNSSEC DS record configuration.
|
|
159
|
+
*/
|
|
160
|
+
readonly dsRecords: pulumi.Output<outputs.domain.RegistrationDsRecord[]>;
|
|
161
|
+
/**
|
|
162
|
+
* : The registration period in years.
|
|
163
|
+
*/
|
|
164
|
+
readonly durationInYears: pulumi.Output<number | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* : Details of the owner contact.
|
|
167
|
+
*/
|
|
168
|
+
readonly ownerContact: pulumi.Output<outputs.domain.RegistrationOwnerContact>;
|
|
169
|
+
/**
|
|
170
|
+
* : The ID of an existing owner contact.
|
|
171
|
+
*/
|
|
172
|
+
readonly ownerContactId: pulumi.Output<string>;
|
|
173
|
+
/**
|
|
174
|
+
* : The Scaleway project ID.
|
|
175
|
+
*/
|
|
176
|
+
readonly projectId: pulumi.Output<string>;
|
|
177
|
+
/**
|
|
178
|
+
* ID of the task that created the domain.
|
|
179
|
+
*/
|
|
180
|
+
readonly taskId: pulumi.Output<string>;
|
|
181
|
+
/**
|
|
182
|
+
* : Technical contact information.
|
|
183
|
+
*/
|
|
184
|
+
readonly technicalContacts: pulumi.Output<outputs.domain.RegistrationTechnicalContact[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Create a Registration resource with the given unique name, arguments, and options.
|
|
187
|
+
*
|
|
188
|
+
* @param name The _unique_ name of the resource.
|
|
189
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
190
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
191
|
+
*/
|
|
192
|
+
constructor(name: string, args: RegistrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Input properties used for looking up and filtering Registration resources.
|
|
196
|
+
*/
|
|
197
|
+
export interface RegistrationState {
|
|
198
|
+
/**
|
|
199
|
+
* : Administrative contact information.
|
|
200
|
+
*/
|
|
201
|
+
administrativeContacts?: pulumi.Input<pulumi.Input<inputs.domain.RegistrationAdministrativeContact>[]>;
|
|
202
|
+
/**
|
|
203
|
+
* : Enables or disables auto-renewal.
|
|
204
|
+
*/
|
|
205
|
+
autoRenew?: pulumi.Input<boolean>;
|
|
206
|
+
/**
|
|
207
|
+
* : Enables or disables DNSSEC.
|
|
208
|
+
*/
|
|
209
|
+
dnssec?: pulumi.Input<boolean>;
|
|
210
|
+
/**
|
|
211
|
+
* : A list of domain names to be registered.
|
|
212
|
+
*/
|
|
213
|
+
domainNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
214
|
+
/**
|
|
215
|
+
* DNSSEC DS record configuration.
|
|
216
|
+
*/
|
|
217
|
+
dsRecords?: pulumi.Input<pulumi.Input<inputs.domain.RegistrationDsRecord>[]>;
|
|
218
|
+
/**
|
|
219
|
+
* : The registration period in years.
|
|
220
|
+
*/
|
|
221
|
+
durationInYears?: pulumi.Input<number>;
|
|
222
|
+
/**
|
|
223
|
+
* : Details of the owner contact.
|
|
224
|
+
*/
|
|
225
|
+
ownerContact?: pulumi.Input<inputs.domain.RegistrationOwnerContact>;
|
|
226
|
+
/**
|
|
227
|
+
* : The ID of an existing owner contact.
|
|
228
|
+
*/
|
|
229
|
+
ownerContactId?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* : The Scaleway project ID.
|
|
232
|
+
*/
|
|
233
|
+
projectId?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* ID of the task that created the domain.
|
|
236
|
+
*/
|
|
237
|
+
taskId?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* : Technical contact information.
|
|
240
|
+
*/
|
|
241
|
+
technicalContacts?: pulumi.Input<pulumi.Input<inputs.domain.RegistrationTechnicalContact>[]>;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* The set of arguments for constructing a Registration resource.
|
|
245
|
+
*/
|
|
246
|
+
export interface RegistrationArgs {
|
|
247
|
+
/**
|
|
248
|
+
* : Enables or disables auto-renewal.
|
|
249
|
+
*/
|
|
250
|
+
autoRenew?: pulumi.Input<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* : Enables or disables DNSSEC.
|
|
253
|
+
*/
|
|
254
|
+
dnssec?: pulumi.Input<boolean>;
|
|
255
|
+
/**
|
|
256
|
+
* : A list of domain names to be registered.
|
|
257
|
+
*/
|
|
258
|
+
domainNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
259
|
+
/**
|
|
260
|
+
* : The registration period in years.
|
|
261
|
+
*/
|
|
262
|
+
durationInYears?: pulumi.Input<number>;
|
|
263
|
+
/**
|
|
264
|
+
* : Details of the owner contact.
|
|
265
|
+
*/
|
|
266
|
+
ownerContact?: pulumi.Input<inputs.domain.RegistrationOwnerContact>;
|
|
267
|
+
/**
|
|
268
|
+
* : The ID of an existing owner contact.
|
|
269
|
+
*/
|
|
270
|
+
ownerContactId?: pulumi.Input<string>;
|
|
271
|
+
/**
|
|
272
|
+
* : The Scaleway project ID.
|
|
273
|
+
*/
|
|
274
|
+
projectId?: pulumi.Input<string>;
|
|
275
|
+
}
|