@volcengine/pulumi-volcenginecc 0.0.42 → 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/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/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- 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/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.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 +9 -0
- package/mongodb/index.js +12 -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/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/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 +167 -0
- package/types/output.d.ts +338 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Direct connect gateway type network instance connection resource
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const directConnectGatewayAttachmentDemo = new volcenginecc.transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo", {
|
|
14
|
+
* directConnectGatewayId: "dcg-1714vlpplhxc1f*****",
|
|
15
|
+
* transitRouterAttachmentName: "test",
|
|
16
|
+
* transitRouterId: "tr-2d69n1k0brncw58ozfdh6y6xq***",
|
|
17
|
+
* description: "test",
|
|
18
|
+
* tags: [{
|
|
19
|
+
* key: "env",
|
|
20
|
+
* value: "test",
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcenginecc:transitrouter/directConnectGatewayAttachment:DirectConnectGatewayAttachment example "transit_router_id|transit_router_attachment_id"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class DirectConnectGatewayAttachment extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectConnectGatewayAttachmentState, opts?: pulumi.CustomResourceOptions): DirectConnectGatewayAttachment;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is DirectConnectGatewayAttachment;
|
|
47
|
+
/**
|
|
48
|
+
* Account ID to which the network instance connection belongs
|
|
49
|
+
*/
|
|
50
|
+
readonly accountId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Whether to automatically synchronize TR routes to the network instance route table
|
|
53
|
+
*/
|
|
54
|
+
readonly autoPublishRouteEnabled: pulumi.Output<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum bandwidth of the network instance connection, in Gbps
|
|
57
|
+
*/
|
|
58
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* Creation time of the network instance connection
|
|
61
|
+
*/
|
|
62
|
+
readonly creationTime: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
|
|
65
|
+
*/
|
|
66
|
+
readonly description: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
|
|
69
|
+
*/
|
|
70
|
+
readonly directConnectGatewayId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Whether to enable IPv6
|
|
73
|
+
*/
|
|
74
|
+
readonly ipv6Enabled: pulumi.Output<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
|
|
77
|
+
*/
|
|
78
|
+
readonly status: pulumi.Output<string>;
|
|
79
|
+
readonly tags: pulumi.Output<outputs.transitrouter.DirectConnectGatewayAttachmentTag[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Network instance connection ID
|
|
82
|
+
*/
|
|
83
|
+
readonly transitRouterAttachmentId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
|
|
86
|
+
*/
|
|
87
|
+
readonly transitRouterAttachmentName: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
|
|
90
|
+
*/
|
|
91
|
+
readonly transitRouterId: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Most recent operation time of the network instance connection
|
|
94
|
+
*/
|
|
95
|
+
readonly updateTime: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a DirectConnectGatewayAttachment resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args: DirectConnectGatewayAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering DirectConnectGatewayAttachment resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface DirectConnectGatewayAttachmentState {
|
|
109
|
+
/**
|
|
110
|
+
* Account ID to which the network instance connection belongs
|
|
111
|
+
*/
|
|
112
|
+
accountId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Whether to automatically synchronize TR routes to the network instance route table
|
|
115
|
+
*/
|
|
116
|
+
autoPublishRouteEnabled?: pulumi.Input<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* Maximum bandwidth of the network instance connection, in Gbps
|
|
119
|
+
*/
|
|
120
|
+
bandwidth?: pulumi.Input<number>;
|
|
121
|
+
/**
|
|
122
|
+
* Creation time of the network instance connection
|
|
123
|
+
*/
|
|
124
|
+
creationTime?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
|
|
127
|
+
*/
|
|
128
|
+
description?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
|
|
131
|
+
*/
|
|
132
|
+
directConnectGatewayId?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Whether to enable IPv6
|
|
135
|
+
*/
|
|
136
|
+
ipv6Enabled?: pulumi.Input<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
|
|
139
|
+
*/
|
|
140
|
+
status?: pulumi.Input<string>;
|
|
141
|
+
tags?: pulumi.Input<pulumi.Input<inputs.transitrouter.DirectConnectGatewayAttachmentTag>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Network instance connection ID
|
|
144
|
+
*/
|
|
145
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
|
|
148
|
+
*/
|
|
149
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
|
|
152
|
+
*/
|
|
153
|
+
transitRouterId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Most recent operation time of the network instance connection
|
|
156
|
+
*/
|
|
157
|
+
updateTime?: pulumi.Input<string>;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The set of arguments for constructing a DirectConnectGatewayAttachment resource.
|
|
161
|
+
*/
|
|
162
|
+
export interface DirectConnectGatewayAttachmentArgs {
|
|
163
|
+
/**
|
|
164
|
+
* Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
|
|
165
|
+
*/
|
|
166
|
+
description?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
|
|
169
|
+
*/
|
|
170
|
+
directConnectGatewayId: pulumi.Input<string>;
|
|
171
|
+
tags?: pulumi.Input<pulumi.Input<inputs.transitrouter.DirectConnectGatewayAttachmentTag>[]>;
|
|
172
|
+
/**
|
|
173
|
+
* Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
|
|
174
|
+
*/
|
|
175
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
|
|
178
|
+
*/
|
|
179
|
+
transitRouterId: pulumi.Input<string>;
|
|
180
|
+
}
|
|
@@ -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.DirectConnectGatewayAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Direct connect gateway type network instance connection resource
|
|
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 directConnectGatewayAttachmentDemo = new volcenginecc.transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo", {
|
|
18
|
+
* directConnectGatewayId: "dcg-1714vlpplhxc1f*****",
|
|
19
|
+
* transitRouterAttachmentName: "test",
|
|
20
|
+
* transitRouterId: "tr-2d69n1k0brncw58ozfdh6y6xq***",
|
|
21
|
+
* description: "test",
|
|
22
|
+
* tags: [{
|
|
23
|
+
* key: "env",
|
|
24
|
+
* value: "test",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcenginecc:transitrouter/directConnectGatewayAttachment:DirectConnectGatewayAttachment example "transit_router_id|transit_router_attachment_id"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class DirectConnectGatewayAttachment extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new DirectConnectGatewayAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === DirectConnectGatewayAttachment.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
64
|
+
resourceInputs["autoPublishRouteEnabled"] = state ? state.autoPublishRouteEnabled : undefined;
|
|
65
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
66
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
67
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
68
|
+
resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
|
|
69
|
+
resourceInputs["ipv6Enabled"] = state ? state.ipv6Enabled : undefined;
|
|
70
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
71
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
72
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
73
|
+
resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
|
|
74
|
+
resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
|
|
75
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.directConnectGatewayId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'directConnectGatewayId'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.transitRouterId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'transitRouterId'");
|
|
84
|
+
}
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["directConnectGatewayId"] = args ? args.directConnectGatewayId : undefined;
|
|
87
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
88
|
+
resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
|
|
89
|
+
resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
|
|
90
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["autoPublishRouteEnabled"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["bandwidth"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["ipv6Enabled"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["transitRouterAttachmentId"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(DirectConnectGatewayAttachment.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.DirectConnectGatewayAttachment = DirectConnectGatewayAttachment;
|
|
104
|
+
/** @internal */
|
|
105
|
+
DirectConnectGatewayAttachment.__pulumiType = 'volcenginecc:transitrouter/directConnectGatewayAttachment:DirectConnectGatewayAttachment';
|
|
106
|
+
//# sourceMappingURL=directConnectGatewayAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directConnectGatewayAttachment.js","sourceRoot":"","sources":["../../transitrouter/directConnectGatewayAttachment.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayAttachmentResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getDirectConnectGatewayAttachment.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetDirectConnectGatewayAttachmentArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getDirectConnectGatewayAttachment.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDirectConnectGatewayAttachmentResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account ID to which the network instance connection belongs
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether to automatically synchronize TR routes to the network instance route table
|
|
26
|
+
*/
|
|
27
|
+
readonly autoPublishRouteEnabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Maximum bandwidth of the network instance connection, in Gbps
|
|
30
|
+
*/
|
|
31
|
+
readonly bandwidth: number;
|
|
32
|
+
/**
|
|
33
|
+
* Creation time of the network instance connection
|
|
34
|
+
*/
|
|
35
|
+
readonly creationTime: string;
|
|
36
|
+
/**
|
|
37
|
+
* Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
|
|
42
|
+
*/
|
|
43
|
+
readonly directConnectGatewayId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to enable IPv6
|
|
50
|
+
*/
|
|
51
|
+
readonly ipv6Enabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
|
|
54
|
+
*/
|
|
55
|
+
readonly status: string;
|
|
56
|
+
/**
|
|
57
|
+
* Tag information of the network instance connection
|
|
58
|
+
*/
|
|
59
|
+
readonly tags: outputs.transitrouter.GetDirectConnectGatewayAttachmentTag[];
|
|
60
|
+
/**
|
|
61
|
+
* Network instance connection ID
|
|
62
|
+
*/
|
|
63
|
+
readonly transitRouterAttachmentId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
|
|
66
|
+
*/
|
|
67
|
+
readonly transitRouterAttachmentName: string;
|
|
68
|
+
/**
|
|
69
|
+
* Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
|
|
70
|
+
*/
|
|
71
|
+
readonly transitRouterId: string;
|
|
72
|
+
/**
|
|
73
|
+
* Most recent operation time of the network instance connection
|
|
74
|
+
*/
|
|
75
|
+
readonly updateTime: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
79
|
+
*/
|
|
80
|
+
export declare function getDirectConnectGatewayAttachmentOutput(args: GetDirectConnectGatewayAttachmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirectConnectGatewayAttachmentResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getDirectConnectGatewayAttachment.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetDirectConnectGatewayAttachmentOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* Uniquely identifies the resource.
|
|
87
|
+
*/
|
|
88
|
+
id: pulumi.Input<string>;
|
|
89
|
+
}
|
|
@@ -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.getDirectConnectGatewayAttachmentOutput = exports.getDirectConnectGatewayAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
10
|
+
*/
|
|
11
|
+
function getDirectConnectGatewayAttachment(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:transitrouter/getDirectConnectGatewayAttachment:getDirectConnectGatewayAttachment", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getDirectConnectGatewayAttachment = getDirectConnectGatewayAttachment;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
20
|
+
*/
|
|
21
|
+
function getDirectConnectGatewayAttachmentOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:transitrouter/getDirectConnectGatewayAttachment:getDirectConnectGatewayAttachment", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getDirectConnectGatewayAttachmentOutput = getDirectConnectGatewayAttachmentOutput;
|
|
28
|
+
//# sourceMappingURL=getDirectConnectGatewayAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDirectConnectGatewayAttachment.js","sourceRoot":"","sources":["../../transitrouter/getDirectConnectGatewayAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gGAAgG,EAAE;QAC3H,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC;AAyED;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gGAAgG,EAAE;QACjI,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0FAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
4
|
+
*/
|
|
5
|
+
export declare function getDirectConnectGatewayAttachments(opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayAttachmentsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getDirectConnectGatewayAttachments.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetDirectConnectGatewayAttachmentsResult {
|
|
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::TransitRouter::DirectConnectGatewayAttachment
|
|
21
|
+
*/
|
|
22
|
+
export declare function getDirectConnectGatewayAttachmentsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirectConnectGatewayAttachmentsResult>;
|
|
@@ -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.getDirectConnectGatewayAttachmentsOutput = exports.getDirectConnectGatewayAttachments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
10
|
+
*/
|
|
11
|
+
function getDirectConnectGatewayAttachments(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:transitrouter/getDirectConnectGatewayAttachments:getDirectConnectGatewayAttachments", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getDirectConnectGatewayAttachments = getDirectConnectGatewayAttachments;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment
|
|
18
|
+
*/
|
|
19
|
+
function getDirectConnectGatewayAttachmentsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:transitrouter/getDirectConnectGatewayAttachments:getDirectConnectGatewayAttachments", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getDirectConnectGatewayAttachmentsOutput = getDirectConnectGatewayAttachmentsOutput;
|
|
24
|
+
//# sourceMappingURL=getDirectConnectGatewayAttachments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDirectConnectGatewayAttachments.js","sourceRoot":"","sources":["../../transitrouter/getDirectConnectGatewayAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kGAAkG,EAAE,EAChI,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gFAIC;AAeD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kGAAkG,EAAE,EACtI,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4FAIC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TransitRouter::TransitRouterBandwidthPackage
|
|
5
|
+
*/
|
|
6
|
+
export declare function getTransitRouterBandwidthPackage(args: GetTransitRouterBandwidthPackageArgs, opts?: pulumi.InvokeOptions): Promise<GetTransitRouterBandwidthPackageResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getTransitRouterBandwidthPackage.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetTransitRouterBandwidthPackageArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getTransitRouterBandwidthPackage.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetTransitRouterBandwidthPackageResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account ID to which the bandwidth package belongs.
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Details of the cross-region connection associated with the bandwidth package.
|
|
26
|
+
*/
|
|
27
|
+
readonly allocations: outputs.transitrouter.GetTransitRouterBandwidthPackageAllocation[];
|
|
28
|
+
/**
|
|
29
|
+
* Bandwidth peak of the transit router bandwidth package, in Mbps.
|
|
30
|
+
*/
|
|
31
|
+
readonly bandwidth: number;
|
|
32
|
+
/**
|
|
33
|
+
* Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
|
|
34
|
+
*/
|
|
35
|
+
readonly billingStatus: number;
|
|
36
|
+
/**
|
|
37
|
+
* Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
|
|
38
|
+
*/
|
|
39
|
+
readonly billingType: number;
|
|
40
|
+
/**
|
|
41
|
+
* Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
|
|
42
|
+
*/
|
|
43
|
+
readonly businessStatus: string;
|
|
44
|
+
/**
|
|
45
|
+
* Creation time of the transit router bandwidth package.
|
|
46
|
+
*/
|
|
47
|
+
readonly creationTime: string;
|
|
48
|
+
/**
|
|
49
|
+
* Deletion time of the transit router bandwidth package.
|
|
50
|
+
*/
|
|
51
|
+
readonly deletedTime: string;
|
|
52
|
+
/**
|
|
53
|
+
* Description of the transit router bandwidth package.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: string;
|
|
56
|
+
/**
|
|
57
|
+
* Expiration time of the transit router bandwidth package.
|
|
58
|
+
*/
|
|
59
|
+
readonly expiredTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* Uniquely identifies the resource.
|
|
62
|
+
*/
|
|
63
|
+
readonly id: string;
|
|
64
|
+
/**
|
|
65
|
+
* Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
|
|
66
|
+
*/
|
|
67
|
+
readonly lineOperator: string;
|
|
68
|
+
/**
|
|
69
|
+
* Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
|
|
70
|
+
*/
|
|
71
|
+
readonly localGeographicRegionSetId: string;
|
|
72
|
+
/**
|
|
73
|
+
* Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
|
|
74
|
+
*/
|
|
75
|
+
readonly peerGeographicRegionSetId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Purchase duration of the transit router bandwidth package.
|
|
78
|
+
*/
|
|
79
|
+
readonly period: number;
|
|
80
|
+
/**
|
|
81
|
+
* Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
|
|
82
|
+
*/
|
|
83
|
+
readonly periodUnit: string;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the project to which the transit router bandwidth package belongs.
|
|
86
|
+
*/
|
|
87
|
+
readonly projectName: string;
|
|
88
|
+
/**
|
|
89
|
+
* Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
|
|
90
|
+
*/
|
|
91
|
+
readonly reclaimTime: string;
|
|
92
|
+
/**
|
|
93
|
+
* Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
|
|
94
|
+
*/
|
|
95
|
+
readonly remainRenewTimes: number;
|
|
96
|
+
/**
|
|
97
|
+
* Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
|
|
98
|
+
*/
|
|
99
|
+
readonly remainingBandwidth: number;
|
|
100
|
+
/**
|
|
101
|
+
* Duration of each auto-renewal, in months.
|
|
102
|
+
*/
|
|
103
|
+
readonly renewPeriod: number;
|
|
104
|
+
/**
|
|
105
|
+
* Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
|
|
106
|
+
*/
|
|
107
|
+
readonly renewType: string;
|
|
108
|
+
/**
|
|
109
|
+
* Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
|
|
110
|
+
*/
|
|
111
|
+
readonly status: string;
|
|
112
|
+
/**
|
|
113
|
+
* Tag information of the transit router bandwidth package.
|
|
114
|
+
*/
|
|
115
|
+
readonly tags: outputs.transitrouter.GetTransitRouterBandwidthPackageTag[];
|
|
116
|
+
/**
|
|
117
|
+
* Transit router bandwidth package ID.
|
|
118
|
+
*/
|
|
119
|
+
readonly transitRouterBandwidthPackageId: string;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the transit router bandwidth package.
|
|
122
|
+
*/
|
|
123
|
+
readonly transitRouterBandwidthPackageName: string;
|
|
124
|
+
/**
|
|
125
|
+
* Last operation time of the transit router bandwidth package.
|
|
126
|
+
*/
|
|
127
|
+
readonly updateTime: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Data Source schema for Volcengine::TransitRouter::TransitRouterBandwidthPackage
|
|
131
|
+
*/
|
|
132
|
+
export declare function getTransitRouterBandwidthPackageOutput(args: GetTransitRouterBandwidthPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTransitRouterBandwidthPackageResult>;
|
|
133
|
+
/**
|
|
134
|
+
* A collection of arguments for invoking getTransitRouterBandwidthPackage.
|
|
135
|
+
*/
|
|
136
|
+
export interface GetTransitRouterBandwidthPackageOutputArgs {
|
|
137
|
+
/**
|
|
138
|
+
* Uniquely identifies the resource.
|
|
139
|
+
*/
|
|
140
|
+
id: pulumi.Input<string>;
|
|
141
|
+
}
|
|
@@ -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.getTransitRouterBandwidthPackageOutput = exports.getTransitRouterBandwidthPackage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::TransitRouter::TransitRouterBandwidthPackage
|
|
10
|
+
*/
|
|
11
|
+
function getTransitRouterBandwidthPackage(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:transitrouter/getTransitRouterBandwidthPackage:getTransitRouterBandwidthPackage", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getTransitRouterBandwidthPackage = getTransitRouterBandwidthPackage;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::TransitRouter::TransitRouterBandwidthPackage
|
|
20
|
+
*/
|
|
21
|
+
function getTransitRouterBandwidthPackageOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:transitrouter/getTransitRouterBandwidthPackage:getTransitRouterBandwidthPackage", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getTransitRouterBandwidthPackageOutput = getTransitRouterBandwidthPackageOutput;
|
|
28
|
+
//# sourceMappingURL=getTransitRouterBandwidthPackage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransitRouterBandwidthPackage.js","sourceRoot":"","sources":["../../transitrouter/getTransitRouterBandwidthPackage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC;AA6HD;;GAEG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8FAA8F,EAAE;QAC/H,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wFAKC"}
|