@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,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class InstanceIpReverseDns extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing InstanceIpReverseDns 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?: InstanceIpReverseDnsState, opts?: pulumi.CustomResourceOptions): InstanceIpReverseDns;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of InstanceIpReverseDns. 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 InstanceIpReverseDns;
|
|
18
|
+
/**
|
|
19
|
+
* The IP ID or IP address
|
|
20
|
+
*/
|
|
21
|
+
readonly ipId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The reverse DNS for this IP
|
|
24
|
+
*/
|
|
25
|
+
readonly reverse: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The zone you want to attach the resource to
|
|
28
|
+
*/
|
|
29
|
+
readonly zone: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a InstanceIpReverseDns resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name: string, args: InstanceIpReverseDnsArgs, opts?: pulumi.CustomResourceOptions);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Input properties used for looking up and filtering InstanceIpReverseDns resources.
|
|
41
|
+
*/
|
|
42
|
+
export interface InstanceIpReverseDnsState {
|
|
43
|
+
/**
|
|
44
|
+
* The IP ID or IP address
|
|
45
|
+
*/
|
|
46
|
+
ipId?: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The reverse DNS for this IP
|
|
49
|
+
*/
|
|
50
|
+
reverse?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The zone you want to attach the resource to
|
|
53
|
+
*/
|
|
54
|
+
zone?: pulumi.Input<string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The set of arguments for constructing a InstanceIpReverseDns resource.
|
|
58
|
+
*/
|
|
59
|
+
export interface InstanceIpReverseDnsArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The IP ID or IP address
|
|
62
|
+
*/
|
|
63
|
+
ipId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The reverse DNS for this IP
|
|
66
|
+
*/
|
|
67
|
+
reverse: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The zone you want to attach the resource to
|
|
70
|
+
*/
|
|
71
|
+
zone?: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.InstanceIpReverseDns = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class InstanceIpReverseDns extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["ipId"] = state ? state.ipId : undefined;
|
|
15
|
+
resourceInputs["reverse"] = state ? state.reverse : undefined;
|
|
16
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
const args = argsOrState;
|
|
20
|
+
if ((!args || args.ipId === undefined) && !opts.urn) {
|
|
21
|
+
throw new Error("Missing required property 'ipId'");
|
|
22
|
+
}
|
|
23
|
+
if ((!args || args.reverse === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'reverse'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["ipId"] = args ? args.ipId : undefined;
|
|
27
|
+
resourceInputs["reverse"] = args ? args.reverse : undefined;
|
|
28
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
super(InstanceIpReverseDns.__pulumiType, name, resourceInputs, opts);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing InstanceIpReverseDns resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new InstanceIpReverseDns(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of InstanceIpReverseDns. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === InstanceIpReverseDns.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InstanceIpReverseDns = InstanceIpReverseDns;
|
|
57
|
+
/** @internal */
|
|
58
|
+
InstanceIpReverseDns.__pulumiType = 'scaleway:index/instanceIpReverseDns:InstanceIpReverseDns';
|
|
59
|
+
//# sourceMappingURL=instanceIpReverseDns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instanceIpReverseDns.js","sourceRoot":"","sources":["../instanceIpReverseDns.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAiD3D,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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAA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,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,oDAwEC;AA1DG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class InstancePlacementGroup extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing InstancePlacementGroup 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?: InstancePlacementGroupState, opts?: pulumi.CustomResourceOptions): InstancePlacementGroup;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of InstancePlacementGroup. 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 InstancePlacementGroup;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the placement group
|
|
20
|
+
*/
|
|
21
|
+
readonly name: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The organization_id you want to attach the resource to
|
|
24
|
+
*/
|
|
25
|
+
readonly organizationId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* One of the two policy_mode may be selected: enforced or optional.
|
|
28
|
+
*/
|
|
29
|
+
readonly policyMode: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Is true when the policy is respected.
|
|
32
|
+
*/
|
|
33
|
+
readonly policyRespected: pulumi.Output<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
* The operating mode is selected by a policy_type
|
|
36
|
+
*/
|
|
37
|
+
readonly policyType: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The project_id you want to attach the resource to
|
|
40
|
+
*/
|
|
41
|
+
readonly projectId: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The tags associated with the placement group
|
|
44
|
+
*/
|
|
45
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The zone you want to attach the resource to
|
|
48
|
+
*/
|
|
49
|
+
readonly zone: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a InstancePlacementGroup 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?: InstancePlacementGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering InstancePlacementGroup resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface InstancePlacementGroupState {
|
|
63
|
+
/**
|
|
64
|
+
* The name of the placement group
|
|
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
|
+
* One of the two policy_mode may be selected: enforced or optional.
|
|
73
|
+
*/
|
|
74
|
+
policyMode?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Is true when the policy is respected.
|
|
77
|
+
*/
|
|
78
|
+
policyRespected?: pulumi.Input<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* The operating mode is selected by a policy_type
|
|
81
|
+
*/
|
|
82
|
+
policyType?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The project_id you want to attach the resource to
|
|
85
|
+
*/
|
|
86
|
+
projectId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The tags associated with the placement group
|
|
89
|
+
*/
|
|
90
|
+
tags?: pulumi.Input<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 InstancePlacementGroup resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface InstancePlacementGroupArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The name of the placement group
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* One of the two policy_mode may be selected: enforced or optional.
|
|
106
|
+
*/
|
|
107
|
+
policyMode?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The operating mode is selected by a policy_type
|
|
110
|
+
*/
|
|
111
|
+
policyType?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The project_id you want to attach the resource to
|
|
114
|
+
*/
|
|
115
|
+
projectId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The tags associated with the placement group
|
|
118
|
+
*/
|
|
119
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
|
+
/**
|
|
121
|
+
* The zone you want to attach the resource to
|
|
122
|
+
*/
|
|
123
|
+
zone?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.InstancePlacementGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class InstancePlacementGroup extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
15
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
16
|
+
resourceInputs["policyMode"] = state ? state.policyMode : undefined;
|
|
17
|
+
resourceInputs["policyRespected"] = state ? state.policyRespected : undefined;
|
|
18
|
+
resourceInputs["policyType"] = state ? state.policyType : undefined;
|
|
19
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
20
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
21
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
const args = argsOrState;
|
|
25
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
26
|
+
resourceInputs["policyMode"] = args ? args.policyMode : undefined;
|
|
27
|
+
resourceInputs["policyType"] = args ? args.policyType : undefined;
|
|
28
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
29
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
30
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
31
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
32
|
+
resourceInputs["policyRespected"] = undefined /*out*/;
|
|
33
|
+
}
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
35
|
+
super(InstancePlacementGroup.__pulumiType, name, resourceInputs, opts);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing InstancePlacementGroup resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new InstancePlacementGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of InstancePlacementGroup. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === InstancePlacementGroup.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.InstancePlacementGroup = InstancePlacementGroup;
|
|
61
|
+
/** @internal */
|
|
62
|
+
InstancePlacementGroup.__pulumiType = 'scaleway:index/instancePlacementGroup:InstancePlacementGroup';
|
|
63
|
+
//# sourceMappingURL=instancePlacementGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instancePlacementGroup.js","sourceRoot":"","sources":["../instancePlacementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAqE7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAA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A1BL,wDAgGC;AAlFG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class InstancePrivateNic extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing InstancePrivateNic 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?: InstancePrivateNicState, opts?: pulumi.CustomResourceOptions): InstancePrivateNic;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of InstancePrivateNic. 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 InstancePrivateNic;
|
|
18
|
+
/**
|
|
19
|
+
* MAC address of the NIC
|
|
20
|
+
*/
|
|
21
|
+
readonly macAddress: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The private network ID
|
|
24
|
+
*/
|
|
25
|
+
readonly privateNetworkId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The server ID
|
|
28
|
+
*/
|
|
29
|
+
readonly serverId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The zone you want to attach the resource to
|
|
32
|
+
*/
|
|
33
|
+
readonly zone: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a InstancePrivateNic resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: InstancePrivateNicArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Input properties used for looking up and filtering InstancePrivateNic resources.
|
|
45
|
+
*/
|
|
46
|
+
export interface InstancePrivateNicState {
|
|
47
|
+
/**
|
|
48
|
+
* MAC address of the NIC
|
|
49
|
+
*/
|
|
50
|
+
macAddress?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The private network ID
|
|
53
|
+
*/
|
|
54
|
+
privateNetworkId?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The server ID
|
|
57
|
+
*/
|
|
58
|
+
serverId?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The zone you want to attach the resource to
|
|
61
|
+
*/
|
|
62
|
+
zone?: pulumi.Input<string>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The set of arguments for constructing a InstancePrivateNic resource.
|
|
66
|
+
*/
|
|
67
|
+
export interface InstancePrivateNicArgs {
|
|
68
|
+
/**
|
|
69
|
+
* The private network ID
|
|
70
|
+
*/
|
|
71
|
+
privateNetworkId: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The server ID
|
|
74
|
+
*/
|
|
75
|
+
serverId: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The zone you want to attach the resource to
|
|
78
|
+
*/
|
|
79
|
+
zone?: pulumi.Input<string>;
|
|
80
|
+
}
|
|
@@ -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.InstancePrivateNic = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class InstancePrivateNic extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["macAddress"] = state ? state.macAddress : undefined;
|
|
15
|
+
resourceInputs["privateNetworkId"] = state ? state.privateNetworkId : undefined;
|
|
16
|
+
resourceInputs["serverId"] = state ? state.serverId : undefined;
|
|
17
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const args = argsOrState;
|
|
21
|
+
if ((!args || args.privateNetworkId === undefined) && !opts.urn) {
|
|
22
|
+
throw new Error("Missing required property 'privateNetworkId'");
|
|
23
|
+
}
|
|
24
|
+
if ((!args || args.serverId === undefined) && !opts.urn) {
|
|
25
|
+
throw new Error("Missing required property 'serverId'");
|
|
26
|
+
}
|
|
27
|
+
resourceInputs["privateNetworkId"] = args ? args.privateNetworkId : undefined;
|
|
28
|
+
resourceInputs["serverId"] = args ? args.serverId : undefined;
|
|
29
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
30
|
+
resourceInputs["macAddress"] = undefined /*out*/;
|
|
31
|
+
}
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
33
|
+
super(InstancePrivateNic.__pulumiType, name, resourceInputs, opts);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing InstancePrivateNic 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 InstancePrivateNic(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of InstancePrivateNic. 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'] === InstancePrivateNic.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.InstancePrivateNic = InstancePrivateNic;
|
|
59
|
+
/** @internal */
|
|
60
|
+
InstancePrivateNic.__pulumiType = 'scaleway:index/instancePrivateNic:InstancePrivateNic';
|
|
61
|
+
//# sourceMappingURL=instancePrivateNic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instancePrivateNic.js","sourceRoot":"","sources":["../instancePrivateNic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAqDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC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,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,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;;AA1BL,gDA8EC;AAhEG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class InstanceSecurityGroup extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing InstanceSecurityGroup resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceSecurityGroupState, opts?: pulumi.CustomResourceOptions): InstanceSecurityGroup;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of InstanceSecurityGroup. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is InstanceSecurityGroup;
|
|
19
|
+
/**
|
|
20
|
+
* The description of the security group
|
|
21
|
+
*/
|
|
22
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Enable blocking of SMTP on IPv4 and IPv6
|
|
25
|
+
*/
|
|
26
|
+
readonly enableDefaultSecurity: pulumi.Output<boolean | undefined>;
|
|
27
|
+
readonly externalRules: pulumi.Output<boolean | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Default inbound traffic policy for this security group
|
|
30
|
+
*/
|
|
31
|
+
readonly inboundDefaultPolicy: pulumi.Output<string | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Inbound rules for this security group
|
|
34
|
+
*/
|
|
35
|
+
readonly inboundRules: pulumi.Output<outputs.InstanceSecurityGroupInboundRule[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The name of the security group
|
|
38
|
+
*/
|
|
39
|
+
readonly name: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The organization_id you want to attach the resource to
|
|
42
|
+
*/
|
|
43
|
+
readonly organizationId: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Default outbound traffic policy for this security group
|
|
46
|
+
*/
|
|
47
|
+
readonly outboundDefaultPolicy: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Outbound rules for this security group
|
|
50
|
+
*/
|
|
51
|
+
readonly outboundRules: pulumi.Output<outputs.InstanceSecurityGroupOutboundRule[] | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The project_id you want to attach the resource to
|
|
54
|
+
*/
|
|
55
|
+
readonly projectId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The stateful value of the security group
|
|
58
|
+
*/
|
|
59
|
+
readonly stateful: pulumi.Output<boolean | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The tags associated with the security group
|
|
62
|
+
*/
|
|
63
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The zone you want to attach the resource to
|
|
66
|
+
*/
|
|
67
|
+
readonly zone: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a InstanceSecurityGroup resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args?: InstanceSecurityGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering InstanceSecurityGroup resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface InstanceSecurityGroupState {
|
|
81
|
+
/**
|
|
82
|
+
* The description of the security group
|
|
83
|
+
*/
|
|
84
|
+
description?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Enable blocking of SMTP on IPv4 and IPv6
|
|
87
|
+
*/
|
|
88
|
+
enableDefaultSecurity?: pulumi.Input<boolean>;
|
|
89
|
+
externalRules?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* Default inbound traffic policy for this security group
|
|
92
|
+
*/
|
|
93
|
+
inboundDefaultPolicy?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Inbound rules for this security group
|
|
96
|
+
*/
|
|
97
|
+
inboundRules?: pulumi.Input<pulumi.Input<inputs.InstanceSecurityGroupInboundRule>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the security group
|
|
100
|
+
*/
|
|
101
|
+
name?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The organization_id you want to attach the resource to
|
|
104
|
+
*/
|
|
105
|
+
organizationId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Default outbound traffic policy for this security group
|
|
108
|
+
*/
|
|
109
|
+
outboundDefaultPolicy?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Outbound rules for this security group
|
|
112
|
+
*/
|
|
113
|
+
outboundRules?: pulumi.Input<pulumi.Input<inputs.InstanceSecurityGroupOutboundRule>[]>;
|
|
114
|
+
/**
|
|
115
|
+
* The project_id you want to attach the resource to
|
|
116
|
+
*/
|
|
117
|
+
projectId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The stateful value of the security group
|
|
120
|
+
*/
|
|
121
|
+
stateful?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* The tags associated with the security group
|
|
124
|
+
*/
|
|
125
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* The zone you want to attach the resource to
|
|
128
|
+
*/
|
|
129
|
+
zone?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a InstanceSecurityGroup resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface InstanceSecurityGroupArgs {
|
|
135
|
+
/**
|
|
136
|
+
* The description of the security group
|
|
137
|
+
*/
|
|
138
|
+
description?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Enable blocking of SMTP on IPv4 and IPv6
|
|
141
|
+
*/
|
|
142
|
+
enableDefaultSecurity?: pulumi.Input<boolean>;
|
|
143
|
+
externalRules?: pulumi.Input<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* Default inbound traffic policy for this security group
|
|
146
|
+
*/
|
|
147
|
+
inboundDefaultPolicy?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Inbound rules for this security group
|
|
150
|
+
*/
|
|
151
|
+
inboundRules?: pulumi.Input<pulumi.Input<inputs.InstanceSecurityGroupInboundRule>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the security group
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Default outbound traffic policy for this security group
|
|
158
|
+
*/
|
|
159
|
+
outboundDefaultPolicy?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Outbound rules for this security group
|
|
162
|
+
*/
|
|
163
|
+
outboundRules?: pulumi.Input<pulumi.Input<inputs.InstanceSecurityGroupOutboundRule>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* The project_id you want to attach the resource to
|
|
166
|
+
*/
|
|
167
|
+
projectId?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The stateful value of the security group
|
|
170
|
+
*/
|
|
171
|
+
stateful?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* The tags associated with the security group
|
|
174
|
+
*/
|
|
175
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* The zone you want to attach the resource to
|
|
178
|
+
*/
|
|
179
|
+
zone?: pulumi.Input<string>;
|
|
180
|
+
}
|