@volcengine/pulumi-volcenginecc 0.0.41 → 0.0.43
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/directconnect/bgpPeer.d.ts +189 -0
- package/directconnect/bgpPeer.js +104 -0
- package/directconnect/bgpPeer.js.map +1 -0
- package/directconnect/getBgpPeer.d.ts +88 -0
- package/directconnect/getBgpPeer.js +28 -0
- package/directconnect/getBgpPeer.js.map +1 -0
- package/directconnect/getBgpPeers.d.ts +22 -0
- package/directconnect/getBgpPeers.js +24 -0
- package/directconnect/getBgpPeers.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +12 -1
- package/directconnect/index.js.map +1 -1
- package/dns/backup.d.ts +90 -0
- package/dns/backup.js +76 -0
- package/dns/backup.js.map +1 -0
- package/dns/getBackup.d.ts +52 -0
- package/dns/getBackup.js +28 -0
- package/dns/getBackup.js.map +1 -0
- package/dns/getBackups.d.ts +22 -0
- package/dns/getBackups.js +24 -0
- package/dns/getBackups.js.map +1 -0
- package/dns/getRecord.d.ts +104 -0
- package/dns/getRecord.js +28 -0
- package/dns/getRecord.js.map +1 -0
- package/dns/getRecords.d.ts +22 -0
- package/dns/getRecords.js +24 -0
- package/dns/getRecords.js.map +1 -0
- package/dns/index.d.ts +18 -0
- package/dns/index.js +23 -1
- package/dns/index.js.map +1 -1
- package/dns/record.d.ts +236 -0
- package/dns/record.js +121 -0
- package/dns/record.js.map +1 -0
- package/gtm/getGtm.d.ts +100 -0
- package/gtm/getGtm.js +28 -0
- package/gtm/getGtm.js.map +1 -0
- package/gtm/getGtms.d.ts +22 -0
- package/gtm/getGtms.js +24 -0
- package/gtm/getGtms.js.map +1 -0
- package/gtm/getRouting.d.ts +48 -0
- package/gtm/getRouting.js +28 -0
- package/gtm/getRouting.js.map +1 -0
- package/gtm/getRoutings.d.ts +22 -0
- package/gtm/getRoutings.js +24 -0
- package/gtm/getRoutings.js.map +1 -0
- package/gtm/getRule.d.ts +105 -0
- package/gtm/getRule.js +28 -0
- package/gtm/getRule.js.map +1 -0
- package/gtm/getRules.d.ts +22 -0
- package/gtm/getRules.js +24 -0
- package/gtm/getRules.js.map +1 -0
- package/gtm/gtm.d.ts +228 -0
- package/gtm/gtm.js +113 -0
- package/gtm/gtm.js.map +1 -0
- package/gtm/index.d.ts +27 -0
- package/gtm/index.js +34 -1
- package/gtm/index.js.map +1 -1
- package/gtm/routing.d.ts +89 -0
- package/gtm/routing.js +74 -0
- package/gtm/routing.js.map +1 -0
- package/gtm/rule.d.ts +226 -0
- package/gtm/rule.js +99 -0
- package/gtm/rule.js.map +1 -0
- package/iam/allowedIpAddress.d.ts +107 -0
- package/iam/allowedIpAddress.js +95 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddress.d.ts +53 -0
- package/iam/getAllowedIpAddress.js +28 -0
- package/iam/getAllowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +22 -0
- package/iam/getAllowedIpAddresses.js +24 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/getOauthProvider.d.ts +44 -0
- package/iam/getOauthProvider.js +28 -0
- package/iam/getOauthProvider.js.map +1 -0
- package/iam/getOauthProviders.d.ts +22 -0
- package/iam/getOauthProviders.js +24 -0
- package/iam/getOauthProviders.js.map +1 -0
- package/iam/index.d.ts +18 -0
- package/iam/index.js +23 -1
- package/iam/index.js.map +1 -1
- package/iam/oauthProvider.d.ts +256 -0
- package/iam/oauthProvider.js +143 -0
- package/iam/oauthProvider.js.map +1 -0
- package/kafka/getUser.d.ts +34 -0
- package/kafka/getUser.js +28 -0
- package/kafka/getUser.js.map +1 -0
- package/kafka/getUsers.d.ts +22 -0
- package/kafka/getUsers.js +24 -0
- package/kafka/getUsers.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/kafka/user.d.ts +155 -0
- package/kafka/user.js +97 -0
- package/kafka/user.js.map +1 -0
- package/mongodb/account.d.ts +146 -0
- package/mongodb/account.js +82 -0
- package/mongodb/account.js.map +1 -0
- package/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/getAccount.d.ts +77 -0
- package/mongodb/getAccount.js +28 -0
- package/mongodb/getAccount.js.map +1 -0
- package/mongodb/getAccounts.d.ts +22 -0
- package/mongodb/getAccounts.js +24 -0
- package/mongodb/getAccounts.js.map +1 -0
- package/mongodb/getEndpoint.d.ts +39 -0
- package/mongodb/getEndpoint.js +28 -0
- package/mongodb/getEndpoint.js.map +1 -0
- package/mongodb/getEndpoints.d.ts +22 -0
- package/mongodb/getEndpoints.js +24 -0
- package/mongodb/getEndpoints.js.map +1 -0
- package/mongodb/index.d.ts +18 -0
- package/mongodb/index.js +23 -1
- package/mongodb/index.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/gatewayEndpoint.d.ts +182 -0
- package/privatelink/gatewayEndpoint.js +106 -0
- package/privatelink/gatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoint.d.ts +85 -0
- package/privatelink/getGatewayEndpoint.js +28 -0
- package/privatelink/getGatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoints.d.ts +22 -0
- package/privatelink/getGatewayEndpoints.js +24 -0
- package/privatelink/getGatewayEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/rdsmssql/backup.d.ts +148 -0
- package/rdsmssql/backup.js +85 -0
- package/rdsmssql/backup.js.map +1 -0
- package/rdsmssql/getBackup.d.ts +89 -0
- package/rdsmssql/getBackup.js +28 -0
- package/rdsmssql/getBackup.js.map +1 -0
- package/rdsmssql/getBackups.d.ts +22 -0
- package/rdsmssql/getBackups.js +24 -0
- package/rdsmssql/getBackups.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdsmysql/endpointPublicAddress.d.ts +182 -0
- package/rdsmysql/endpointPublicAddress.js +104 -0
- package/rdsmysql/endpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
- package/rdsmysql/getEndpointPublicAddress.js +28 -0
- package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
- package/rdsmysql/getEndpointPublicAddresses.js +24 -0
- package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +24 -0
- package/rdspostgresql/allowList.js +4 -0
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/getAllowList.d.ts +8 -0
- package/rdspostgresql/getAllowList.js.map +1 -1
- package/rdspostgresql/getInstanceSsl.d.ts +68 -0
- package/rdspostgresql/getInstanceSsl.js +28 -0
- package/rdspostgresql/getInstanceSsl.js.map +1 -0
- package/rdspostgresql/getInstanceSsls.d.ts +22 -0
- package/rdspostgresql/getInstanceSsls.js +24 -0
- package/rdspostgresql/getInstanceSsls.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instanceSsl.d.ts +134 -0
- package/rdspostgresql/instanceSsl.js +88 -0
- package/rdspostgresql/instanceSsl.js.map +1 -0
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +3 -0
- package/redis/allowList.js.map +1 -1
- package/storageebs/getSnapshotPolicies.d.ts +22 -0
- package/storageebs/getSnapshotPolicies.js +24 -0
- package/storageebs/getSnapshotPolicies.js.map +1 -0
- package/storageebs/getSnapshotPolicy.d.ts +93 -0
- package/storageebs/getSnapshotPolicy.js +28 -0
- package/storageebs/getSnapshotPolicy.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotPolicy.d.ts +215 -0
- package/storageebs/snapshotPolicy.js +122 -0
- package/storageebs/snapshotPolicy.js.map +1 -0
- package/tos/bucketAccessMonitor.d.ts +74 -0
- package/tos/bucketAccessMonitor.js +72 -0
- package/tos/bucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitor.d.ts +44 -0
- package/tos/getBucketAccessMonitor.js +28 -0
- package/tos/getBucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitors.d.ts +22 -0
- package/tos/getBucketAccessMonitors.js +24 -0
- package/tos/getBucketAccessMonitors.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +12 -1
- package/tos/index.js.map +1 -1
- package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
- package/transitrouter/directConnectGatewayAttachment.js +106 -0
- package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.js +34 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
- package/transitrouter/transitRouterBandwidthPackage.js +138 -0
- package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
- package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
- package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
- package/types/input.d.ts +310 -0
- package/types/output.d.ts +641 -0
- package/vepfs/fileset.d.ts +202 -0
- package/vepfs/fileset.js +106 -0
- package/vepfs/fileset.js.map +1 -0
- package/vepfs/getFileset.d.ts +41 -0
- package/vepfs/getFileset.js +28 -0
- package/vepfs/getFileset.js.map +1 -0
- package/vepfs/getFilesets.d.ts +22 -0
- package/vepfs/getFilesets.js +24 -0
- package/vepfs/getFilesets.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vmp/getRuleFile.d.ts +37 -0
- package/vmp/getRuleFile.js +28 -0
- package/vmp/getRuleFile.js.map +1 -0
- package/vmp/getRuleFiles.d.ts +22 -0
- package/vmp/getRuleFiles.js +24 -0
- package/vmp/getRuleFiles.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.js +12 -1
- package/vmp/index.js.map +1 -1
- package/vmp/ruleFile.d.ts +172 -0
- package/vmp/ruleFile.js +104 -0
- package/vmp/ruleFile.js.map +1 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* BGP neighbor
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const directConnectBgpPeerDemo = new volcenginecc.directconnect.BgpPeer("DirectConnectBgpPeerDemo", {
|
|
12
|
+
* authKey: "QWExxxxx",
|
|
13
|
+
* bgpPeerName: "ccapi-test",
|
|
14
|
+
* description: "test",
|
|
15
|
+
* ipVersion: "IPv4",
|
|
16
|
+
* remoteAsn: 4294960000,
|
|
17
|
+
* virtualInterfaceId: "dcv-33cjs5xxxxxxxxx",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcenginecc:directconnect/bgpPeer:BgpPeer example "bgp_peer_id"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class BgpPeer extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing BgpPeer 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?: BgpPeerState, opts?: pulumi.CustomResourceOptions): BgpPeer;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of BgpPeer. 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 BgpPeer;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the account to which the BGP neighbor belongs.
|
|
45
|
+
*/
|
|
46
|
+
readonly accountId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Authentication key of the BGP neighbor.
|
|
49
|
+
*/
|
|
50
|
+
readonly authKey: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* ID of the BGP neighbor.
|
|
53
|
+
*/
|
|
54
|
+
readonly bgpPeerId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Name of the BGP neighbor.
|
|
57
|
+
*/
|
|
58
|
+
readonly bgpPeerName: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Time when the BGP neighbor was created.
|
|
61
|
+
*/
|
|
62
|
+
readonly creationTime: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Description of the BGP neighbor.
|
|
65
|
+
*/
|
|
66
|
+
readonly description: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type.
|
|
69
|
+
*/
|
|
70
|
+
readonly ipVersion: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* ASN of the Volcano side.
|
|
73
|
+
*/
|
|
74
|
+
readonly localAsn: pulumi.Output<number>;
|
|
75
|
+
/**
|
|
76
|
+
* Peer ASN of the BGP neighbor.
|
|
77
|
+
*/
|
|
78
|
+
readonly remoteAsn: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Session status of the BGP neighbor. Up indicates normal, Down indicates not operational.
|
|
81
|
+
*/
|
|
82
|
+
readonly sessionStatus: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Status of the BGP neighbor. Creating means the neighbor is being created, Deleting means it is being deleted, Pending means it is being configured, Available means it is available.
|
|
85
|
+
*/
|
|
86
|
+
readonly status: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Time when the BGP neighbor was updated.
|
|
89
|
+
*/
|
|
90
|
+
readonly updateTime: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* ID of the virtual interface where the BGP neighbor is located.
|
|
93
|
+
*/
|
|
94
|
+
readonly virtualInterfaceId: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a BgpPeer resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: BgpPeerArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering BgpPeer resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface BgpPeerState {
|
|
108
|
+
/**
|
|
109
|
+
* ID of the account to which the BGP neighbor belongs.
|
|
110
|
+
*/
|
|
111
|
+
accountId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Authentication key of the BGP neighbor.
|
|
114
|
+
*/
|
|
115
|
+
authKey?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* ID of the BGP neighbor.
|
|
118
|
+
*/
|
|
119
|
+
bgpPeerId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the BGP neighbor.
|
|
122
|
+
*/
|
|
123
|
+
bgpPeerName?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Time when the BGP neighbor was created.
|
|
126
|
+
*/
|
|
127
|
+
creationTime?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Description of the BGP neighbor.
|
|
130
|
+
*/
|
|
131
|
+
description?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type.
|
|
134
|
+
*/
|
|
135
|
+
ipVersion?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* ASN of the Volcano side.
|
|
138
|
+
*/
|
|
139
|
+
localAsn?: pulumi.Input<number>;
|
|
140
|
+
/**
|
|
141
|
+
* Peer ASN of the BGP neighbor.
|
|
142
|
+
*/
|
|
143
|
+
remoteAsn?: pulumi.Input<number>;
|
|
144
|
+
/**
|
|
145
|
+
* Session status of the BGP neighbor. Up indicates normal, Down indicates not operational.
|
|
146
|
+
*/
|
|
147
|
+
sessionStatus?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Status of the BGP neighbor. Creating means the neighbor is being created, Deleting means it is being deleted, Pending means it is being configured, Available means it is available.
|
|
150
|
+
*/
|
|
151
|
+
status?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Time when the BGP neighbor was updated.
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* ID of the virtual interface where the BGP neighbor is located.
|
|
158
|
+
*/
|
|
159
|
+
virtualInterfaceId?: pulumi.Input<string>;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The set of arguments for constructing a BgpPeer resource.
|
|
163
|
+
*/
|
|
164
|
+
export interface BgpPeerArgs {
|
|
165
|
+
/**
|
|
166
|
+
* Authentication key of the BGP neighbor.
|
|
167
|
+
*/
|
|
168
|
+
authKey?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Name of the BGP neighbor.
|
|
171
|
+
*/
|
|
172
|
+
bgpPeerName?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Description of the BGP neighbor.
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type.
|
|
179
|
+
*/
|
|
180
|
+
ipVersion?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Peer ASN of the BGP neighbor.
|
|
183
|
+
*/
|
|
184
|
+
remoteAsn: pulumi.Input<number>;
|
|
185
|
+
/**
|
|
186
|
+
* ID of the virtual interface where the BGP neighbor is located.
|
|
187
|
+
*/
|
|
188
|
+
virtualInterfaceId: pulumi.Input<string>;
|
|
189
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.BgpPeer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* BGP neighbor
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const directConnectBgpPeerDemo = new volcenginecc.directconnect.BgpPeer("DirectConnectBgpPeerDemo", {
|
|
18
|
+
* authKey: "QWExxxxx",
|
|
19
|
+
* bgpPeerName: "ccapi-test",
|
|
20
|
+
* description: "test",
|
|
21
|
+
* ipVersion: "IPv4",
|
|
22
|
+
* remoteAsn: 4294960000,
|
|
23
|
+
* virtualInterfaceId: "dcv-33cjs5xxxxxxxxx",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcenginecc:directconnect/bgpPeer:BgpPeer example "bgp_peer_id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class BgpPeer extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing BgpPeer 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 BgpPeer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of BgpPeer. 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'] === BgpPeer.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
62
|
+
resourceInputs["authKey"] = state ? state.authKey : undefined;
|
|
63
|
+
resourceInputs["bgpPeerId"] = state ? state.bgpPeerId : undefined;
|
|
64
|
+
resourceInputs["bgpPeerName"] = state ? state.bgpPeerName : undefined;
|
|
65
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
66
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
67
|
+
resourceInputs["ipVersion"] = state ? state.ipVersion : undefined;
|
|
68
|
+
resourceInputs["localAsn"] = state ? state.localAsn : undefined;
|
|
69
|
+
resourceInputs["remoteAsn"] = state ? state.remoteAsn : undefined;
|
|
70
|
+
resourceInputs["sessionStatus"] = state ? state.sessionStatus : undefined;
|
|
71
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
72
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
73
|
+
resourceInputs["virtualInterfaceId"] = state ? state.virtualInterfaceId : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.remoteAsn === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'remoteAsn'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.virtualInterfaceId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'virtualInterfaceId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["authKey"] = args ? args.authKey : undefined;
|
|
84
|
+
resourceInputs["bgpPeerName"] = args ? args.bgpPeerName : undefined;
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["ipVersion"] = args ? args.ipVersion : undefined;
|
|
87
|
+
resourceInputs["remoteAsn"] = args ? args.remoteAsn : undefined;
|
|
88
|
+
resourceInputs["virtualInterfaceId"] = args ? args.virtualInterfaceId : undefined;
|
|
89
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["bgpPeerId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["localAsn"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["sessionStatus"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(BgpPeer.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.BgpPeer = BgpPeer;
|
|
102
|
+
/** @internal */
|
|
103
|
+
BgpPeer.__pulumiType = 'volcenginecc:directconnect/bgpPeer:BgpPeer';
|
|
104
|
+
//# sourceMappingURL=bgpPeer.js.map
|
|
@@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C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAnIL,0BAoIC;AAtHG,gBAAgB;AACO,oBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
4
|
+
*/
|
|
5
|
+
export declare function getBgpPeer(args: GetBgpPeerArgs, opts?: pulumi.InvokeOptions): Promise<GetBgpPeerResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getBgpPeer.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetBgpPeerArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getBgpPeer.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBgpPeerResult {
|
|
19
|
+
/**
|
|
20
|
+
* ID of the account to which the BGP neighbor belongs.
|
|
21
|
+
*/
|
|
22
|
+
readonly accountId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Authentication key of the BGP neighbor.
|
|
25
|
+
*/
|
|
26
|
+
readonly authKey: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the BGP neighbor.
|
|
29
|
+
*/
|
|
30
|
+
readonly bgpPeerId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Name of the BGP neighbor.
|
|
33
|
+
*/
|
|
34
|
+
readonly bgpPeerName: string;
|
|
35
|
+
/**
|
|
36
|
+
* Time when the BGP neighbor was created.
|
|
37
|
+
*/
|
|
38
|
+
readonly creationTime: string;
|
|
39
|
+
/**
|
|
40
|
+
* Description of the BGP neighbor.
|
|
41
|
+
*/
|
|
42
|
+
readonly description: string;
|
|
43
|
+
/**
|
|
44
|
+
* Uniquely identifies the resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type.
|
|
49
|
+
*/
|
|
50
|
+
readonly ipVersion: string;
|
|
51
|
+
/**
|
|
52
|
+
* ASN of the Volcano side.
|
|
53
|
+
*/
|
|
54
|
+
readonly localAsn: number;
|
|
55
|
+
/**
|
|
56
|
+
* Peer ASN of the BGP neighbor.
|
|
57
|
+
*/
|
|
58
|
+
readonly remoteAsn: number;
|
|
59
|
+
/**
|
|
60
|
+
* Session status of the BGP neighbor. Up indicates normal, Down indicates not operational.
|
|
61
|
+
*/
|
|
62
|
+
readonly sessionStatus: string;
|
|
63
|
+
/**
|
|
64
|
+
* Status of the BGP neighbor. Creating means the neighbor is being created, Deleting means it is being deleted, Pending means it is being configured, Available means it is available.
|
|
65
|
+
*/
|
|
66
|
+
readonly status: string;
|
|
67
|
+
/**
|
|
68
|
+
* Time when the BGP neighbor was updated.
|
|
69
|
+
*/
|
|
70
|
+
readonly updateTime: string;
|
|
71
|
+
/**
|
|
72
|
+
* ID of the virtual interface where the BGP neighbor is located.
|
|
73
|
+
*/
|
|
74
|
+
readonly virtualInterfaceId: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
78
|
+
*/
|
|
79
|
+
export declare function getBgpPeerOutput(args: GetBgpPeerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpPeerResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getBgpPeer.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetBgpPeerOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* Uniquely identifies the resource.
|
|
86
|
+
*/
|
|
87
|
+
id: pulumi.Input<string>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getBgpPeerOutput = exports.getBgpPeer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
10
|
+
*/
|
|
11
|
+
function getBgpPeer(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:directconnect/getBgpPeer:getBgpPeer", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getBgpPeer = getBgpPeer;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
20
|
+
*/
|
|
21
|
+
function getBgpPeerOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:directconnect/getBgpPeer:getBgpPeer", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getBgpPeerOutput = getBgpPeerOutput;
|
|
28
|
+
//# sourceMappingURL=getBgpPeer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBgpPeer.js","sourceRoot":"","sources":["../../directconnect/getBgpPeer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAyED;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
4
|
+
*/
|
|
5
|
+
export declare function getBgpPeers(opts?: pulumi.InvokeOptions): Promise<GetBgpPeersResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getBgpPeers.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetBgpPeersResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
21
|
+
*/
|
|
22
|
+
export declare function getBgpPeersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpPeersResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getBgpPeersOutput = exports.getBgpPeers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
10
|
+
*/
|
|
11
|
+
function getBgpPeers(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:directconnect/getBgpPeers:getBgpPeers", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getBgpPeers = getBgpPeers;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::DirectConnect::BgpPeer
|
|
18
|
+
*/
|
|
19
|
+
function getBgpPeersOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:directconnect/getBgpPeers:getBgpPeers", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getBgpPeersOutput = getBgpPeersOutput;
|
|
24
|
+
//# sourceMappingURL=getBgpPeers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBgpPeers.js","sourceRoot":"","sources":["../../directconnect/getBgpPeers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/directconnect/index.d.ts
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
+
export { BgpPeerArgs, BgpPeerState } from "./bgpPeer";
|
|
2
|
+
export type BgpPeer = import("./bgpPeer").BgpPeer;
|
|
3
|
+
export declare const BgpPeer: typeof import("./bgpPeer").BgpPeer;
|
|
1
4
|
export { DirectConnectGatewayArgs, DirectConnectGatewayState } from "./directConnectGateway";
|
|
2
5
|
export type DirectConnectGateway = import("./directConnectGateway").DirectConnectGateway;
|
|
3
6
|
export declare const DirectConnectGateway: typeof import("./directConnectGateway").DirectConnectGateway;
|
|
4
7
|
export { GatewayRouteArgs, GatewayRouteState } from "./gatewayRoute";
|
|
5
8
|
export type GatewayRoute = import("./gatewayRoute").GatewayRoute;
|
|
6
9
|
export declare const GatewayRoute: typeof import("./gatewayRoute").GatewayRoute;
|
|
10
|
+
export { GetBgpPeerArgs, GetBgpPeerResult, GetBgpPeerOutputArgs } from "./getBgpPeer";
|
|
11
|
+
export declare const getBgpPeer: typeof import("./getBgpPeer").getBgpPeer;
|
|
12
|
+
export declare const getBgpPeerOutput: typeof import("./getBgpPeer").getBgpPeerOutput;
|
|
13
|
+
export { GetBgpPeersResult } from "./getBgpPeers";
|
|
14
|
+
export declare const getBgpPeers: typeof import("./getBgpPeers").getBgpPeers;
|
|
15
|
+
export declare const getBgpPeersOutput: typeof import("./getBgpPeers").getBgpPeersOutput;
|
|
7
16
|
export { GetDirectConnectGatewayArgs, GetDirectConnectGatewayResult, GetDirectConnectGatewayOutputArgs } from "./getDirectConnectGateway";
|
|
8
17
|
export declare const getDirectConnectGateway: typeof import("./getDirectConnectGateway").getDirectConnectGateway;
|
|
9
18
|
export declare const getDirectConnectGatewayOutput: typeof import("./getDirectConnectGateway").getDirectConnectGatewayOutput;
|
package/directconnect/index.js
CHANGED
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.VirtualInterface = exports.getVirtualInterfacesOutput = exports.getVirtualInterfaces = exports.getVirtualInterfaceOutput = exports.getVirtualInterface = exports.getGatewayRoutesOutput = exports.getGatewayRoutes = exports.getGatewayRouteOutput = exports.getGatewayRoute = exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.GatewayRoute = exports.DirectConnectGateway = void 0;
|
|
5
|
+
exports.VirtualInterface = exports.getVirtualInterfacesOutput = exports.getVirtualInterfaces = exports.getVirtualInterfaceOutput = exports.getVirtualInterface = exports.getGatewayRoutesOutput = exports.getGatewayRoutes = exports.getGatewayRouteOutput = exports.getGatewayRoute = exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.getBgpPeersOutput = exports.getBgpPeers = exports.getBgpPeerOutput = exports.getBgpPeer = exports.GatewayRoute = exports.DirectConnectGateway = exports.BgpPeer = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.BgpPeer = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["BgpPeer"], () => require("./bgpPeer"));
|
|
8
10
|
exports.DirectConnectGateway = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["DirectConnectGateway"], () => require("./directConnectGateway"));
|
|
10
12
|
exports.GatewayRoute = null;
|
|
11
13
|
utilities.lazyLoad(exports, ["GatewayRoute"], () => require("./gatewayRoute"));
|
|
14
|
+
exports.getBgpPeer = null;
|
|
15
|
+
exports.getBgpPeerOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getBgpPeer", "getBgpPeerOutput"], () => require("./getBgpPeer"));
|
|
17
|
+
exports.getBgpPeers = null;
|
|
18
|
+
exports.getBgpPeersOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getBgpPeers", "getBgpPeersOutput"], () => require("./getBgpPeers"));
|
|
12
20
|
exports.getDirectConnectGateway = null;
|
|
13
21
|
exports.getDirectConnectGatewayOutput = null;
|
|
14
22
|
utilities.lazyLoad(exports, ["getDirectConnectGateway", "getDirectConnectGatewayOutput"], () => require("./getDirectConnectGateway"));
|
|
@@ -33,6 +41,8 @@ const _module = {
|
|
|
33
41
|
version: utilities.getVersion(),
|
|
34
42
|
construct: (name, type, urn) => {
|
|
35
43
|
switch (type) {
|
|
44
|
+
case "volcenginecc:directconnect/bgpPeer:BgpPeer":
|
|
45
|
+
return new exports.BgpPeer(name, undefined, { urn });
|
|
36
46
|
case "volcenginecc:directconnect/directConnectGateway:DirectConnectGateway":
|
|
37
47
|
return new exports.DirectConnectGateway(name, undefined, { urn });
|
|
38
48
|
case "volcenginecc:directconnect/gatewayRoute:GatewayRoute":
|
|
@@ -44,6 +54,7 @@ const _module = {
|
|
|
44
54
|
}
|
|
45
55
|
},
|
|
46
56
|
};
|
|
57
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/bgpPeer", _module);
|
|
47
58
|
pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/directConnectGateway", _module);
|
|
48
59
|
pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/gatewayRoute", _module);
|
|
49
60
|
pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/virtualInterface", _module);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../directconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGlE,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,EAAC,+BAA+B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAGxH,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA,8BAA8B,GAA+E,IAAW,CAAC;AACtI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,0BAA0B,EAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;AAG3H,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,C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,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AACpG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
package/dns/backup.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Backup Information
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const dNSBackupDemo = new volcenginecc.dns.Backup("DNSBackupDemo", {zid: "21xxxx"});
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* ```sh
|
|
17
|
+
* $ pulumi import volcenginecc:dns/backup:Backup example "zid|backup_id"
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class Backup extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing Backup resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupState, opts?: pulumi.CustomResourceOptions): Backup;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of Backup. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is Backup;
|
|
36
|
+
/**
|
|
37
|
+
* Backup ID.
|
|
38
|
+
*/
|
|
39
|
+
readonly backupId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Backup creation time. Time zone is UTC+8.
|
|
42
|
+
*/
|
|
43
|
+
readonly backupTime: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Number of DNS records in the backup.
|
|
46
|
+
*/
|
|
47
|
+
readonly recordCount: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
50
|
+
*/
|
|
51
|
+
readonly zid: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a Backup resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: BackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering Backup resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface BackupState {
|
|
65
|
+
/**
|
|
66
|
+
* Backup ID.
|
|
67
|
+
*/
|
|
68
|
+
backupId?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Backup creation time. Time zone is UTC+8.
|
|
71
|
+
*/
|
|
72
|
+
backupTime?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Number of DNS records in the backup.
|
|
75
|
+
*/
|
|
76
|
+
recordCount?: pulumi.Input<number>;
|
|
77
|
+
/**
|
|
78
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
79
|
+
*/
|
|
80
|
+
zid?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a Backup resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface BackupArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
88
|
+
*/
|
|
89
|
+
zid: pulumi.Input<string>;
|
|
90
|
+
}
|