@volcengine/pulumi 0.0.18 → 0.0.20
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/autoscaling/scalingGroup.d.ts +1 -1
- package/bioos/cluster.d.ts +11 -11
- package/bioos/cluster.js +6 -6
- package/bioos/cluster.js.map +1 -1
- package/bioos/clusters.d.ts +3 -0
- package/bioos/clusters.js.map +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/clb.d.ts +68 -18
- package/clb/clb.js +38 -17
- package/clb/clb.js.map +1 -1
- package/clb/listener.d.ts +101 -0
- package/clb/listener.js +26 -0
- package/clb/listener.js.map +1 -1
- package/clb/serverGroup.d.ts +12 -0
- package/clb/serverGroup.js +2 -0
- package/clb/serverGroup.js.map +1 -1
- package/direct_connect/bgpPeer.d.ts +175 -0
- package/direct_connect/bgpPeer.js +100 -0
- package/direct_connect/bgpPeer.js.map +1 -0
- package/direct_connect/bgpPeers.d.ts +129 -0
- package/direct_connect/bgpPeers.js +52 -0
- package/direct_connect/bgpPeers.js.map +1 -0
- package/direct_connect/connection.d.ts +217 -0
- package/direct_connect/connection.js +133 -0
- package/direct_connect/connection.js.map +1 -0
- package/direct_connect/connections.d.ts +154 -0
- package/direct_connect/connections.js +54 -0
- package/direct_connect/connections.js.map +1 -0
- package/direct_connect/gateway.d.ts +100 -0
- package/direct_connect/gateway.js +79 -0
- package/direct_connect/gateway.js.map +1 -0
- package/direct_connect/gatewayRoute.d.ts +143 -0
- package/direct_connect/gatewayRoute.js +97 -0
- package/direct_connect/gatewayRoute.js.map +1 -0
- package/direct_connect/gatewayRoutes.d.ts +141 -0
- package/direct_connect/gatewayRoutes.js +58 -0
- package/direct_connect/gatewayRoutes.js.map +1 -0
- package/direct_connect/gateways.d.ts +118 -0
- package/direct_connect/gateways.js +51 -0
- package/direct_connect/gateways.js.map +1 -0
- package/direct_connect/index.d.ts +30 -0
- package/direct_connect/index.js +57 -0
- package/direct_connect/index.js.map +1 -0
- package/direct_connect/virtualInterface.d.ts +263 -0
- package/direct_connect/virtualInterface.js +127 -0
- package/direct_connect/virtualInterface.js.map +1 -0
- package/direct_connect/virtualInterfaces.d.ts +178 -0
- package/direct_connect/virtualInterfaces.js +56 -0
- package/direct_connect/virtualInterfaces.js.map +1 -0
- package/ebs/volume.d.ts +1 -1
- package/ecs/availableResources.d.ts +114 -0
- package/ecs/availableResources.js +50 -0
- package/ecs/availableResources.js.map +1 -0
- package/ecs/index.d.ts +3 -0
- package/ecs/index.js +4 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +24 -3
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/eip/address.d.ts +1 -1
- package/iam/index.d.ts +15 -0
- package/iam/index.js +22 -1
- package/iam/index.js.map +1 -1
- package/iam/userGroup.d.ts +95 -0
- package/iam/userGroup.js +79 -0
- package/iam/userGroup.js.map +1 -0
- package/iam/userGroupAttachment.d.ts +92 -0
- package/iam/userGroupAttachment.js +89 -0
- package/iam/userGroupAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +105 -0
- package/iam/userGroupPolicyAttachment.js +95 -0
- package/iam/userGroupPolicyAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachments.d.ts +107 -0
- package/iam/userGroupPolicyAttachments.js +78 -0
- package/iam/userGroupPolicyAttachments.js.map +1 -0
- package/iam/userGroups.d.ts +87 -0
- package/iam/userGroups.js +59 -0
- package/iam/userGroups.js.map +1 -0
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/nas/fileSystem.d.ts +241 -0
- package/nas/fileSystem.js +123 -0
- package/nas/fileSystem.js.map +1 -0
- package/nas/fileSystems.d.ts +231 -0
- package/nas/fileSystems.js +90 -0
- package/nas/fileSystems.js.map +1 -0
- package/nas/index.d.ts +30 -0
- package/nas/index.js +55 -0
- package/nas/index.js.map +1 -0
- package/nas/mountPoint.d.ts +103 -0
- package/nas/mountPoint.js +80 -0
- package/nas/mountPoint.js.map +1 -0
- package/nas/mountPoints.d.ts +91 -0
- package/nas/mountPoints.js +29 -0
- package/nas/mountPoints.js.map +1 -0
- package/nas/permissionGroup.d.ts +116 -0
- package/nas/permissionGroup.js +92 -0
- package/nas/permissionGroup.js.map +1 -0
- package/nas/permissionGroups.d.ts +116 -0
- package/nas/permissionGroups.js +87 -0
- package/nas/permissionGroups.js.map +1 -0
- package/nas/regions.d.ts +62 -0
- package/nas/regions.js +42 -0
- package/nas/regions.js.map +1 -0
- package/nas/snapshot.d.ts +167 -0
- package/nas/snapshot.js +100 -0
- package/nas/snapshot.js.map +1 -0
- package/nas/snapshots.d.ts +131 -0
- package/nas/snapshots.js +59 -0
- package/nas/snapshots.js.map +1 -0
- package/nas/zones.d.ts +62 -0
- package/nas/zones.js +42 -0
- package/nas/zones.js.map +1 -0
- package/nat/gateway.d.ts +1 -1
- package/package.json +2 -2
- package/redis/instance.d.ts +7 -4
- package/redis/instance.js +1 -1
- package/redis/instance.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/transit_router/bandwidthPackage.d.ts +211 -0
- package/transit_router/bandwidthPackage.js +102 -0
- package/transit_router/bandwidthPackage.js.map +1 -0
- package/transit_router/bandwidthPackages.d.ts +115 -0
- package/transit_router/bandwidthPackages.js +65 -0
- package/transit_router/bandwidthPackages.js.map +1 -0
- package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
- package/transit_router/directConnectGatewayAttachment.js +87 -0
- package/transit_router/directConnectGatewayAttachment.js.map +1 -0
- package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
- package/transit_router/directConnectGatewayAttachments.js +48 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -0
- package/transit_router/grantRule.d.ts +95 -0
- package/transit_router/grantRule.js +82 -0
- package/transit_router/grantRule.js.map +1 -0
- package/transit_router/grantRules.d.ts +90 -0
- package/transit_router/grantRules.js +47 -0
- package/transit_router/grantRules.js.map +1 -0
- package/transit_router/index.d.ts +69 -0
- package/transit_router/index.js +110 -0
- package/transit_router/index.js.map +1 -0
- package/transit_router/peerAttachment.d.ts +179 -0
- package/transit_router/peerAttachment.js +105 -0
- package/transit_router/peerAttachment.js.map +1 -0
- package/transit_router/peerAttachments.d.ts +132 -0
- package/transit_router/peerAttachments.js +52 -0
- package/transit_router/peerAttachments.js.map +1 -0
- package/transit_router/routeEntries.d.ts +122 -0
- package/transit_router/routeEntries.js +52 -0
- package/transit_router/routeEntries.js.map +1 -0
- package/transit_router/routeEntry.d.ts +173 -0
- package/transit_router/routeEntry.js +103 -0
- package/transit_router/routeEntry.js.map +1 -0
- package/transit_router/routeTable.d.ts +135 -0
- package/transit_router/routeTable.js +89 -0
- package/transit_router/routeTable.js.map +1 -0
- package/transit_router/routeTableAssociation.d.ts +82 -0
- package/transit_router/routeTableAssociation.js +79 -0
- package/transit_router/routeTableAssociation.js.map +1 -0
- package/transit_router/routeTableAssociations.d.ts +92 -0
- package/transit_router/routeTableAssociations.js +49 -0
- package/transit_router/routeTableAssociations.js.map +1 -0
- package/transit_router/routeTablePropagation.d.ts +82 -0
- package/transit_router/routeTablePropagation.js +79 -0
- package/transit_router/routeTablePropagation.js.map +1 -0
- package/transit_router/routeTablePropagations.d.ts +92 -0
- package/transit_router/routeTablePropagations.js +49 -0
- package/transit_router/routeTablePropagations.js.map +1 -0
- package/transit_router/routeTables.d.ts +98 -0
- package/transit_router/routeTables.js +50 -0
- package/transit_router/routeTables.js.map +1 -0
- package/transit_router/sharedTransitRouterState.d.ts +82 -0
- package/transit_router/sharedTransitRouterState.js +79 -0
- package/transit_router/sharedTransitRouterState.js.map +1 -0
- package/transit_router/transitRouter.d.ts +148 -0
- package/transit_router/transitRouter.js +89 -0
- package/transit_router/transitRouter.js.map +1 -0
- package/transit_router/transitRouters.d.ts +89 -0
- package/transit_router/transitRouters.js +50 -0
- package/transit_router/transitRouters.js.map +1 -0
- package/transit_router/vpcAttachment.d.ts +164 -0
- package/transit_router/vpcAttachment.js +108 -0
- package/transit_router/vpcAttachment.js.map +1 -0
- package/transit_router/vpcAttachments.d.ts +101 -0
- package/transit_router/vpcAttachments.js +50 -0
- package/transit_router/vpcAttachments.js.map +1 -0
- package/transit_router/vpnAttachment.d.ts +153 -0
- package/transit_router/vpnAttachment.js +99 -0
- package/transit_router/vpnAttachment.js.map +1 -0
- package/transit_router/vpnAttachments.d.ts +101 -0
- package/transit_router/vpnAttachments.js +50 -0
- package/transit_router/vpnAttachments.js.map +1 -0
- package/types/input.d.ts +280 -2
- package/types/output.d.ts +5318 -3363
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- package/vke/supportResourceTypes.d.ts +80 -0
- package/vke/supportResourceTypes.js +44 -0
- package/vke/supportResourceTypes.js.map +1 -0
- package/vpc/haVip.d.ts +206 -0
- package/vpc/haVip.js +120 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/haVipAssociate.d.ts +131 -0
- package/vpc/haVipAssociate.js +118 -0
- package/vpc/haVipAssociate.js.map +1 -0
- package/vpc/haVips.d.ts +192 -0
- package/vpc/haVips.js +90 -0
- package/vpc/haVips.js.map +1 -0
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +22 -1
- package/vpc/index.js.map +1 -1
- package/vpc/networkAcl.d.ts +1 -1
- package/vpc/networkInterface.d.ts +31 -1
- package/vpc/networkInterface.js +4 -0
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/prefixList.d.ts +166 -0
- package/vpc/prefixList.js +106 -0
- package/vpc/prefixList.js.map +1 -0
- package/vpc/prefixLists.d.ts +151 -0
- package/vpc/prefixLists.js +92 -0
- package/vpc/prefixLists.js.map +1 -0
- package/vpc/routeTable.d.ts +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/gateway.d.ts +37 -1
- package/vpn/gateway.js +6 -0
- package/vpn/gateway.js.map +1 -1
- package/vpn/index.d.ts +12 -0
- package/vpn/index.js +17 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +201 -0
- package/vpn/sslVpnClientCert.js +131 -0
- package/vpn/sslVpnClientCert.js.map +1 -0
- package/vpn/sslVpnClientCerts.d.ts +192 -0
- package/vpn/sslVpnClientCerts.js +134 -0
- package/vpn/sslVpnClientCerts.js.map +1 -0
- package/vpn/sslVpnServer.d.ts +231 -0
- package/vpn/sslVpnServer.js +128 -0
- package/vpn/sslVpnServer.js.map +1 -0
- package/vpn/sslVpnServers.d.ts +167 -0
- package/vpn/sslVpnServers.js +117 -0
- package/vpn/sslVpnServers.js.map +1 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage vpc prefix list
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.vpc.PrefixList("foo", {
|
|
13
|
+
* description: "acc test description",
|
|
14
|
+
* ipVersion: "IPv4",
|
|
15
|
+
* maxEntries: 7,
|
|
16
|
+
* prefixListEntries: [
|
|
17
|
+
* {
|
|
18
|
+
* cidr: "192.168.4.0/28",
|
|
19
|
+
* description: "acc-test-1",
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* cidr: "192.168.9.0/28",
|
|
23
|
+
* description: "acc-test-4",
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* cidr: "192.168.8.0/28",
|
|
27
|
+
* description: "acc-test-5",
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* prefixListName: "acc-test-prefix",
|
|
31
|
+
* tags: [{
|
|
32
|
+
* key: "tf-key1",
|
|
33
|
+
* value: "tf-value1",
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* VpcPrefixList can be imported using the id, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import volcengine:vpc/prefixList:PrefixList default resource_id
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class PrefixList extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing PrefixList resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrefixListState, opts?: pulumi.CustomResourceOptions): PrefixList;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of PrefixList. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is PrefixList;
|
|
62
|
+
/**
|
|
63
|
+
* The description of the prefix list.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* IP version type. Possible values:
|
|
68
|
+
* IPv4 (default): IPv4 type.
|
|
69
|
+
* IPv6: IPv6 type.
|
|
70
|
+
*/
|
|
71
|
+
readonly ipVersion: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Maximum number of entries, which is the maximum number of entries that can be added to the prefix list. The value range is 1 to 200.
|
|
74
|
+
*/
|
|
75
|
+
readonly maxEntries: pulumi.Output<number>;
|
|
76
|
+
/**
|
|
77
|
+
* Collection of resources associated with VPC prefix list.
|
|
78
|
+
*/
|
|
79
|
+
readonly prefixListAssociations: pulumi.Output<outputs.vpc.PrefixListPrefixListAssociation[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Prefix list entry list.
|
|
82
|
+
*/
|
|
83
|
+
readonly prefixListEntries: pulumi.Output<outputs.vpc.PrefixListPrefixListEntry[] | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the prefix list.
|
|
86
|
+
*/
|
|
87
|
+
readonly prefixListName: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Tags.
|
|
90
|
+
*/
|
|
91
|
+
readonly tags: pulumi.Output<outputs.vpc.PrefixListTag[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a PrefixList resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: PrefixListArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering PrefixList resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface PrefixListState {
|
|
105
|
+
/**
|
|
106
|
+
* The description of the prefix list.
|
|
107
|
+
*/
|
|
108
|
+
description?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* IP version type. Possible values:
|
|
111
|
+
* IPv4 (default): IPv4 type.
|
|
112
|
+
* IPv6: IPv6 type.
|
|
113
|
+
*/
|
|
114
|
+
ipVersion?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Maximum number of entries, which is the maximum number of entries that can be added to the prefix list. The value range is 1 to 200.
|
|
117
|
+
*/
|
|
118
|
+
maxEntries?: pulumi.Input<number>;
|
|
119
|
+
/**
|
|
120
|
+
* Collection of resources associated with VPC prefix list.
|
|
121
|
+
*/
|
|
122
|
+
prefixListAssociations?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListPrefixListAssociation>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Prefix list entry list.
|
|
125
|
+
*/
|
|
126
|
+
prefixListEntries?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListPrefixListEntry>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the prefix list.
|
|
129
|
+
*/
|
|
130
|
+
prefixListName?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Tags.
|
|
133
|
+
*/
|
|
134
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListTag>[]>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a PrefixList resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface PrefixListArgs {
|
|
140
|
+
/**
|
|
141
|
+
* The description of the prefix list.
|
|
142
|
+
*/
|
|
143
|
+
description?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* IP version type. Possible values:
|
|
146
|
+
* IPv4 (default): IPv4 type.
|
|
147
|
+
* IPv6: IPv6 type.
|
|
148
|
+
*/
|
|
149
|
+
ipVersion?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Maximum number of entries, which is the maximum number of entries that can be added to the prefix list. The value range is 1 to 200.
|
|
152
|
+
*/
|
|
153
|
+
maxEntries: pulumi.Input<number>;
|
|
154
|
+
/**
|
|
155
|
+
* Prefix list entry list.
|
|
156
|
+
*/
|
|
157
|
+
prefixListEntries?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListPrefixListEntry>[]>;
|
|
158
|
+
/**
|
|
159
|
+
* The name of the prefix list.
|
|
160
|
+
*/
|
|
161
|
+
prefixListName?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Tags.
|
|
164
|
+
*/
|
|
165
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListTag>[]>;
|
|
166
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.PrefixList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage vpc prefix list
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.vpc.PrefixList("foo", {
|
|
17
|
+
* description: "acc test description",
|
|
18
|
+
* ipVersion: "IPv4",
|
|
19
|
+
* maxEntries: 7,
|
|
20
|
+
* prefixListEntries: [
|
|
21
|
+
* {
|
|
22
|
+
* cidr: "192.168.4.0/28",
|
|
23
|
+
* description: "acc-test-1",
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* cidr: "192.168.9.0/28",
|
|
27
|
+
* description: "acc-test-4",
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* cidr: "192.168.8.0/28",
|
|
31
|
+
* description: "acc-test-5",
|
|
32
|
+
* },
|
|
33
|
+
* ],
|
|
34
|
+
* prefixListName: "acc-test-prefix",
|
|
35
|
+
* tags: [{
|
|
36
|
+
* key: "tf-key1",
|
|
37
|
+
* value: "tf-value1",
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* VpcPrefixList can be imported using the id, e.g.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import volcengine:vpc/prefixList:PrefixList default resource_id
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class PrefixList extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing PrefixList resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, state, opts) {
|
|
61
|
+
return new PrefixList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of PrefixList. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === PrefixList.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
constructor(name, argsOrState, opts) {
|
|
74
|
+
let resourceInputs = {};
|
|
75
|
+
opts = opts || {};
|
|
76
|
+
if (opts.id) {
|
|
77
|
+
const state = argsOrState;
|
|
78
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
79
|
+
resourceInputs["ipVersion"] = state ? state.ipVersion : undefined;
|
|
80
|
+
resourceInputs["maxEntries"] = state ? state.maxEntries : undefined;
|
|
81
|
+
resourceInputs["prefixListAssociations"] = state ? state.prefixListAssociations : undefined;
|
|
82
|
+
resourceInputs["prefixListEntries"] = state ? state.prefixListEntries : undefined;
|
|
83
|
+
resourceInputs["prefixListName"] = state ? state.prefixListName : undefined;
|
|
84
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.maxEntries === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'maxEntries'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
92
|
+
resourceInputs["ipVersion"] = args ? args.ipVersion : undefined;
|
|
93
|
+
resourceInputs["maxEntries"] = args ? args.maxEntries : undefined;
|
|
94
|
+
resourceInputs["prefixListEntries"] = args ? args.prefixListEntries : undefined;
|
|
95
|
+
resourceInputs["prefixListName"] = args ? args.prefixListName : undefined;
|
|
96
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
97
|
+
resourceInputs["prefixListAssociations"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(PrefixList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.PrefixList = PrefixList;
|
|
104
|
+
/** @internal */
|
|
105
|
+
PrefixList.__pulumiType = 'volcengine:vpc/prefixList:PrefixList';
|
|
106
|
+
//# sourceMappingURL=prefixList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixList.js","sourceRoot":"","sources":["../../vpc/prefixList.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to query detailed information of vpc prefix lists
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
|
|
14
|
+
* prefixListName: "acc-test-prefix",
|
|
15
|
+
* maxEntries: 3,
|
|
16
|
+
* description: "acc test description",
|
|
17
|
+
* ipVersion: "IPv4",
|
|
18
|
+
* prefixListEntries: [
|
|
19
|
+
* {
|
|
20
|
+
* cidr: "192.168.4.0/28",
|
|
21
|
+
* description: "acc-test-1",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* cidr: "192.168.5.0/28",
|
|
25
|
+
* description: "acc-test-2",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* tags: [{
|
|
29
|
+
* key: "tf-key1",
|
|
30
|
+
* value: "tf-value1",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const fooPrefixLists = volcengine.vpc.PrefixListsOutput({
|
|
34
|
+
* ids: [fooPrefixList.id],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function prefixLists(args?: PrefixListsArgs, opts?: pulumi.InvokeOptions): Promise<PrefixListsResult>;
|
|
39
|
+
/**
|
|
40
|
+
* A collection of arguments for invoking PrefixLists.
|
|
41
|
+
*/
|
|
42
|
+
export interface PrefixListsArgs {
|
|
43
|
+
/**
|
|
44
|
+
* A list of prefix list ids.
|
|
45
|
+
*/
|
|
46
|
+
ids?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* IP version of prefix list.
|
|
49
|
+
*/
|
|
50
|
+
ipVersion?: string;
|
|
51
|
+
/**
|
|
52
|
+
* File name where to save data source results.
|
|
53
|
+
*/
|
|
54
|
+
outputFile?: string;
|
|
55
|
+
/**
|
|
56
|
+
* A Name of prefix list.
|
|
57
|
+
*/
|
|
58
|
+
prefixListName?: string;
|
|
59
|
+
/**
|
|
60
|
+
* List of tag filters.
|
|
61
|
+
*/
|
|
62
|
+
tagFilters?: inputs.vpc.PrefixListsTagFilter[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* A collection of values returned by PrefixLists.
|
|
66
|
+
*/
|
|
67
|
+
export interface PrefixListsResult {
|
|
68
|
+
/**
|
|
69
|
+
* The provider-assigned unique ID for this managed resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly ids?: string[];
|
|
73
|
+
/**
|
|
74
|
+
* The ip version of the prefix list.
|
|
75
|
+
*/
|
|
76
|
+
readonly ipVersion?: string;
|
|
77
|
+
readonly outputFile?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The prefix list name.
|
|
80
|
+
*/
|
|
81
|
+
readonly prefixListName?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The collection of query.
|
|
84
|
+
*/
|
|
85
|
+
readonly prefixLists: outputs.vpc.PrefixListsPrefixList[];
|
|
86
|
+
readonly tagFilters?: outputs.vpc.PrefixListsTagFilter[];
|
|
87
|
+
/**
|
|
88
|
+
* The total count of query.
|
|
89
|
+
*/
|
|
90
|
+
readonly totalCount: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Use this data source to query detailed information of vpc prefix lists
|
|
94
|
+
* ## Example Usage
|
|
95
|
+
*
|
|
96
|
+
* ```typescript
|
|
97
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
98
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
99
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
100
|
+
*
|
|
101
|
+
* const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
|
|
102
|
+
* prefixListName: "acc-test-prefix",
|
|
103
|
+
* maxEntries: 3,
|
|
104
|
+
* description: "acc test description",
|
|
105
|
+
* ipVersion: "IPv4",
|
|
106
|
+
* prefixListEntries: [
|
|
107
|
+
* {
|
|
108
|
+
* cidr: "192.168.4.0/28",
|
|
109
|
+
* description: "acc-test-1",
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* cidr: "192.168.5.0/28",
|
|
113
|
+
* description: "acc-test-2",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* tags: [{
|
|
117
|
+
* key: "tf-key1",
|
|
118
|
+
* value: "tf-value1",
|
|
119
|
+
* }],
|
|
120
|
+
* });
|
|
121
|
+
* const fooPrefixLists = volcengine.vpc.PrefixListsOutput({
|
|
122
|
+
* ids: [fooPrefixList.id],
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export declare function prefixListsOutput(args?: PrefixListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PrefixListsResult>;
|
|
127
|
+
/**
|
|
128
|
+
* A collection of arguments for invoking PrefixLists.
|
|
129
|
+
*/
|
|
130
|
+
export interface PrefixListsOutputArgs {
|
|
131
|
+
/**
|
|
132
|
+
* A list of prefix list ids.
|
|
133
|
+
*/
|
|
134
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
135
|
+
/**
|
|
136
|
+
* IP version of prefix list.
|
|
137
|
+
*/
|
|
138
|
+
ipVersion?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* File name where to save data source results.
|
|
141
|
+
*/
|
|
142
|
+
outputFile?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* A Name of prefix list.
|
|
145
|
+
*/
|
|
146
|
+
prefixListName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* List of tag filters.
|
|
149
|
+
*/
|
|
150
|
+
tagFilters?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListsTagFilterArgs>[]>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.prefixListsOutput = exports.prefixLists = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of vpc prefix lists
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
|
|
18
|
+
* prefixListName: "acc-test-prefix",
|
|
19
|
+
* maxEntries: 3,
|
|
20
|
+
* description: "acc test description",
|
|
21
|
+
* ipVersion: "IPv4",
|
|
22
|
+
* prefixListEntries: [
|
|
23
|
+
* {
|
|
24
|
+
* cidr: "192.168.4.0/28",
|
|
25
|
+
* description: "acc-test-1",
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* cidr: "192.168.5.0/28",
|
|
29
|
+
* description: "acc-test-2",
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* tags: [{
|
|
33
|
+
* key: "tf-key1",
|
|
34
|
+
* value: "tf-value1",
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* const fooPrefixLists = volcengine.vpc.PrefixListsOutput({
|
|
38
|
+
* ids: [fooPrefixList.id],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function prefixLists(args, opts) {
|
|
43
|
+
args = args || {};
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invoke("volcengine:vpc/prefixLists:PrefixLists", {
|
|
46
|
+
"ids": args.ids,
|
|
47
|
+
"ipVersion": args.ipVersion,
|
|
48
|
+
"outputFile": args.outputFile,
|
|
49
|
+
"prefixListName": args.prefixListName,
|
|
50
|
+
"tagFilters": args.tagFilters,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.prefixLists = prefixLists;
|
|
54
|
+
/**
|
|
55
|
+
* Use this data source to query detailed information of vpc prefix lists
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
61
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
62
|
+
*
|
|
63
|
+
* const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
|
|
64
|
+
* prefixListName: "acc-test-prefix",
|
|
65
|
+
* maxEntries: 3,
|
|
66
|
+
* description: "acc test description",
|
|
67
|
+
* ipVersion: "IPv4",
|
|
68
|
+
* prefixListEntries: [
|
|
69
|
+
* {
|
|
70
|
+
* cidr: "192.168.4.0/28",
|
|
71
|
+
* description: "acc-test-1",
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* cidr: "192.168.5.0/28",
|
|
75
|
+
* description: "acc-test-2",
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* tags: [{
|
|
79
|
+
* key: "tf-key1",
|
|
80
|
+
* value: "tf-value1",
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* const fooPrefixLists = volcengine.vpc.PrefixListsOutput({
|
|
84
|
+
* ids: [fooPrefixList.id],
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
function prefixListsOutput(args, opts) {
|
|
89
|
+
return pulumi.output(args).apply((a) => prefixLists(a, opts));
|
|
90
|
+
}
|
|
91
|
+
exports.prefixListsOutput = prefixListsOutput;
|
|
92
|
+
//# sourceMappingURL=prefixLists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixLists.js","sourceRoot":"","sources":["../../vpc/prefixLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAwDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/vpc/routeTable.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class RouteTable extends pulumi.CustomResource {
|
|
|
46
46
|
/**
|
|
47
47
|
* The ProjectName of the route table.
|
|
48
48
|
*/
|
|
49
|
-
readonly projectName: pulumi.Output<string
|
|
49
|
+
readonly projectName: pulumi.Output<string>;
|
|
50
50
|
/**
|
|
51
51
|
* The name of the route table.
|
|
52
52
|
*/
|
package/vpn/connection.d.ts
CHANGED
|
@@ -201,7 +201,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
201
201
|
/**
|
|
202
202
|
* The project name of the VPN connection.
|
|
203
203
|
*/
|
|
204
|
-
readonly projectName: pulumi.Output<string
|
|
204
|
+
readonly projectName: pulumi.Output<string>;
|
|
205
205
|
/**
|
|
206
206
|
* The remote subnet of the VPN connection. Up to 5 network segments are supported.
|
|
207
207
|
*/
|
package/vpn/customerGateway.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare class CustomerGateway extends pulumi.CustomResource {
|
|
|
70
70
|
/**
|
|
71
71
|
* The project name of the VPN customer gateway.
|
|
72
72
|
*/
|
|
73
|
-
readonly projectName: pulumi.Output<string
|
|
73
|
+
readonly projectName: pulumi.Output<string>;
|
|
74
74
|
/**
|
|
75
75
|
* The status of the customer gateway.
|
|
76
76
|
*/
|
package/vpn/gateway.d.ts
CHANGED
|
@@ -94,6 +94,10 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
94
94
|
* The IP address of the VPN gateway.
|
|
95
95
|
*/
|
|
96
96
|
readonly ipAddress: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Whether ipsec is enabled.
|
|
99
|
+
*/
|
|
100
|
+
readonly ipsecEnabled: pulumi.Output<boolean | undefined>;
|
|
97
101
|
/**
|
|
98
102
|
* The lock reason of the VPN gateway.
|
|
99
103
|
*/
|
|
@@ -106,7 +110,7 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
106
110
|
/**
|
|
107
111
|
* The project name of the VPN gateway.
|
|
108
112
|
*/
|
|
109
|
-
readonly projectName: pulumi.Output<string
|
|
113
|
+
readonly projectName: pulumi.Output<string>;
|
|
110
114
|
/**
|
|
111
115
|
* The renew type of the VPN gateway.
|
|
112
116
|
*/
|
|
@@ -115,6 +119,14 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
115
119
|
* The route count of the VPN gateway.
|
|
116
120
|
*/
|
|
117
121
|
readonly routeCount: pulumi.Output<number>;
|
|
122
|
+
/**
|
|
123
|
+
* Whether ssl is enabled.
|
|
124
|
+
*/
|
|
125
|
+
readonly sslEnabled: pulumi.Output<boolean | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
|
|
128
|
+
*/
|
|
129
|
+
readonly sslMaxConnections: pulumi.Output<number>;
|
|
118
130
|
/**
|
|
119
131
|
* The status of the VPN gateway.
|
|
120
132
|
*/
|
|
@@ -197,6 +209,10 @@ export interface GatewayState {
|
|
|
197
209
|
* The IP address of the VPN gateway.
|
|
198
210
|
*/
|
|
199
211
|
ipAddress?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Whether ipsec is enabled.
|
|
214
|
+
*/
|
|
215
|
+
ipsecEnabled?: pulumi.Input<boolean>;
|
|
200
216
|
/**
|
|
201
217
|
* The lock reason of the VPN gateway.
|
|
202
218
|
*/
|
|
@@ -218,6 +234,14 @@ export interface GatewayState {
|
|
|
218
234
|
* The route count of the VPN gateway.
|
|
219
235
|
*/
|
|
220
236
|
routeCount?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* Whether ssl is enabled.
|
|
239
|
+
*/
|
|
240
|
+
sslEnabled?: pulumi.Input<boolean>;
|
|
241
|
+
/**
|
|
242
|
+
* The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
|
|
243
|
+
*/
|
|
244
|
+
sslMaxConnections?: pulumi.Input<number>;
|
|
221
245
|
/**
|
|
222
246
|
* The status of the VPN gateway.
|
|
223
247
|
*/
|
|
@@ -264,6 +288,10 @@ export interface GatewayArgs {
|
|
|
264
288
|
* The description of the VPN gateway.
|
|
265
289
|
*/
|
|
266
290
|
description?: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* Whether ipsec is enabled.
|
|
293
|
+
*/
|
|
294
|
+
ipsecEnabled?: pulumi.Input<boolean>;
|
|
267
295
|
/**
|
|
268
296
|
* The Period of the VPN gateway. Default value is 12. This parameter is only useful when creating vpn gateway. Default period unit is Month.
|
|
269
297
|
* Value range: 1~9, 12, 24, 36. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
@@ -273,6 +301,14 @@ export interface GatewayArgs {
|
|
|
273
301
|
* The project name of the VPN gateway.
|
|
274
302
|
*/
|
|
275
303
|
projectName?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Whether ssl is enabled.
|
|
306
|
+
*/
|
|
307
|
+
sslEnabled?: pulumi.Input<boolean>;
|
|
308
|
+
/**
|
|
309
|
+
* The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
|
|
310
|
+
*/
|
|
311
|
+
sslMaxConnections?: pulumi.Input<number>;
|
|
276
312
|
/**
|
|
277
313
|
* The ID of the subnet where you want to create the VPN gateway.
|
|
278
314
|
*/
|
package/vpn/gateway.js
CHANGED
|
@@ -79,11 +79,14 @@ class Gateway extends pulumi.CustomResource {
|
|
|
79
79
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
80
80
|
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
81
81
|
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
82
|
+
resourceInputs["ipsecEnabled"] = state ? state.ipsecEnabled : undefined;
|
|
82
83
|
resourceInputs["lockReason"] = state ? state.lockReason : undefined;
|
|
83
84
|
resourceInputs["period"] = state ? state.period : undefined;
|
|
84
85
|
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
85
86
|
resourceInputs["renewType"] = state ? state.renewType : undefined;
|
|
86
87
|
resourceInputs["routeCount"] = state ? state.routeCount : undefined;
|
|
88
|
+
resourceInputs["sslEnabled"] = state ? state.sslEnabled : undefined;
|
|
89
|
+
resourceInputs["sslMaxConnections"] = state ? state.sslMaxConnections : undefined;
|
|
87
90
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
88
91
|
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
89
92
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
@@ -106,8 +109,11 @@ class Gateway extends pulumi.CustomResource {
|
|
|
106
109
|
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
107
110
|
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
108
111
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
112
|
+
resourceInputs["ipsecEnabled"] = args ? args.ipsecEnabled : undefined;
|
|
109
113
|
resourceInputs["period"] = args ? args.period : undefined;
|
|
110
114
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
115
|
+
resourceInputs["sslEnabled"] = args ? args.sslEnabled : undefined;
|
|
116
|
+
resourceInputs["sslMaxConnections"] = args ? args.sslMaxConnections : undefined;
|
|
111
117
|
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
112
118
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
113
119
|
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|