@volcengine/pulumi-volcenginecc 0.0.3 → 0.0.5
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/apig/gatewayService.d.ts +179 -0
- package/apig/gatewayService.js +114 -0
- package/apig/gatewayService.js.map +1 -0
- package/apig/getGatewayService.d.ts +89 -0
- package/apig/getGatewayService.js +28 -0
- package/apig/getGatewayService.js.map +1 -0
- package/apig/getGatewayServices.d.ts +22 -0
- package/apig/getGatewayServices.js +24 -0
- package/apig/getGatewayServices.js.map +1 -0
- package/apig/index.d.ts +9 -0
- package/apig/index.js +12 -1
- package/apig/index.js.map +1 -1
- package/cr/registry.d.ts +17 -0
- package/cr/registry.js +17 -0
- package/cr/registry.js.map +1 -1
- package/directconnect/directConnectGateway.d.ts +18 -0
- package/directconnect/directConnectGateway.js +18 -0
- package/directconnect/directConnectGateway.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/tls/topic.d.ts +28 -0
- package/tls/topic.js +28 -0
- package/tls/topic.js.map +1 -1
- package/transitrouter/transitRouterRouteTable.d.ts +17 -0
- package/transitrouter/transitRouterRouteTable.js +17 -0
- package/transitrouter/transitRouterRouteTable.js.map +1 -1
- package/types/input.d.ts +103 -0
- package/types/output.d.ts +207 -0
- package/vefaas/getKafkaTrigger.d.ts +101 -0
- package/vefaas/getKafkaTrigger.js +28 -0
- package/vefaas/getKafkaTrigger.js.map +1 -0
- package/vefaas/getKafkaTriggers.d.ts +22 -0
- package/vefaas/getKafkaTriggers.js +24 -0
- package/vefaas/getKafkaTriggers.js.map +1 -0
- package/vefaas/getSandbox.d.ts +117 -0
- package/vefaas/getSandbox.js +28 -0
- package/vefaas/getSandbox.js.map +1 -0
- package/vefaas/getSandboxes.d.ts +22 -0
- package/vefaas/getSandboxes.js +24 -0
- package/vefaas/getSandboxes.js.map +1 -0
- package/vefaas/index.d.ts +18 -0
- package/vefaas/index.js +39 -0
- package/vefaas/index.js.map +1 -0
- package/vefaas/kafkaTrigger.d.ts +244 -0
- package/vefaas/kafkaTrigger.js +128 -0
- package/vefaas/kafkaTrigger.js.map +1 -0
- package/vefaas/sandbox.d.ts +229 -0
- package/vefaas/sandbox.js +99 -0
- package/vefaas/sandbox.js.map +1 -0
- package/vke/addon.d.ts +16 -0
- package/vke/addon.js +16 -0
- package/vke/addon.js.map +1 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 服务是一组路由对外暴露的入口,用于区分流量的来源和协议,实现业务、环境、逻辑租户隔离。服务可以绑定独立的访问域名,以域名维度访问业务。
|
|
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 apigGatewayServiceDemo = new volcenginecc.apig.GatewayService("ApigGatewayServiceDemo", {
|
|
14
|
+
* serviceName: "ApigGatewayServiceDemo",
|
|
15
|
+
* gatewayId: "gd3vehjs7npja181xxxxx",
|
|
16
|
+
* protocols: [
|
|
17
|
+
* "HTTP",
|
|
18
|
+
* "HTTPS",
|
|
19
|
+
* ],
|
|
20
|
+
* authSpec: {
|
|
21
|
+
* enable: false,
|
|
22
|
+
* },
|
|
23
|
+
* comments: "ApigGatewayServiceDemo-test",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcenginecc:apig/gatewayService:GatewayService example "service_id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class GatewayService extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing GatewayService 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: string, id: pulumi.Input<pulumi.ID>, state?: GatewayServiceState, opts?: pulumi.CustomResourceOptions): GatewayService;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of GatewayService. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is GatewayService;
|
|
49
|
+
/**
|
|
50
|
+
* 认证配置。
|
|
51
|
+
*/
|
|
52
|
+
readonly authSpec: pulumi.Output<outputs.apig.GatewayServiceAuthSpec>;
|
|
53
|
+
/**
|
|
54
|
+
* 备注,长度限制为0~253个字符。
|
|
55
|
+
*/
|
|
56
|
+
readonly comments: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 创建时间。
|
|
59
|
+
*/
|
|
60
|
+
readonly createdTime: pulumi.Output<string>;
|
|
61
|
+
readonly customDomains: pulumi.Output<outputs.apig.GatewayServiceCustomDomain[]>;
|
|
62
|
+
/**
|
|
63
|
+
* 域名详情。
|
|
64
|
+
*/
|
|
65
|
+
readonly domainSpec: pulumi.Output<outputs.apig.GatewayServiceDomainSpec>;
|
|
66
|
+
readonly domains: pulumi.Output<outputs.apig.GatewayServiceDomain[]>;
|
|
67
|
+
/**
|
|
68
|
+
* 网关ID。
|
|
69
|
+
*/
|
|
70
|
+
readonly gatewayId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* 网关名称。
|
|
73
|
+
*/
|
|
74
|
+
readonly gatewayName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* 服务创建失败、删除失败或异常时的错误信息。
|
|
77
|
+
*/
|
|
78
|
+
readonly message: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* 服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
|
|
81
|
+
*/
|
|
82
|
+
readonly protocols: pulumi.Output<string[]>;
|
|
83
|
+
/**
|
|
84
|
+
* 服务ID。
|
|
85
|
+
*/
|
|
86
|
+
readonly serviceId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。。
|
|
89
|
+
*/
|
|
90
|
+
readonly serviceName: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
|
|
93
|
+
*/
|
|
94
|
+
readonly status: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a GatewayService 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: GatewayServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering GatewayService resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface GatewayServiceState {
|
|
108
|
+
/**
|
|
109
|
+
* 认证配置。
|
|
110
|
+
*/
|
|
111
|
+
authSpec?: pulumi.Input<inputs.apig.GatewayServiceAuthSpec>;
|
|
112
|
+
/**
|
|
113
|
+
* 备注,长度限制为0~253个字符。
|
|
114
|
+
*/
|
|
115
|
+
comments?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* 创建时间。
|
|
118
|
+
*/
|
|
119
|
+
createdTime?: pulumi.Input<string>;
|
|
120
|
+
customDomains?: pulumi.Input<pulumi.Input<inputs.apig.GatewayServiceCustomDomain>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* 域名详情。
|
|
123
|
+
*/
|
|
124
|
+
domainSpec?: pulumi.Input<inputs.apig.GatewayServiceDomainSpec>;
|
|
125
|
+
domains?: pulumi.Input<pulumi.Input<inputs.apig.GatewayServiceDomain>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* 网关ID。
|
|
128
|
+
*/
|
|
129
|
+
gatewayId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* 网关名称。
|
|
132
|
+
*/
|
|
133
|
+
gatewayName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* 服务创建失败、删除失败或异常时的错误信息。
|
|
136
|
+
*/
|
|
137
|
+
message?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* 服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
|
|
140
|
+
*/
|
|
141
|
+
protocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* 服务ID。
|
|
144
|
+
*/
|
|
145
|
+
serviceId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* 服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。。
|
|
148
|
+
*/
|
|
149
|
+
serviceName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
|
|
152
|
+
*/
|
|
153
|
+
status?: pulumi.Input<string>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The set of arguments for constructing a GatewayService resource.
|
|
157
|
+
*/
|
|
158
|
+
export interface GatewayServiceArgs {
|
|
159
|
+
/**
|
|
160
|
+
* 认证配置。
|
|
161
|
+
*/
|
|
162
|
+
authSpec: pulumi.Input<inputs.apig.GatewayServiceAuthSpec>;
|
|
163
|
+
/**
|
|
164
|
+
* 备注,长度限制为0~253个字符。
|
|
165
|
+
*/
|
|
166
|
+
comments?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 网关ID。
|
|
169
|
+
*/
|
|
170
|
+
gatewayId: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* 服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
|
|
173
|
+
*/
|
|
174
|
+
protocols: pulumi.Input<pulumi.Input<string>[]>;
|
|
175
|
+
/**
|
|
176
|
+
* 服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。。
|
|
177
|
+
*/
|
|
178
|
+
serviceName: pulumi.Input<string>;
|
|
179
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.GatewayService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 服务是一组路由对外暴露的入口,用于区分流量的来源和协议,实现业务、环境、逻辑租户隔离。服务可以绑定独立的访问域名,以域名维度访问业务。
|
|
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 apigGatewayServiceDemo = new volcenginecc.apig.GatewayService("ApigGatewayServiceDemo", {
|
|
18
|
+
* serviceName: "ApigGatewayServiceDemo",
|
|
19
|
+
* gatewayId: "gd3vehjs7npja181xxxxx",
|
|
20
|
+
* protocols: [
|
|
21
|
+
* "HTTP",
|
|
22
|
+
* "HTTPS",
|
|
23
|
+
* ],
|
|
24
|
+
* authSpec: {
|
|
25
|
+
* enable: false,
|
|
26
|
+
* },
|
|
27
|
+
* comments: "ApigGatewayServiceDemo-test",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import volcenginecc:apig/gatewayService:GatewayService example "service_id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class GatewayService extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing GatewayService resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new GatewayService(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of GatewayService. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === GatewayService.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["authSpec"] = state ? state.authSpec : undefined;
|
|
66
|
+
resourceInputs["comments"] = state ? state.comments : undefined;
|
|
67
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
68
|
+
resourceInputs["customDomains"] = state ? state.customDomains : undefined;
|
|
69
|
+
resourceInputs["domainSpec"] = state ? state.domainSpec : undefined;
|
|
70
|
+
resourceInputs["domains"] = state ? state.domains : undefined;
|
|
71
|
+
resourceInputs["gatewayId"] = state ? state.gatewayId : undefined;
|
|
72
|
+
resourceInputs["gatewayName"] = state ? state.gatewayName : undefined;
|
|
73
|
+
resourceInputs["message"] = state ? state.message : undefined;
|
|
74
|
+
resourceInputs["protocols"] = state ? state.protocols : undefined;
|
|
75
|
+
resourceInputs["serviceId"] = state ? state.serviceId : undefined;
|
|
76
|
+
resourceInputs["serviceName"] = state ? state.serviceName : undefined;
|
|
77
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
const args = argsOrState;
|
|
81
|
+
if ((!args || args.authSpec === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'authSpec'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.gatewayId === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'gatewayId'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.protocols === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'protocols'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.serviceName === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'serviceName'");
|
|
92
|
+
}
|
|
93
|
+
resourceInputs["authSpec"] = args ? args.authSpec : undefined;
|
|
94
|
+
resourceInputs["comments"] = args ? args.comments : undefined;
|
|
95
|
+
resourceInputs["gatewayId"] = args ? args.gatewayId : undefined;
|
|
96
|
+
resourceInputs["protocols"] = args ? args.protocols : undefined;
|
|
97
|
+
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
98
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["customDomains"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["domainSpec"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["domains"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["gatewayName"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["serviceId"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
106
|
+
}
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
|
+
super(GatewayService.__pulumiType, name, resourceInputs, opts);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.GatewayService = GatewayService;
|
|
112
|
+
/** @internal */
|
|
113
|
+
GatewayService.__pulumiType = 'volcenginecc:apig/gatewayService:GatewayService';
|
|
114
|
+
//# sourceMappingURL=gatewayService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gatewayService.js","sourceRoot":"","sources":["../../apig/gatewayService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CA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
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::APIG::GatewayService
|
|
5
|
+
*/
|
|
6
|
+
export declare function getGatewayService(args: GetGatewayServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayServiceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getGatewayService.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetGatewayServiceArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getGatewayService.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGatewayServiceResult {
|
|
20
|
+
/**
|
|
21
|
+
* 认证配置。
|
|
22
|
+
*/
|
|
23
|
+
readonly authSpec: outputs.apig.GetGatewayServiceAuthSpec;
|
|
24
|
+
/**
|
|
25
|
+
* 备注,长度限制为0~253个字符。
|
|
26
|
+
*/
|
|
27
|
+
readonly comments: string;
|
|
28
|
+
/**
|
|
29
|
+
* 创建时间。
|
|
30
|
+
*/
|
|
31
|
+
readonly createdTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* 自定义域名列表。
|
|
34
|
+
*/
|
|
35
|
+
readonly customDomains: outputs.apig.GetGatewayServiceCustomDomain[];
|
|
36
|
+
/**
|
|
37
|
+
* 域名详情。
|
|
38
|
+
*/
|
|
39
|
+
readonly domainSpec: outputs.apig.GetGatewayServiceDomainSpec;
|
|
40
|
+
/**
|
|
41
|
+
* 默认域名。
|
|
42
|
+
*/
|
|
43
|
+
readonly domains: outputs.apig.GetGatewayServiceDomain[];
|
|
44
|
+
/**
|
|
45
|
+
* 网关ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly gatewayId: string;
|
|
48
|
+
/**
|
|
49
|
+
* 网关名称。
|
|
50
|
+
*/
|
|
51
|
+
readonly gatewayName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies the resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* 服务创建失败、删除失败或异常时的错误信息。
|
|
58
|
+
*/
|
|
59
|
+
readonly message: string;
|
|
60
|
+
/**
|
|
61
|
+
* 服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
|
|
62
|
+
*/
|
|
63
|
+
readonly protocols: string[];
|
|
64
|
+
/**
|
|
65
|
+
* 服务ID。
|
|
66
|
+
*/
|
|
67
|
+
readonly serviceId: string;
|
|
68
|
+
/**
|
|
69
|
+
* 服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。。
|
|
70
|
+
*/
|
|
71
|
+
readonly serviceName: string;
|
|
72
|
+
/**
|
|
73
|
+
* Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
|
|
74
|
+
*/
|
|
75
|
+
readonly status: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Data Source schema for Volcengine::APIG::GatewayService
|
|
79
|
+
*/
|
|
80
|
+
export declare function getGatewayServiceOutput(args: GetGatewayServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGatewayServiceResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getGatewayService.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetGatewayServiceOutputArgs {
|
|
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.getGatewayServiceOutput = exports.getGatewayService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::APIG::GatewayService
|
|
10
|
+
*/
|
|
11
|
+
function getGatewayService(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getGatewayService:getGatewayService", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGatewayService = getGatewayService;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::APIG::GatewayService
|
|
20
|
+
*/
|
|
21
|
+
function getGatewayServiceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getGatewayService:getGatewayService", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGatewayServiceOutput = getGatewayServiceOutput;
|
|
28
|
+
//# sourceMappingURL=getGatewayService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGatewayService.js","sourceRoot":"","sources":["../../apig/getGatewayService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AAyED;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::APIG::GatewayService
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGatewayServices(opts?: pulumi.InvokeOptions): Promise<GetGatewayServicesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getGatewayServices.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGatewayServicesResult {
|
|
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::APIG::GatewayService
|
|
21
|
+
*/
|
|
22
|
+
export declare function getGatewayServicesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGatewayServicesResult>;
|
|
@@ -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.getGatewayServicesOutput = exports.getGatewayServices = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::APIG::GatewayService
|
|
10
|
+
*/
|
|
11
|
+
function getGatewayServices(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getGatewayServices:getGatewayServices", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getGatewayServices = getGatewayServices;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::APIG::GatewayService
|
|
18
|
+
*/
|
|
19
|
+
function getGatewayServicesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getGatewayServices:getGatewayServices", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getGatewayServicesOutput = getGatewayServicesOutput;
|
|
24
|
+
//# sourceMappingURL=getGatewayServices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGatewayServices.js","sourceRoot":"","sources":["../../apig/getGatewayServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,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,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;AAeD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAiC;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE,EAC7F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC"}
|
package/apig/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export { GatewayServiceArgs, GatewayServiceState } from "./gatewayService";
|
|
2
|
+
export type GatewayService = import("./gatewayService").GatewayService;
|
|
3
|
+
export declare const GatewayService: typeof import("./gatewayService").GatewayService;
|
|
4
|
+
export { GetGatewayServiceArgs, GetGatewayServiceResult, GetGatewayServiceOutputArgs } from "./getGatewayService";
|
|
5
|
+
export declare const getGatewayService: typeof import("./getGatewayService").getGatewayService;
|
|
6
|
+
export declare const getGatewayServiceOutput: typeof import("./getGatewayService").getGatewayServiceOutput;
|
|
7
|
+
export { GetGatewayServicesResult } from "./getGatewayServices";
|
|
8
|
+
export declare const getGatewayServices: typeof import("./getGatewayServices").getGatewayServices;
|
|
9
|
+
export declare const getGatewayServicesOutput: typeof import("./getGatewayServices").getGatewayServicesOutput;
|
|
1
10
|
export { GetUpstreamSourceArgs, GetUpstreamSourceResult, GetUpstreamSourceOutputArgs } from "./getUpstreamSource";
|
|
2
11
|
export declare const getUpstreamSource: typeof import("./getUpstreamSource").getUpstreamSource;
|
|
3
12
|
export declare const getUpstreamSourceOutput: typeof import("./getUpstreamSource").getUpstreamSourceOutput;
|
package/apig/index.js
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
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.UpstreamSource = exports.getUpstreamSourcesOutput = exports.getUpstreamSources = exports.getUpstreamSourceOutput = exports.getUpstreamSource = void 0;
|
|
5
|
+
exports.UpstreamSource = exports.getUpstreamSourcesOutput = exports.getUpstreamSources = exports.getUpstreamSourceOutput = exports.getUpstreamSource = exports.getGatewayServicesOutput = exports.getGatewayServices = exports.getGatewayServiceOutput = exports.getGatewayService = exports.GatewayService = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.GatewayService = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["GatewayService"], () => require("./gatewayService"));
|
|
10
|
+
exports.getGatewayService = null;
|
|
11
|
+
exports.getGatewayServiceOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getGatewayService", "getGatewayServiceOutput"], () => require("./getGatewayService"));
|
|
13
|
+
exports.getGatewayServices = null;
|
|
14
|
+
exports.getGatewayServicesOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getGatewayServices", "getGatewayServicesOutput"], () => require("./getGatewayServices"));
|
|
8
16
|
exports.getUpstreamSource = null;
|
|
9
17
|
exports.getUpstreamSourceOutput = null;
|
|
10
18
|
utilities.lazyLoad(exports, ["getUpstreamSource", "getUpstreamSourceOutput"], () => require("./getUpstreamSource"));
|
|
@@ -17,6 +25,8 @@ const _module = {
|
|
|
17
25
|
version: utilities.getVersion(),
|
|
18
26
|
construct: (name, type, urn) => {
|
|
19
27
|
switch (type) {
|
|
28
|
+
case "volcenginecc:apig/gatewayService:GatewayService":
|
|
29
|
+
return new exports.GatewayService(name, undefined, { urn });
|
|
20
30
|
case "volcenginecc:apig/upstreamSource:UpstreamSource":
|
|
21
31
|
return new exports.UpstreamSource(name, undefined, { urn });
|
|
22
32
|
default:
|
|
@@ -24,5 +34,6 @@ const _module = {
|
|
|
24
34
|
}
|
|
25
35
|
},
|
|
26
36
|
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "apig/gatewayService", _module);
|
|
27
38
|
pulumi.runtime.registerResourceModule("volcenginecc", "apig/upstreamSource", _module);
|
|
28
39
|
//# sourceMappingURL=index.js.map
|
package/apig/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apig/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apig/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGtE,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAGzG,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAIzG,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGnF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,iDAAiD;gBAClD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,iDAAiD;gBAClD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
package/cr/registry.d.ts
CHANGED
|
@@ -4,6 +4,23 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* 镜像仓库(Container Registry,CR)提供安全高可用的容器镜像、Helm Chart 等符合 OCI 标准的云原生制品托管服务,方便企业用户管理容器镜像和 Helm Chart 的全生命周期。
|
|
6
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 cRRegistryDemo = new volcenginecc.cr.Registry("CRRegistryDemo", {
|
|
14
|
+
* project: "default",
|
|
15
|
+
* name: "test",
|
|
16
|
+
* type: "Enterprise",
|
|
17
|
+
* tags: [{
|
|
18
|
+
* key: "env",
|
|
19
|
+
* value: "test",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
7
24
|
* ## Import
|
|
8
25
|
*
|
|
9
26
|
* ```sh
|
package/cr/registry.js
CHANGED
|
@@ -8,6 +8,23 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* 镜像仓库(Container Registry,CR)提供安全高可用的容器镜像、Helm Chart 等符合 OCI 标准的云原生制品托管服务,方便企业用户管理容器镜像和 Helm Chart 的全生命周期。
|
|
10
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 cRRegistryDemo = new volcenginecc.cr.Registry("CRRegistryDemo", {
|
|
18
|
+
* project: "default",
|
|
19
|
+
* name: "test",
|
|
20
|
+
* type: "Enterprise",
|
|
21
|
+
* tags: [{
|
|
22
|
+
* key: "env",
|
|
23
|
+
* value: "test",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
11
28
|
* ## Import
|
|
12
29
|
*
|
|
13
30
|
* ```sh
|
package/cr/registry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../cr/registry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAA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AC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjHL,4BAkHC;AApGG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -4,6 +4,24 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* 专线网关是本地数据中心访问云上的入口,用于连接私有网络(VPC)与物理专线,实现云下数据中心(IDC)和云上私有网络(VPC)互访。
|
|
6
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 directConnectDirectConnectGatewayDemo = new volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
|
|
14
|
+
* description: "DirectConnectDirectConnectGatewayDemo-Description",
|
|
15
|
+
* directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
|
|
16
|
+
* enableIpv6: false,
|
|
17
|
+
* projectName: "default",
|
|
18
|
+
* tags: [{
|
|
19
|
+
* key: "env",
|
|
20
|
+
* value: "test",
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
7
25
|
* ## Import
|
|
8
26
|
*
|
|
9
27
|
* ```sh
|
|
@@ -8,6 +8,24 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* 专线网关是本地数据中心访问云上的入口,用于连接私有网络(VPC)与物理专线,实现云下数据中心(IDC)和云上私有网络(VPC)互访。
|
|
10
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 directConnectDirectConnectGatewayDemo = new volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
|
|
18
|
+
* description: "DirectConnectDirectConnectGatewayDemo-Description",
|
|
19
|
+
* directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
|
|
20
|
+
* enableIpv6: false,
|
|
21
|
+
* projectName: "default",
|
|
22
|
+
* tags: [{
|
|
23
|
+
* key: "env",
|
|
24
|
+
* value: "test",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
11
29
|
* ## Import
|
|
12
30
|
*
|
|
13
31
|
* ```sh
|