@volcengine/pulumi 0.0.17 → 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/cr/registry.d.ts +1 -1
- package/cr/registry.js +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/command.d.ts +157 -0
- package/ecs/command.js +93 -0
- package/ecs/command.js.map +1 -0
- package/ecs/commands.d.ts +132 -0
- package/ecs/commands.js +52 -0
- package/ecs/commands.js.map +1 -0
- package/ecs/index.d.ts +21 -0
- package/ecs/index.js +26 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +25 -4
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +223 -0
- package/ecs/invocation.js +118 -0
- package/ecs/invocation.js.map +1 -0
- package/ecs/invocationResults.d.ts +116 -0
- package/ecs/invocationResults.js +51 -0
- package/ecs/invocationResults.js.map +1 -0
- package/ecs/invocations.d.ts +161 -0
- package/ecs/invocations.js +56 -0
- package/ecs/invocations.js.map +1 -0
- package/ecs/regions.d.ts +75 -0
- package/ecs/regions.js +47 -0
- package/ecs/regions.js.map +1 -0
- package/eip/address.d.ts +1 -1
- package/escloud/instance.d.ts +26 -13
- package/escloud/instance.js +26 -13
- package/escloud/instance.js.map +1 -1
- package/escloud/instances.d.ts +100 -6
- package/escloud/instances.js +100 -6
- package/escloud/instances.js.map +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/rds_mysql/account.d.ts +48 -4
- package/rds_mysql/account.js +48 -4
- package/rds_mysql/account.js.map +1 -1
- package/rds_mysql/accounts.d.ts +106 -6
- package/rds_mysql/accounts.js +106 -6
- package/rds_mysql/accounts.js.map +1 -1
- package/rds_mysql/allowlist.d.ts +7 -3
- package/rds_mysql/allowlist.js +7 -3
- package/rds_mysql/allowlist.js.map +1 -1
- package/rds_mysql/allowlistAssociate.d.ts +47 -3
- package/rds_mysql/allowlistAssociate.js +47 -3
- package/rds_mysql/allowlistAssociate.js.map +1 -1
- package/rds_mysql/allowlists.d.ts +102 -4
- package/rds_mysql/allowlists.js +102 -4
- package/rds_mysql/allowlists.js.map +1 -1
- package/rds_mysql/database.d.ts +38 -4
- package/rds_mysql/database.js +38 -4
- package/rds_mysql/database.js.map +1 -1
- package/rds_mysql/databases.d.ts +84 -6
- package/rds_mysql/databases.js +84 -6
- package/rds_mysql/databases.js.map +1 -1
- package/rds_mysql/instance.d.ts +18 -15
- package/rds_mysql/instance.js +17 -14
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instanceReadonlyNode.d.ts +38 -3
- package/rds_mysql/instanceReadonlyNode.js +38 -3
- package/rds_mysql/instanceReadonlyNode.js.map +1 -1
- package/rds_mysql/instances.d.ts +74 -4
- package/rds_mysql/instances.js +74 -4
- package/rds_mysql/instances.js.map +1 -1
- package/redis/account.d.ts +32 -5
- package/redis/account.js +32 -5
- package/redis/account.js.map +1 -1
- package/redis/accounts.d.ts +74 -4
- package/redis/accounts.js +74 -4
- package/redis/accounts.js.map +1 -1
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +2 -2
- package/redis/allowListAssociate.d.ts +34 -6
- package/redis/allowListAssociate.js +34 -6
- package/redis/allowListAssociate.js.map +1 -1
- package/redis/allowLists.d.ts +78 -2
- package/redis/allowLists.js +78 -2
- package/redis/allowLists.js.map +1 -1
- package/redis/backup.d.ts +29 -1
- package/redis/backup.js +29 -1
- package/redis/backup.js.map +1 -1
- package/redis/backupRestore.d.ts +33 -3
- package/redis/backupRestore.js +33 -3
- package/redis/backupRestore.js.map +1 -1
- package/redis/backups.d.ts +68 -6
- package/redis/backups.js +68 -6
- package/redis/backups.js.map +1 -1
- package/redis/continuousBackup.d.ts +29 -1
- package/redis/continuousBackup.js +29 -1
- package/redis/continuousBackup.js.map +1 -1
- package/redis/endpoint.d.ts +37 -3
- package/redis/endpoint.js +37 -3
- package/redis/endpoint.js.map +1 -1
- package/redis/instance.d.ts +47 -35
- package/redis/instance.js +41 -32
- package/redis/instance.js.map +1 -1
- package/redis/instances.d.ts +60 -4
- package/redis/instances.js +60 -4
- package/redis/instances.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/tls/index_.d.ts +33 -8
- package/tls/index_.js +23 -8
- package/tls/index_.js.map +1 -1
- package/tls/indexes.d.ts +2 -2
- package/tls/indexes.js +2 -2
- 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 +320 -2
- package/types/output.d.ts +5482 -3219
- 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/vpc/securityGroup.d.ts +2 -2
- package/vpc/securityGroup.js +1 -1
- package/vpc/vpc.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,164 @@
|
|
|
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 transit router vpc attachment
|
|
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.transit_router.VpcAttachment("foo", {
|
|
13
|
+
* attachPoints: [
|
|
14
|
+
* {
|
|
15
|
+
* subnetId: "subnet-3refsrxdswsn45zsk2hmdg4zx",
|
|
16
|
+
* zoneId: "cn-beijing-a",
|
|
17
|
+
* },
|
|
18
|
+
* {
|
|
19
|
+
* subnetId: "subnet-2d68bh74345q858ozfekrm8fj",
|
|
20
|
+
* zoneId: "cn-beijing-a",
|
|
21
|
+
* },
|
|
22
|
+
* ],
|
|
23
|
+
* description: "desc",
|
|
24
|
+
* transitRouterAttachmentName: "tfname1",
|
|
25
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
26
|
+
* vpcId: "vpc-2bysvq1xx543k2dx0eeulpeiv",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* TransitRouterVpcAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcengine:transit_router/vpcAttachment:VpcAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class VpcAttachment extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing VpcAttachment resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcAttachmentState, opts?: pulumi.CustomResourceOptions): VpcAttachment;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VpcAttachment. 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: any): obj is VpcAttachment;
|
|
54
|
+
/**
|
|
55
|
+
* The attach points of transit router vpc attachment.
|
|
56
|
+
*/
|
|
57
|
+
readonly attachPoints: pulumi.Output<outputs.transit_router.VpcAttachmentAttachPoint[]>;
|
|
58
|
+
/**
|
|
59
|
+
* The create time.
|
|
60
|
+
*/
|
|
61
|
+
readonly creationTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The description of the transit router vpc attachment.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The status of the transit router.
|
|
68
|
+
*/
|
|
69
|
+
readonly status: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The id of the transit router attachment.
|
|
72
|
+
*/
|
|
73
|
+
readonly transitRouterAttachmentId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the transit router vpc attachment.
|
|
76
|
+
*/
|
|
77
|
+
readonly transitRouterAttachmentName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The id of the transit router.
|
|
80
|
+
*/
|
|
81
|
+
readonly transitRouterId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The update time.
|
|
84
|
+
*/
|
|
85
|
+
readonly updateTime: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of vpc.
|
|
88
|
+
*/
|
|
89
|
+
readonly vpcId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a VpcAttachment resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: VpcAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering VpcAttachment resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface VpcAttachmentState {
|
|
103
|
+
/**
|
|
104
|
+
* The attach points of transit router vpc attachment.
|
|
105
|
+
*/
|
|
106
|
+
attachPoints?: pulumi.Input<pulumi.Input<inputs.transit_router.VpcAttachmentAttachPoint>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* The create time.
|
|
109
|
+
*/
|
|
110
|
+
creationTime?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The description of the transit router vpc attachment.
|
|
113
|
+
*/
|
|
114
|
+
description?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The status of the transit router.
|
|
117
|
+
*/
|
|
118
|
+
status?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The id of the transit router attachment.
|
|
121
|
+
*/
|
|
122
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The name of the transit router vpc attachment.
|
|
125
|
+
*/
|
|
126
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The id of the transit router.
|
|
129
|
+
*/
|
|
130
|
+
transitRouterId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The update time.
|
|
133
|
+
*/
|
|
134
|
+
updateTime?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of vpc.
|
|
137
|
+
*/
|
|
138
|
+
vpcId?: pulumi.Input<string>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The set of arguments for constructing a VpcAttachment resource.
|
|
142
|
+
*/
|
|
143
|
+
export interface VpcAttachmentArgs {
|
|
144
|
+
/**
|
|
145
|
+
* The attach points of transit router vpc attachment.
|
|
146
|
+
*/
|
|
147
|
+
attachPoints: pulumi.Input<pulumi.Input<inputs.transit_router.VpcAttachmentAttachPoint>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* The description of the transit router vpc attachment.
|
|
150
|
+
*/
|
|
151
|
+
description?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the transit router vpc attachment.
|
|
154
|
+
*/
|
|
155
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The id of the transit router.
|
|
158
|
+
*/
|
|
159
|
+
transitRouterId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The ID of vpc.
|
|
162
|
+
*/
|
|
163
|
+
vpcId: pulumi.Input<string>;
|
|
164
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.VpcAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage transit router vpc attachment
|
|
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.transit_router.VpcAttachment("foo", {
|
|
17
|
+
* attachPoints: [
|
|
18
|
+
* {
|
|
19
|
+
* subnetId: "subnet-3refsrxdswsn45zsk2hmdg4zx",
|
|
20
|
+
* zoneId: "cn-beijing-a",
|
|
21
|
+
* },
|
|
22
|
+
* {
|
|
23
|
+
* subnetId: "subnet-2d68bh74345q858ozfekrm8fj",
|
|
24
|
+
* zoneId: "cn-beijing-a",
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* description: "desc",
|
|
28
|
+
* transitRouterAttachmentName: "tfname1",
|
|
29
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
30
|
+
* vpcId: "vpc-2bysvq1xx543k2dx0eeulpeiv",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* TransitRouterVpcAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import volcengine:transit_router/vpcAttachment:VpcAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class VpcAttachment extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing VpcAttachment resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new VpcAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of VpcAttachment. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === VpcAttachment.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["attachPoints"] = state ? state.attachPoints : undefined;
|
|
71
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
74
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
75
|
+
resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
|
|
76
|
+
resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
|
|
77
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
78
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if ((!args || args.attachPoints === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'attachPoints'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.transitRouterId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'transitRouterId'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'vpcId'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["attachPoints"] = args ? args.attachPoints : undefined;
|
|
92
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
93
|
+
resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
|
|
94
|
+
resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
|
|
95
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
96
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["transitRouterAttachmentId"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(VpcAttachment.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.VpcAttachment = VpcAttachment;
|
|
106
|
+
/** @internal */
|
|
107
|
+
VpcAttachment.__pulumiType = 'volcengine:transit_router/vpcAttachment:VpcAttachment';
|
|
108
|
+
//# sourceMappingURL=vpcAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcAttachment.js","sourceRoot":"","sources":["../../transit_router/vpcAttachment.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of transit router vpc attachments
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.transit_router.VpcAttachments({
|
|
12
|
+
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
|
|
13
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function vpcAttachments(args: VpcAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<VpcAttachmentsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking VpcAttachments.
|
|
20
|
+
*/
|
|
21
|
+
export interface VpcAttachmentsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* File name where to save data source results.
|
|
24
|
+
*/
|
|
25
|
+
outputFile?: string;
|
|
26
|
+
/**
|
|
27
|
+
* A list of Transit Router Attachment ids.
|
|
28
|
+
*/
|
|
29
|
+
transitRouterAttachmentIds?: string[];
|
|
30
|
+
/**
|
|
31
|
+
* The id of transit router.
|
|
32
|
+
*/
|
|
33
|
+
transitRouterId: string;
|
|
34
|
+
/**
|
|
35
|
+
* The id of vpc.
|
|
36
|
+
*/
|
|
37
|
+
vpcId?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by VpcAttachments.
|
|
41
|
+
*/
|
|
42
|
+
export interface VpcAttachmentsResult {
|
|
43
|
+
/**
|
|
44
|
+
* The collection of query.
|
|
45
|
+
*/
|
|
46
|
+
readonly attachments: outputs.transit_router.VpcAttachmentsAttachment[];
|
|
47
|
+
/**
|
|
48
|
+
* The provider-assigned unique ID for this managed resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly outputFile?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The total count of query.
|
|
54
|
+
*/
|
|
55
|
+
readonly totalCount: number;
|
|
56
|
+
readonly transitRouterAttachmentIds?: string[];
|
|
57
|
+
/**
|
|
58
|
+
* The id of the transit router.
|
|
59
|
+
*/
|
|
60
|
+
readonly transitRouterId: string;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of vpc.
|
|
63
|
+
*/
|
|
64
|
+
readonly vpcId?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Use this data source to query detailed information of transit router vpc attachments
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
73
|
+
*
|
|
74
|
+
* const default = volcengine.transit_router.VpcAttachments({
|
|
75
|
+
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
|
|
76
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare function vpcAttachmentsOutput(args: VpcAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcAttachmentsResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking VpcAttachments.
|
|
83
|
+
*/
|
|
84
|
+
export interface VpcAttachmentsOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* File name where to save data source results.
|
|
87
|
+
*/
|
|
88
|
+
outputFile?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* A list of Transit Router Attachment ids.
|
|
91
|
+
*/
|
|
92
|
+
transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
|
+
/**
|
|
94
|
+
* The id of transit router.
|
|
95
|
+
*/
|
|
96
|
+
transitRouterId: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The id of vpc.
|
|
99
|
+
*/
|
|
100
|
+
vpcId?: pulumi.Input<string>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.vpcAttachmentsOutput = exports.vpcAttachments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of transit router vpc attachments
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.transit_router.VpcAttachments({
|
|
17
|
+
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
|
|
18
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function vpcAttachments(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:transit_router/vpcAttachments:VpcAttachments", {
|
|
25
|
+
"outputFile": args.outputFile,
|
|
26
|
+
"transitRouterAttachmentIds": args.transitRouterAttachmentIds,
|
|
27
|
+
"transitRouterId": args.transitRouterId,
|
|
28
|
+
"vpcId": args.vpcId,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.vpcAttachments = vpcAttachments;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to query detailed information of transit router vpc attachments
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
39
|
+
*
|
|
40
|
+
* const default = volcengine.transit_router.VpcAttachments({
|
|
41
|
+
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
|
|
42
|
+
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function vpcAttachmentsOutput(args, opts) {
|
|
47
|
+
return pulumi.output(args).apply((a) => vpcAttachments(a, opts));
|
|
48
|
+
}
|
|
49
|
+
exports.vpcAttachmentsOutput = vpcAttachmentsOutput;
|
|
50
|
+
//# sourceMappingURL=vpcAttachments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcAttachments.js","sourceRoot":"","sources":["../../transit_router/vpcAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AAmDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage transit router vpn attachment
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.transit_router.VpnAttachment("foo", {
|
|
11
|
+
* description: "desc",
|
|
12
|
+
* transitRouterAttachmentName: "tf-test",
|
|
13
|
+
* transitRouterId: "tr-2d6frp10q687458ozfep4****",
|
|
14
|
+
* vpnConnectionId: "vgc-3reidwjf1t1c05zsk2hik****",
|
|
15
|
+
* zoneId: "cn-beijing-a",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* TransitRouterVpnAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:transit_router/vpnAttachment:VpnAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class VpnAttachment extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing VpnAttachment resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpnAttachmentState, opts?: pulumi.CustomResourceOptions): VpnAttachment;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of VpnAttachment. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is VpnAttachment;
|
|
43
|
+
/**
|
|
44
|
+
* The create time.
|
|
45
|
+
*/
|
|
46
|
+
readonly creationTime: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The description of the transit router vpn attachment.
|
|
49
|
+
*/
|
|
50
|
+
readonly description: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The status of the transit router.
|
|
53
|
+
*/
|
|
54
|
+
readonly status: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The id of the transit router vpn attachment.
|
|
57
|
+
*/
|
|
58
|
+
readonly transitRouterAttachmentId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the transit router vpn attachment.
|
|
61
|
+
*/
|
|
62
|
+
readonly transitRouterAttachmentName: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The id of the transit router.
|
|
65
|
+
*/
|
|
66
|
+
readonly transitRouterId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The update time.
|
|
69
|
+
*/
|
|
70
|
+
readonly updateTime: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the IPSec connection.
|
|
73
|
+
*/
|
|
74
|
+
readonly vpnConnectionId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the availability zone.
|
|
77
|
+
*/
|
|
78
|
+
readonly zoneId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a VpnAttachment resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: VpnAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering VpnAttachment resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface VpnAttachmentState {
|
|
92
|
+
/**
|
|
93
|
+
* The create time.
|
|
94
|
+
*/
|
|
95
|
+
creationTime?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The description of the transit router vpn attachment.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The status of the transit router.
|
|
102
|
+
*/
|
|
103
|
+
status?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The id of the transit router vpn attachment.
|
|
106
|
+
*/
|
|
107
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the transit router vpn attachment.
|
|
110
|
+
*/
|
|
111
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The id of the transit router.
|
|
114
|
+
*/
|
|
115
|
+
transitRouterId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The update time.
|
|
118
|
+
*/
|
|
119
|
+
updateTime?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The ID of the IPSec connection.
|
|
122
|
+
*/
|
|
123
|
+
vpnConnectionId?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the availability zone.
|
|
126
|
+
*/
|
|
127
|
+
zoneId?: pulumi.Input<string>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The set of arguments for constructing a VpnAttachment resource.
|
|
131
|
+
*/
|
|
132
|
+
export interface VpnAttachmentArgs {
|
|
133
|
+
/**
|
|
134
|
+
* The description of the transit router vpn attachment.
|
|
135
|
+
*/
|
|
136
|
+
description?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The name of the transit router vpn attachment.
|
|
139
|
+
*/
|
|
140
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The id of the transit router.
|
|
143
|
+
*/
|
|
144
|
+
transitRouterId: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The ID of the IPSec connection.
|
|
147
|
+
*/
|
|
148
|
+
vpnConnectionId: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The ID of the availability zone.
|
|
151
|
+
*/
|
|
152
|
+
zoneId: pulumi.Input<string>;
|
|
153
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.VpnAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage transit router vpn attachment
|
|
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.transit_router.VpnAttachment("foo", {
|
|
17
|
+
* description: "desc",
|
|
18
|
+
* transitRouterAttachmentName: "tf-test",
|
|
19
|
+
* transitRouterId: "tr-2d6frp10q687458ozfep4****",
|
|
20
|
+
* vpnConnectionId: "vgc-3reidwjf1t1c05zsk2hik****",
|
|
21
|
+
* zoneId: "cn-beijing-a",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* TransitRouterVpnAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcengine:transit_router/vpnAttachment:VpnAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class VpnAttachment extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing VpnAttachment resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new VpnAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of VpnAttachment. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === VpnAttachment.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
64
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
65
|
+
resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
|
|
66
|
+
resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
|
|
67
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
68
|
+
resourceInputs["vpnConnectionId"] = state ? state.vpnConnectionId : undefined;
|
|
69
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if ((!args || args.transitRouterId === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'transitRouterId'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.vpnConnectionId === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'vpnConnectionId'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'zoneId'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
83
|
+
resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
|
|
84
|
+
resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
|
|
85
|
+
resourceInputs["vpnConnectionId"] = args ? args.vpnConnectionId : undefined;
|
|
86
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
87
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["transitRouterAttachmentId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(VpnAttachment.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.VpnAttachment = VpnAttachment;
|
|
97
|
+
/** @internal */
|
|
98
|
+
VpnAttachment.__pulumiType = 'volcengine:transit_router/vpnAttachment:VpnAttachment';
|
|
99
|
+
//# sourceMappingURL=vpnAttachment.js.map
|