@pulumiverse/scaleway 0.3.1-alpha.1660775142
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/LICENSE +202 -0
- package/README.md +54 -0
- package/accountSshKey.d.ts +80 -0
- package/accountSshKey.js +58 -0
- package/accountSshKey.js.map +1 -0
- package/appleSliconValleyServer.d.ts +140 -0
- package/appleSliconValleyServer.js +72 -0
- package/appleSliconValleyServer.js.map +1 -0
- package/baremetalServer.d.ts +173 -0
- package/baremetalServer.js +84 -0
- package/baremetalServer.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +28 -0
- package/config/vars.js +55 -0
- package/config/vars.js.map +1 -0
- package/container.d.ts +273 -0
- package/container.js +90 -0
- package/container.js.map +1 -0
- package/containerNamespace.d.ts +126 -0
- package/containerNamespace.js +63 -0
- package/containerNamespace.js.map +1 -0
- package/database.d.ts +84 -0
- package/database.js +60 -0
- package/database.js.map +1 -0
- package/databaseAcl.d.ts +73 -0
- package/databaseAcl.js +59 -0
- package/databaseAcl.js.map +1 -0
- package/databaseInstance.d.ts +299 -0
- package/databaseInstance.js +99 -0
- package/databaseInstance.js.map +1 -0
- package/databasePrivilege.d.ts +84 -0
- package/databasePrivilege.js +67 -0
- package/databasePrivilege.js.map +1 -0
- package/databaseUser.d.ts +96 -0
- package/databaseUser.js +63 -0
- package/databaseUser.js.map +1 -0
- package/domainRecord.d.ts +189 -0
- package/domainRecord.js +82 -0
- package/domainRecord.js.map +1 -0
- package/domainZone.d.ts +120 -0
- package/domainZone.js +71 -0
- package/domainZone.js.map +1 -0
- package/functionNamespace.d.ts +126 -0
- package/functionNamespace.js +63 -0
- package/functionNamespace.js.map +1 -0
- package/getAccountSshKey.d.ts +31 -0
- package/getAccountSshKey.js +24 -0
- package/getAccountSshKey.js.map +1 -0
- package/getBaremetalOffer.d.ts +41 -0
- package/getBaremetalOffer.js +26 -0
- package/getBaremetalOffer.js.map +1 -0
- package/getBaremetalOs.d.ts +34 -0
- package/getBaremetalOs.js +26 -0
- package/getBaremetalOs.js.map +1 -0
- package/getBaremetalServer.d.ts +44 -0
- package/getBaremetalServer.js +25 -0
- package/getBaremetalServer.js.map +1 -0
- package/getContainer.d.ts +53 -0
- package/getContainer.js +25 -0
- package/getContainer.js.map +1 -0
- package/getContainerNamespace.d.ts +39 -0
- package/getContainerNamespace.js +25 -0
- package/getContainerNamespace.js.map +1 -0
- package/getDatabase.d.ts +31 -0
- package/getDatabase.js +23 -0
- package/getDatabase.js.map +1 -0
- package/getDatabaseAcl.d.ts +28 -0
- package/getDatabaseAcl.js +22 -0
- package/getDatabaseAcl.js.map +1 -0
- package/getDatabaseInstance.d.ts +53 -0
- package/getDatabaseInstance.js +24 -0
- package/getDatabaseInstance.js.map +1 -0
- package/getDatabasePrivilege.d.ts +32 -0
- package/getDatabasePrivilege.js +24 -0
- package/getDatabasePrivilege.js.map +1 -0
- package/getDomainRecord.d.ts +47 -0
- package/getDomainRecord.js +27 -0
- package/getDomainRecord.js.map +1 -0
- package/getDomainZone.d.ts +35 -0
- package/getDomainZone.js +24 -0
- package/getDomainZone.js.map +1 -0
- package/getFunctionNamespace.d.ts +39 -0
- package/getFunctionNamespace.js +25 -0
- package/getFunctionNamespace.js.map +1 -0
- package/getInstanceImage.d.ts +49 -0
- package/getInstanceImage.js +28 -0
- package/getInstanceImage.js.map +1 -0
- package/getInstanceIp.d.ts +30 -0
- package/getInstanceIp.js +24 -0
- package/getInstanceIp.js.map +1 -0
- package/getInstanceSecurityGroup.d.ts +43 -0
- package/getInstanceSecurityGroup.js +25 -0
- package/getInstanceSecurityGroup.js.map +1 -0
- package/getInstanceServer.d.ts +58 -0
- package/getInstanceServer.js +25 -0
- package/getInstanceServer.js.map +1 -0
- package/getInstanceVolume.d.ts +39 -0
- package/getInstanceVolume.js +25 -0
- package/getInstanceVolume.js.map +1 -0
- package/getIotDevice.d.ts +45 -0
- package/getIotDevice.js +26 -0
- package/getIotDevice.js.map +1 -0
- package/getIotHub.d.ts +46 -0
- package/getIotHub.js +25 -0
- package/getIotHub.js.map +1 -0
- package/getKubernetesCluster.d.ts +52 -0
- package/getKubernetesCluster.js +25 -0
- package/getKubernetesCluster.js.map +1 -0
- package/getKubernetesNodePool.d.ts +58 -0
- package/getKubernetesNodePool.js +27 -0
- package/getKubernetesNodePool.js.map +1 -0
- package/getLoadbalancer.d.ts +43 -0
- package/getLoadbalancer.js +26 -0
- package/getLoadbalancer.js.map +1 -0
- package/getLoadbalancerCertificate.d.ts +40 -0
- package/getLoadbalancerCertificate.js +25 -0
- package/getLoadbalancerCertificate.js.map +1 -0
- package/getLoadbalancerIp.d.ts +34 -0
- package/getLoadbalancerIp.js +24 -0
- package/getLoadbalancerIp.js.map +1 -0
- package/getMarketplaceImage.d.ts +31 -0
- package/getMarketplaceImage.js +24 -0
- package/getMarketplaceImage.js.map +1 -0
- package/getObjectBucket.d.ts +38 -0
- package/getObjectBucket.js +24 -0
- package/getObjectBucket.js.map +1 -0
- package/getRedisCluster.d.ts +46 -0
- package/getRedisCluster.js +25 -0
- package/getRedisCluster.js.map +1 -0
- package/getRegistryImage.d.ts +43 -0
- package/getRegistryImage.js +28 -0
- package/getRegistryImage.js.map +1 -0
- package/getRegistryNamespace.d.ts +36 -0
- package/getRegistryNamespace.js +25 -0
- package/getRegistryNamespace.js.map +1 -0
- package/getVpcPrivateNetwork.d.ts +34 -0
- package/getVpcPrivateNetwork.js +24 -0
- package/getVpcPrivateNetwork.js.map +1 -0
- package/getVpcPublicGateway.d.ts +37 -0
- package/getVpcPublicGateway.js +24 -0
- package/getVpcPublicGateway.js.map +1 -0
- package/getVpcPublicGatewayDhcp.d.ts +43 -0
- package/getVpcPublicGatewayDhcp.js +22 -0
- package/getVpcPublicGatewayDhcp.js.map +1 -0
- package/getVpcPublicGatewayIp.d.ts +33 -0
- package/getVpcPublicGatewayIp.js +23 -0
- package/getVpcPublicGatewayIp.js.map +1 -0
- package/getVpcPublicPatRule.d.ts +36 -0
- package/getVpcPublicPatRule.js +23 -0
- package/getVpcPublicPatRule.js.map +1 -0
- package/index.d.ts +83 -0
- package/index.js +304 -0
- package/index.js.map +1 -0
- package/instanceIp.d.ts +104 -0
- package/instanceIp.js +61 -0
- package/instanceIp.js.map +1 -0
- package/instanceIpReverseDns.d.ts +72 -0
- package/instanceIpReverseDns.js +59 -0
- package/instanceIpReverseDns.js.map +1 -0
- package/instancePlacementGroup.d.ts +124 -0
- package/instancePlacementGroup.js +63 -0
- package/instancePlacementGroup.js.map +1 -0
- package/instancePrivateNic.d.ts +80 -0
- package/instancePrivateNic.js +61 -0
- package/instancePrivateNic.js.map +1 -0
- package/instanceSecurityGroup.d.ts +180 -0
- package/instanceSecurityGroup.js +73 -0
- package/instanceSecurityGroup.js.map +1 -0
- package/instanceSecurityGroupRules.d.ts +73 -0
- package/instanceSecurityGroupRules.js +56 -0
- package/instanceSecurityGroupRules.js.map +1 -0
- package/instanceServer.d.ts +327 -0
- package/instanceServer.js +105 -0
- package/instanceServer.js.map +1 -0
- package/instanceSnapshot.d.ts +128 -0
- package/instanceSnapshot.js +68 -0
- package/instanceSnapshot.js.map +1 -0
- package/instanceVolume.d.ts +148 -0
- package/instanceVolume.js +70 -0
- package/instanceVolume.js.map +1 -0
- package/iotDevice.d.ts +173 -0
- package/iotDevice.js +76 -0
- package/iotDevice.js.map +1 -0
- package/iotHub.d.ts +212 -0
- package/iotHub.js +84 -0
- package/iotHub.js.map +1 -0
- package/iotNetwork.d.ts +108 -0
- package/iotNetwork.js +67 -0
- package/iotNetwork.js.map +1 -0
- package/iotRoute.d.ts +129 -0
- package/iotRoute.js +69 -0
- package/iotRoute.js.map +1 -0
- package/kubernetesCluster.d.ts +281 -0
- package/kubernetesCluster.js +99 -0
- package/kubernetesCluster.js.map +1 -0
- package/kubernetesNodePool.d.ts +277 -0
- package/kubernetesNodePool.js +100 -0
- package/kubernetesNodePool.js.map +1 -0
- package/loadbalancer.d.ts +163 -0
- package/loadbalancer.js +75 -0
- package/loadbalancer.js.map +1 -0
- package/loadbalancerBackend.d.ts +268 -0
- package/loadbalancerBackend.js +98 -0
- package/loadbalancerBackend.js.map +1 -0
- package/loadbalancerCertificate.d.ts +133 -0
- package/loadbalancerCertificate.js +70 -0
- package/loadbalancerCertificate.js.map +1 -0
- package/loadbalancerFrontend.d.ts +133 -0
- package/loadbalancerFrontend.js +72 -0
- package/loadbalancerFrontend.js.map +1 -0
- package/loadbalancerIp.d.ts +104 -0
- package/loadbalancerIp.js +61 -0
- package/loadbalancerIp.js.map +1 -0
- package/loadbalancerRoute.d.ts +72 -0
- package/loadbalancerRoute.js +59 -0
- package/loadbalancerRoute.js.map +1 -0
- package/objectBucket.d.ts +138 -0
- package/objectBucket.js +65 -0
- package/objectBucket.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +30 -0
- package/provider.d.ts +83 -0
- package/provider.js +52 -0
- package/provider.js.map +1 -0
- package/redisCluster.d.ts +203 -0
- package/redisCluster.js +87 -0
- package/redisCluster.js.map +1 -0
- package/registryNamespace.d.ts +112 -0
- package/registryNamespace.js +61 -0
- package/registryNamespace.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +255 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +459 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/vpcGatewayNetwork.d.ts +156 -0
- package/vpcGatewayNetwork.js +75 -0
- package/vpcGatewayNetwork.js.map +1 -0
- package/vpcPrivateNetwork.d.ts +108 -0
- package/vpcPrivateNetwork.js +61 -0
- package/vpcPrivateNetwork.js.map +1 -0
- package/vpcPublicGateway.d.ts +144 -0
- package/vpcPublicGateway.js +70 -0
- package/vpcPublicGateway.js.map +1 -0
- package/vpcPublicGatewayDhcp.d.ts +255 -0
- package/vpcPublicGatewayDhcp.js +86 -0
- package/vpcPublicGatewayDhcp.js.map +1 -0
- package/vpcPublicGatewayDhcpReservation.d.ts +118 -0
- package/vpcPublicGatewayDhcpReservation.js +72 -0
- package/vpcPublicGatewayDhcpReservation.js.map +1 -0
- package/vpcPublicGatewayIp.d.ts +116 -0
- package/vpcPublicGatewayIp.js +63 -0
- package/vpcPublicGatewayIp.js.map +1 -0
- package/vpcPublicGatewayPatRule.d.ts +132 -0
- package/vpcPublicGatewayPatRule.js +77 -0
- package/vpcPublicGatewayPatRule.js.map +1 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class VpcPublicGatewayDhcp extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing VpcPublicGatewayDhcp resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcPublicGatewayDhcpState, opts?: pulumi.CustomResourceOptions): VpcPublicGatewayDhcp;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of VpcPublicGatewayDhcp. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is VpcPublicGatewayDhcp;
|
|
18
|
+
/**
|
|
19
|
+
* The address of the DHCP server. This will be the gateway's address in the private network. Defaults to the first address
|
|
20
|
+
* of the subnet
|
|
21
|
+
*/
|
|
22
|
+
readonly address: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* The date and time of the creation of the public gateway.
|
|
25
|
+
*/
|
|
26
|
+
readonly createdAt: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private
|
|
29
|
+
* Network name if created along a GatewayNetwork, or else to `priv`.
|
|
30
|
+
*/
|
|
31
|
+
readonly dnsLocalName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Additional DNS search paths.
|
|
34
|
+
*/
|
|
35
|
+
readonly dnsSearches: pulumi.Output<string[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
38
|
+
*/
|
|
39
|
+
readonly dnsServersOverrides: pulumi.Output<string[] | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be
|
|
42
|
+
* handed out. Defaults to true.
|
|
43
|
+
*/
|
|
44
|
+
readonly enableDynamic: pulumi.Output<boolean>;
|
|
45
|
+
/**
|
|
46
|
+
* The organization_id you want to attach the resource to
|
|
47
|
+
*/
|
|
48
|
+
readonly organizationId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* High IP (included) of the dynamic address pool. Defaults to the last address of the subnet.
|
|
51
|
+
*/
|
|
52
|
+
readonly poolHigh: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
|
|
55
|
+
*/
|
|
56
|
+
readonly poolLow: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The project_id you want to attach the resource to
|
|
59
|
+
*/
|
|
60
|
+
readonly projectId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
|
|
63
|
+
*/
|
|
64
|
+
readonly pushDefaultRoute: pulumi.Output<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
|
|
67
|
+
* Defaults to true.
|
|
68
|
+
*/
|
|
69
|
+
readonly pushDnsServer: pulumi.Output<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than
|
|
72
|
+
* `valid_lifetime`. Defaults to 51m (3060s).
|
|
73
|
+
*/
|
|
74
|
+
readonly rebindTimer: pulumi.Output<number>;
|
|
75
|
+
/**
|
|
76
|
+
* After how long, in seconds, a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
|
|
77
|
+
*/
|
|
78
|
+
readonly renewTimer: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Subnet for the DHCP server
|
|
81
|
+
*/
|
|
82
|
+
readonly subnet: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The date and time of the last update of the public gateway.
|
|
85
|
+
*/
|
|
86
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
|
|
89
|
+
*/
|
|
90
|
+
readonly validLifetime: pulumi.Output<number>;
|
|
91
|
+
/**
|
|
92
|
+
* The zone you want to attach the resource to
|
|
93
|
+
*/
|
|
94
|
+
readonly zone: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a VpcPublicGatewayDhcp resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: VpcPublicGatewayDhcpArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering VpcPublicGatewayDhcp resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface VpcPublicGatewayDhcpState {
|
|
108
|
+
/**
|
|
109
|
+
* The address of the DHCP server. This will be the gateway's address in the private network. Defaults to the first address
|
|
110
|
+
* of the subnet
|
|
111
|
+
*/
|
|
112
|
+
address?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The date and time of the creation of the public gateway.
|
|
115
|
+
*/
|
|
116
|
+
createdAt?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private
|
|
119
|
+
* Network name if created along a GatewayNetwork, or else to `priv`.
|
|
120
|
+
*/
|
|
121
|
+
dnsLocalName?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Additional DNS search paths.
|
|
124
|
+
*/
|
|
125
|
+
dnsSearches?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
128
|
+
*/
|
|
129
|
+
dnsServersOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
130
|
+
/**
|
|
131
|
+
* Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be
|
|
132
|
+
* handed out. Defaults to true.
|
|
133
|
+
*/
|
|
134
|
+
enableDynamic?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* The organization_id you want to attach the resource to
|
|
137
|
+
*/
|
|
138
|
+
organizationId?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* High IP (included) of the dynamic address pool. Defaults to the last address of the subnet.
|
|
141
|
+
*/
|
|
142
|
+
poolHigh?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
|
|
145
|
+
*/
|
|
146
|
+
poolLow?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The project_id you want to attach the resource to
|
|
149
|
+
*/
|
|
150
|
+
projectId?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
|
|
153
|
+
*/
|
|
154
|
+
pushDefaultRoute?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* Whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
|
|
157
|
+
* Defaults to true.
|
|
158
|
+
*/
|
|
159
|
+
pushDnsServer?: pulumi.Input<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than
|
|
162
|
+
* `valid_lifetime`. Defaults to 51m (3060s).
|
|
163
|
+
*/
|
|
164
|
+
rebindTimer?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* After how long, in seconds, a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
|
|
167
|
+
*/
|
|
168
|
+
renewTimer?: pulumi.Input<number>;
|
|
169
|
+
/**
|
|
170
|
+
* Subnet for the DHCP server
|
|
171
|
+
*/
|
|
172
|
+
subnet?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The date and time of the last update of the public gateway.
|
|
175
|
+
*/
|
|
176
|
+
updatedAt?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
|
|
179
|
+
*/
|
|
180
|
+
validLifetime?: pulumi.Input<number>;
|
|
181
|
+
/**
|
|
182
|
+
* The zone you want to attach the resource to
|
|
183
|
+
*/
|
|
184
|
+
zone?: pulumi.Input<string>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The set of arguments for constructing a VpcPublicGatewayDhcp resource.
|
|
188
|
+
*/
|
|
189
|
+
export interface VpcPublicGatewayDhcpArgs {
|
|
190
|
+
/**
|
|
191
|
+
* The address of the DHCP server. This will be the gateway's address in the private network. Defaults to the first address
|
|
192
|
+
* of the subnet
|
|
193
|
+
*/
|
|
194
|
+
address?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private
|
|
197
|
+
* Network name if created along a GatewayNetwork, or else to `priv`.
|
|
198
|
+
*/
|
|
199
|
+
dnsLocalName?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Additional DNS search paths.
|
|
202
|
+
*/
|
|
203
|
+
dnsSearches?: pulumi.Input<pulumi.Input<string>[]>;
|
|
204
|
+
/**
|
|
205
|
+
* Override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
206
|
+
*/
|
|
207
|
+
dnsServersOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
208
|
+
/**
|
|
209
|
+
* Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be
|
|
210
|
+
* handed out. Defaults to true.
|
|
211
|
+
*/
|
|
212
|
+
enableDynamic?: pulumi.Input<boolean>;
|
|
213
|
+
/**
|
|
214
|
+
* High IP (included) of the dynamic address pool. Defaults to the last address of the subnet.
|
|
215
|
+
*/
|
|
216
|
+
poolHigh?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
|
|
219
|
+
*/
|
|
220
|
+
poolLow?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The project_id you want to attach the resource to
|
|
223
|
+
*/
|
|
224
|
+
projectId?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
|
|
227
|
+
*/
|
|
228
|
+
pushDefaultRoute?: pulumi.Input<boolean>;
|
|
229
|
+
/**
|
|
230
|
+
* Whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
|
|
231
|
+
* Defaults to true.
|
|
232
|
+
*/
|
|
233
|
+
pushDnsServer?: pulumi.Input<boolean>;
|
|
234
|
+
/**
|
|
235
|
+
* After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than
|
|
236
|
+
* `valid_lifetime`. Defaults to 51m (3060s).
|
|
237
|
+
*/
|
|
238
|
+
rebindTimer?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* After how long, in seconds, a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
|
|
241
|
+
*/
|
|
242
|
+
renewTimer?: pulumi.Input<number>;
|
|
243
|
+
/**
|
|
244
|
+
* Subnet for the DHCP server
|
|
245
|
+
*/
|
|
246
|
+
subnet: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
|
|
249
|
+
*/
|
|
250
|
+
validLifetime?: pulumi.Input<number>;
|
|
251
|
+
/**
|
|
252
|
+
* The zone you want to attach the resource to
|
|
253
|
+
*/
|
|
254
|
+
zone?: pulumi.Input<string>;
|
|
255
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.VpcPublicGatewayDhcp = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class VpcPublicGatewayDhcp extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["address"] = state ? state.address : undefined;
|
|
15
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
16
|
+
resourceInputs["dnsLocalName"] = state ? state.dnsLocalName : undefined;
|
|
17
|
+
resourceInputs["dnsSearches"] = state ? state.dnsSearches : undefined;
|
|
18
|
+
resourceInputs["dnsServersOverrides"] = state ? state.dnsServersOverrides : undefined;
|
|
19
|
+
resourceInputs["enableDynamic"] = state ? state.enableDynamic : undefined;
|
|
20
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
21
|
+
resourceInputs["poolHigh"] = state ? state.poolHigh : undefined;
|
|
22
|
+
resourceInputs["poolLow"] = state ? state.poolLow : undefined;
|
|
23
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
24
|
+
resourceInputs["pushDefaultRoute"] = state ? state.pushDefaultRoute : undefined;
|
|
25
|
+
resourceInputs["pushDnsServer"] = state ? state.pushDnsServer : undefined;
|
|
26
|
+
resourceInputs["rebindTimer"] = state ? state.rebindTimer : undefined;
|
|
27
|
+
resourceInputs["renewTimer"] = state ? state.renewTimer : undefined;
|
|
28
|
+
resourceInputs["subnet"] = state ? state.subnet : undefined;
|
|
29
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
30
|
+
resourceInputs["validLifetime"] = state ? state.validLifetime : undefined;
|
|
31
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const args = argsOrState;
|
|
35
|
+
if ((!args || args.subnet === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'subnet'");
|
|
37
|
+
}
|
|
38
|
+
resourceInputs["address"] = args ? args.address : undefined;
|
|
39
|
+
resourceInputs["dnsLocalName"] = args ? args.dnsLocalName : undefined;
|
|
40
|
+
resourceInputs["dnsSearches"] = args ? args.dnsSearches : undefined;
|
|
41
|
+
resourceInputs["dnsServersOverrides"] = args ? args.dnsServersOverrides : undefined;
|
|
42
|
+
resourceInputs["enableDynamic"] = args ? args.enableDynamic : undefined;
|
|
43
|
+
resourceInputs["poolHigh"] = args ? args.poolHigh : undefined;
|
|
44
|
+
resourceInputs["poolLow"] = args ? args.poolLow : undefined;
|
|
45
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
46
|
+
resourceInputs["pushDefaultRoute"] = args ? args.pushDefaultRoute : undefined;
|
|
47
|
+
resourceInputs["pushDnsServer"] = args ? args.pushDnsServer : undefined;
|
|
48
|
+
resourceInputs["rebindTimer"] = args ? args.rebindTimer : undefined;
|
|
49
|
+
resourceInputs["renewTimer"] = args ? args.renewTimer : undefined;
|
|
50
|
+
resourceInputs["subnet"] = args ? args.subnet : undefined;
|
|
51
|
+
resourceInputs["validLifetime"] = args ? args.validLifetime : undefined;
|
|
52
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
53
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(VpcPublicGatewayDhcp.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing VpcPublicGatewayDhcp resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name, id, state, opts) {
|
|
70
|
+
return new VpcPublicGatewayDhcp(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of VpcPublicGatewayDhcp. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === VpcPublicGatewayDhcp.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.VpcPublicGatewayDhcp = VpcPublicGatewayDhcp;
|
|
84
|
+
/** @internal */
|
|
85
|
+
VpcPublicGatewayDhcp.__pulumiType = 'scaleway:index/vpcPublicGatewayDhcp:VpcPublicGatewayDhcp';
|
|
86
|
+
//# sourceMappingURL=vpcPublicGatewayDhcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcPublicGatewayDhcp.js","sourceRoot":"","sources":["../vpcPublicGatewayDhcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAkH3D,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,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAA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AAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAlKD;;;;;;;;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;;AA1BL,oDAoKC;AAtJG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class VpcPublicGatewayDhcpReservation extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing VpcPublicGatewayDhcpReservation resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcPublicGatewayDhcpReservationState, opts?: pulumi.CustomResourceOptions): VpcPublicGatewayDhcpReservation;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of VpcPublicGatewayDhcpReservation. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is VpcPublicGatewayDhcpReservation;
|
|
18
|
+
/**
|
|
19
|
+
* The configuration creation date.
|
|
20
|
+
*/
|
|
21
|
+
readonly createdAt: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the owning GatewayNetwork (UUID format).
|
|
24
|
+
*/
|
|
25
|
+
readonly gatewayNetworkId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The Hostname of the client machine.
|
|
28
|
+
*/
|
|
29
|
+
readonly hostname: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The IP address to give to the machine (IPv4 address).
|
|
32
|
+
*/
|
|
33
|
+
readonly ipAddress: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The MAC address to give a static entry to.
|
|
36
|
+
*/
|
|
37
|
+
readonly macAddress: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and
|
|
40
|
+
* lease
|
|
41
|
+
*/
|
|
42
|
+
readonly type: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The configuration last modification date.
|
|
45
|
+
*/
|
|
46
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The zone you want to attach the resource to
|
|
49
|
+
*/
|
|
50
|
+
readonly zone: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a VpcPublicGatewayDhcpReservation resource with the given unique name, arguments, and options.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resource.
|
|
55
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
+
*/
|
|
58
|
+
constructor(name: string, args: VpcPublicGatewayDhcpReservationArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Input properties used for looking up and filtering VpcPublicGatewayDhcpReservation resources.
|
|
62
|
+
*/
|
|
63
|
+
export interface VpcPublicGatewayDhcpReservationState {
|
|
64
|
+
/**
|
|
65
|
+
* The configuration creation date.
|
|
66
|
+
*/
|
|
67
|
+
createdAt?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the owning GatewayNetwork (UUID format).
|
|
70
|
+
*/
|
|
71
|
+
gatewayNetworkId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The Hostname of the client machine.
|
|
74
|
+
*/
|
|
75
|
+
hostname?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The IP address to give to the machine (IPv4 address).
|
|
78
|
+
*/
|
|
79
|
+
ipAddress?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The MAC address to give a static entry to.
|
|
82
|
+
*/
|
|
83
|
+
macAddress?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and
|
|
86
|
+
* lease
|
|
87
|
+
*/
|
|
88
|
+
type?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The configuration last modification date.
|
|
91
|
+
*/
|
|
92
|
+
updatedAt?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The zone you want to attach the resource to
|
|
95
|
+
*/
|
|
96
|
+
zone?: pulumi.Input<string>;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The set of arguments for constructing a VpcPublicGatewayDhcpReservation resource.
|
|
100
|
+
*/
|
|
101
|
+
export interface VpcPublicGatewayDhcpReservationArgs {
|
|
102
|
+
/**
|
|
103
|
+
* The ID of the owning GatewayNetwork (UUID format).
|
|
104
|
+
*/
|
|
105
|
+
gatewayNetworkId: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The IP address to give to the machine (IPv4 address).
|
|
108
|
+
*/
|
|
109
|
+
ipAddress: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The MAC address to give a static entry to.
|
|
112
|
+
*/
|
|
113
|
+
macAddress: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The zone you want to attach the resource to
|
|
116
|
+
*/
|
|
117
|
+
zone?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.VpcPublicGatewayDhcpReservation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class VpcPublicGatewayDhcpReservation extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
15
|
+
resourceInputs["gatewayNetworkId"] = state ? state.gatewayNetworkId : undefined;
|
|
16
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
17
|
+
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
18
|
+
resourceInputs["macAddress"] = state ? state.macAddress : undefined;
|
|
19
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
20
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
21
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
const args = argsOrState;
|
|
25
|
+
if ((!args || args.gatewayNetworkId === undefined) && !opts.urn) {
|
|
26
|
+
throw new Error("Missing required property 'gatewayNetworkId'");
|
|
27
|
+
}
|
|
28
|
+
if ((!args || args.ipAddress === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'ipAddress'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.macAddress === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'macAddress'");
|
|
33
|
+
}
|
|
34
|
+
resourceInputs["gatewayNetworkId"] = args ? args.gatewayNetworkId : undefined;
|
|
35
|
+
resourceInputs["ipAddress"] = args ? args.ipAddress : undefined;
|
|
36
|
+
resourceInputs["macAddress"] = args ? args.macAddress : undefined;
|
|
37
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
38
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["hostname"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
super(VpcPublicGatewayDhcpReservation.__pulumiType, name, resourceInputs, opts);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing VpcPublicGatewayDhcpReservation resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new VpcPublicGatewayDhcpReservation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of VpcPublicGatewayDhcpReservation. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === VpcPublicGatewayDhcpReservation.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.VpcPublicGatewayDhcpReservation = VpcPublicGatewayDhcpReservation;
|
|
70
|
+
/** @internal */
|
|
71
|
+
VpcPublicGatewayDhcpReservation.__pulumiType = 'scaleway:index/vpcPublicGatewayDhcpReservation:VpcPublicGatewayDhcpReservation';
|
|
72
|
+
//# sourceMappingURL=vpcPublicGatewayDhcpReservation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcPublicGatewayDhcpReservation.js","sourceRoot":"","sources":["../vpcPublicGatewayDhcpReservation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IAsEtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,W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+1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class VpcPublicGatewayIp extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing VpcPublicGatewayIp resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcPublicGatewayIpState, opts?: pulumi.CustomResourceOptions): VpcPublicGatewayIp;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of VpcPublicGatewayIp. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is VpcPublicGatewayIp;
|
|
18
|
+
/**
|
|
19
|
+
* the IP itself
|
|
20
|
+
*/
|
|
21
|
+
readonly address: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The date and time of the creation of the public gateway IP
|
|
24
|
+
*/
|
|
25
|
+
readonly createdAt: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The organization_id you want to attach the resource to
|
|
28
|
+
*/
|
|
29
|
+
readonly organizationId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The project_id you want to attach the resource to
|
|
32
|
+
*/
|
|
33
|
+
readonly projectId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* reverse domain name for the IP address
|
|
36
|
+
*/
|
|
37
|
+
readonly reverse: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The tags associated with public gateway IP
|
|
40
|
+
*/
|
|
41
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* The date and time of the last update of the public gateway IP
|
|
44
|
+
*/
|
|
45
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The zone you want to attach the resource to
|
|
48
|
+
*/
|
|
49
|
+
readonly zone: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a VpcPublicGatewayIp resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args?: VpcPublicGatewayIpArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering VpcPublicGatewayIp resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface VpcPublicGatewayIpState {
|
|
63
|
+
/**
|
|
64
|
+
* the IP itself
|
|
65
|
+
*/
|
|
66
|
+
address?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The date and time of the creation of the public gateway IP
|
|
69
|
+
*/
|
|
70
|
+
createdAt?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The organization_id you want to attach the resource to
|
|
73
|
+
*/
|
|
74
|
+
organizationId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The project_id you want to attach the resource to
|
|
77
|
+
*/
|
|
78
|
+
projectId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* reverse domain name for the IP address
|
|
81
|
+
*/
|
|
82
|
+
reverse?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The tags associated with public gateway IP
|
|
85
|
+
*/
|
|
86
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
87
|
+
/**
|
|
88
|
+
* The date and time of the last update of the public gateway IP
|
|
89
|
+
*/
|
|
90
|
+
updatedAt?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The zone you want to attach the resource to
|
|
93
|
+
*/
|
|
94
|
+
zone?: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a VpcPublicGatewayIp resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface VpcPublicGatewayIpArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The project_id you want to attach the resource to
|
|
102
|
+
*/
|
|
103
|
+
projectId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* reverse domain name for the IP address
|
|
106
|
+
*/
|
|
107
|
+
reverse?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The tags associated with public gateway IP
|
|
110
|
+
*/
|
|
111
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
|
+
/**
|
|
113
|
+
* The zone you want to attach the resource to
|
|
114
|
+
*/
|
|
115
|
+
zone?: pulumi.Input<string>;
|
|
116
|
+
}
|