@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,75 @@
|
|
|
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.VpcGatewayNetwork = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class VpcGatewayNetwork extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["cleanupDhcp"] = state ? state.cleanupDhcp : undefined;
|
|
15
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
16
|
+
resourceInputs["dhcpId"] = state ? state.dhcpId : undefined;
|
|
17
|
+
resourceInputs["enableDhcp"] = state ? state.enableDhcp : undefined;
|
|
18
|
+
resourceInputs["enableMasquerade"] = state ? state.enableMasquerade : undefined;
|
|
19
|
+
resourceInputs["gatewayId"] = state ? state.gatewayId : undefined;
|
|
20
|
+
resourceInputs["macAddress"] = state ? state.macAddress : undefined;
|
|
21
|
+
resourceInputs["privateNetworkId"] = state ? state.privateNetworkId : undefined;
|
|
22
|
+
resourceInputs["staticAddress"] = state ? state.staticAddress : undefined;
|
|
23
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
24
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
const args = argsOrState;
|
|
28
|
+
if ((!args || args.gatewayId === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'gatewayId'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.privateNetworkId === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'privateNetworkId'");
|
|
33
|
+
}
|
|
34
|
+
resourceInputs["cleanupDhcp"] = args ? args.cleanupDhcp : undefined;
|
|
35
|
+
resourceInputs["dhcpId"] = args ? args.dhcpId : undefined;
|
|
36
|
+
resourceInputs["enableDhcp"] = args ? args.enableDhcp : undefined;
|
|
37
|
+
resourceInputs["enableMasquerade"] = args ? args.enableMasquerade : undefined;
|
|
38
|
+
resourceInputs["gatewayId"] = args ? args.gatewayId : undefined;
|
|
39
|
+
resourceInputs["privateNetworkId"] = args ? args.privateNetworkId : undefined;
|
|
40
|
+
resourceInputs["staticAddress"] = args ? args.staticAddress : undefined;
|
|
41
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
42
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["macAddress"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
45
|
+
}
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
+
super(VpcGatewayNetwork.__pulumiType, name, resourceInputs, opts);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing VpcGatewayNetwork resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new VpcGatewayNetwork(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of VpcGatewayNetwork. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === VpcGatewayNetwork.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.VpcGatewayNetwork = VpcGatewayNetwork;
|
|
73
|
+
/** @internal */
|
|
74
|
+
VpcGatewayNetwork.__pulumiType = 'scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork';
|
|
75
|
+
//# sourceMappingURL=vpcGatewayNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcGatewayNetwork.js","sourceRoot":"","sources":["../vpcGatewayNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiFxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,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GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAtHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAwHC;AA1GG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class VpcPrivateNetwork extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing VpcPrivateNetwork 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?: VpcPrivateNetworkState, opts?: pulumi.CustomResourceOptions): VpcPrivateNetwork;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of VpcPrivateNetwork. 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 VpcPrivateNetwork;
|
|
18
|
+
/**
|
|
19
|
+
* The date and time of the creation of the private network
|
|
20
|
+
*/
|
|
21
|
+
readonly createdAt: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the private network
|
|
24
|
+
*/
|
|
25
|
+
readonly name: 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
|
+
* The tags associated with private network
|
|
36
|
+
*/
|
|
37
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The date and time of the last update of the private network
|
|
40
|
+
*/
|
|
41
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The zone you want to attach the resource to
|
|
44
|
+
*/
|
|
45
|
+
readonly zone: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a VpcPrivateNetwork resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args?: VpcPrivateNetworkArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Input properties used for looking up and filtering VpcPrivateNetwork resources.
|
|
57
|
+
*/
|
|
58
|
+
export interface VpcPrivateNetworkState {
|
|
59
|
+
/**
|
|
60
|
+
* The date and time of the creation of the private network
|
|
61
|
+
*/
|
|
62
|
+
createdAt?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the private network
|
|
65
|
+
*/
|
|
66
|
+
name?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The organization_id you want to attach the resource to
|
|
69
|
+
*/
|
|
70
|
+
organizationId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The project_id you want to attach the resource to
|
|
73
|
+
*/
|
|
74
|
+
projectId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The tags associated with private network
|
|
77
|
+
*/
|
|
78
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time of the last update of the private network
|
|
81
|
+
*/
|
|
82
|
+
updatedAt?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The zone you want to attach the resource to
|
|
85
|
+
*/
|
|
86
|
+
zone?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a VpcPrivateNetwork resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface VpcPrivateNetworkArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the private network
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The project_id you want to attach the resource to
|
|
98
|
+
*/
|
|
99
|
+
projectId?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The tags associated with private network
|
|
102
|
+
*/
|
|
103
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* The zone you want to attach the resource to
|
|
106
|
+
*/
|
|
107
|
+
zone?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.VpcPrivateNetwork = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class VpcPrivateNetwork 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["name"] = state ? state.name : undefined;
|
|
16
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
17
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
18
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
19
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
20
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
const args = argsOrState;
|
|
24
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
25
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
26
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
27
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
28
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
29
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
30
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
31
|
+
}
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
33
|
+
super(VpcPrivateNetwork.__pulumiType, name, resourceInputs, opts);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing VpcPrivateNetwork resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new VpcPrivateNetwork(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of VpcPrivateNetwork. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === VpcPrivateNetwork.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.VpcPrivateNetwork = VpcPrivateNetwork;
|
|
59
|
+
/** @internal */
|
|
60
|
+
VpcPrivateNetwork.__pulumiType = 'scaleway:index/vpcPrivateNetwork:VpcPrivateNetwork';
|
|
61
|
+
//# sourceMappingURL=vpcPrivateNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcPrivateNetwork.js","sourceRoot":"","sources":["../vpcPrivateNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAxFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA0FC;AA5EG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class VpcPublicGateway extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing VpcPublicGateway 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?: VpcPublicGatewayState, opts?: pulumi.CustomResourceOptions): VpcPublicGateway;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of VpcPublicGateway. 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 VpcPublicGateway;
|
|
18
|
+
/**
|
|
19
|
+
* The date and time of the creation of the public gateway
|
|
20
|
+
*/
|
|
21
|
+
readonly createdAt: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* attach an existing IP to the gateway
|
|
24
|
+
*/
|
|
25
|
+
readonly ipId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* name of the gateway
|
|
28
|
+
*/
|
|
29
|
+
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The organization_id you want to attach the resource to
|
|
32
|
+
*/
|
|
33
|
+
readonly organizationId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The project_id you want to attach the resource to
|
|
36
|
+
*/
|
|
37
|
+
readonly projectId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The tags associated with public gateway
|
|
40
|
+
*/
|
|
41
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* gateway type
|
|
44
|
+
*/
|
|
45
|
+
readonly type: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The date and time of the last update of the public gateway
|
|
48
|
+
*/
|
|
49
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* override the gateway's default recursive DNS servers, if DNS features are enabled
|
|
52
|
+
*/
|
|
53
|
+
readonly upstreamDnsServers: pulumi.Output<string[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The zone you want to attach the resource to
|
|
56
|
+
*/
|
|
57
|
+
readonly zone: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a VpcPublicGateway resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args: VpcPublicGatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering VpcPublicGateway resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface VpcPublicGatewayState {
|
|
71
|
+
/**
|
|
72
|
+
* The date and time of the creation of the public gateway
|
|
73
|
+
*/
|
|
74
|
+
createdAt?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* attach an existing IP to the gateway
|
|
77
|
+
*/
|
|
78
|
+
ipId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* name of the gateway
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The organization_id you want to attach the resource to
|
|
85
|
+
*/
|
|
86
|
+
organizationId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The project_id you want to attach the resource to
|
|
89
|
+
*/
|
|
90
|
+
projectId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The tags associated with public gateway
|
|
93
|
+
*/
|
|
94
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
95
|
+
/**
|
|
96
|
+
* gateway type
|
|
97
|
+
*/
|
|
98
|
+
type?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The date and time of the last update of the public gateway
|
|
101
|
+
*/
|
|
102
|
+
updatedAt?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* override the gateway's default recursive DNS servers, if DNS features are enabled
|
|
105
|
+
*/
|
|
106
|
+
upstreamDnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* The zone you want to attach the resource to
|
|
109
|
+
*/
|
|
110
|
+
zone?: pulumi.Input<string>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The set of arguments for constructing a VpcPublicGateway resource.
|
|
114
|
+
*/
|
|
115
|
+
export interface VpcPublicGatewayArgs {
|
|
116
|
+
/**
|
|
117
|
+
* attach an existing IP to the gateway
|
|
118
|
+
*/
|
|
119
|
+
ipId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* name of the gateway
|
|
122
|
+
*/
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The project_id you want to attach the resource to
|
|
126
|
+
*/
|
|
127
|
+
projectId?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The tags associated with public gateway
|
|
130
|
+
*/
|
|
131
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
132
|
+
/**
|
|
133
|
+
* gateway type
|
|
134
|
+
*/
|
|
135
|
+
type: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* override the gateway's default recursive DNS servers, if DNS features are enabled
|
|
138
|
+
*/
|
|
139
|
+
upstreamDnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* The zone you want to attach the resource to
|
|
142
|
+
*/
|
|
143
|
+
zone?: pulumi.Input<string>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.VpcPublicGateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class VpcPublicGateway 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["ipId"] = state ? state.ipId : undefined;
|
|
16
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
17
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
18
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
19
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
20
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
21
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
22
|
+
resourceInputs["upstreamDnsServers"] = state ? state.upstreamDnsServers : undefined;
|
|
23
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
const args = argsOrState;
|
|
27
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
28
|
+
throw new Error("Missing required property 'type'");
|
|
29
|
+
}
|
|
30
|
+
resourceInputs["ipId"] = args ? args.ipId : undefined;
|
|
31
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
32
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
33
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
34
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
35
|
+
resourceInputs["upstreamDnsServers"] = args ? args.upstreamDnsServers : undefined;
|
|
36
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
37
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
super(VpcPublicGateway.__pulumiType, name, resourceInputs, opts);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing VpcPublicGateway resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new VpcPublicGateway(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of VpcPublicGateway. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === VpcPublicGateway.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.VpcPublicGateway = VpcPublicGateway;
|
|
68
|
+
/** @internal */
|
|
69
|
+
VpcPublicGateway.__pulumiType = 'scaleway:index/vpcPublicGateway:VpcPublicGateway';
|
|
70
|
+
//# sourceMappingURL=vpcPublicGateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcPublicGateway.js","sourceRoot":"","sources":["../vpcPublicGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AA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