@volcengine/pulumi-volcenginecc 0.0.2 → 0.0.4
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/alb/acl.d.ts +149 -0
- package/alb/acl.js +96 -0
- package/alb/acl.js.map +1 -0
- package/alb/getAcl.d.ts +81 -0
- package/alb/getAcl.js +28 -0
- package/alb/getAcl.js.map +1 -0
- package/alb/getAcls.d.ts +22 -0
- package/alb/getAcls.js +24 -0
- package/alb/getAcls.js.map +1 -0
- package/alb/getListener.d.ts +157 -0
- package/alb/getListener.js +28 -0
- package/alb/getListener.js.map +1 -0
- package/alb/getListeners.d.ts +22 -0
- package/alb/getListeners.js +24 -0
- package/alb/getListeners.js.map +1 -0
- package/alb/getLoadBalancer.d.ts +153 -0
- package/alb/getLoadBalancer.js +28 -0
- package/alb/getLoadBalancer.js.map +1 -0
- package/alb/getLoadBalancers.d.ts +22 -0
- package/alb/getLoadBalancers.js +24 -0
- package/alb/getLoadBalancers.js.map +1 -0
- package/alb/getServerGroup.d.ts +109 -0
- package/alb/getServerGroup.js +28 -0
- package/alb/getServerGroup.js.map +1 -0
- package/alb/getServerGroups.d.ts +22 -0
- package/alb/getServerGroups.js +24 -0
- package/alb/getServerGroups.js.map +1 -0
- package/alb/index.d.ts +36 -0
- package/alb/index.js +45 -1
- package/alb/index.js.map +1 -1
- package/alb/listener.d.ts +360 -0
- package/alb/listener.js +128 -0
- package/alb/listener.js.map +1 -0
- package/alb/loadBalancer.d.ts +341 -0
- package/alb/loadBalancer.js +120 -0
- package/alb/loadBalancer.js.map +1 -0
- package/alb/serverGroup.d.ts +219 -0
- package/alb/serverGroup.js +95 -0
- package/alb/serverGroup.js.map +1 -0
- 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/getUpstreamSource.d.ts +81 -0
- package/apig/getUpstreamSource.js +28 -0
- package/apig/getUpstreamSource.js.map +1 -0
- package/apig/getUpstreamSources.d.ts +22 -0
- package/apig/getUpstreamSources.js +24 -0
- package/apig/getUpstreamSources.js.map +1 -0
- package/apig/index.d.ts +18 -0
- package/apig/index.js +39 -0
- package/apig/index.js.map +1 -0
- package/apig/upstreamSource.d.ts +159 -0
- package/apig/upstreamSource.js +87 -0
- package/apig/upstreamSource.js.map +1 -0
- package/autoscaling/getScalingConfiguration.d.ts +140 -0
- package/autoscaling/getScalingConfiguration.js +28 -0
- package/autoscaling/getScalingConfiguration.js.map +1 -0
- package/autoscaling/getScalingConfigurations.d.ts +22 -0
- package/autoscaling/getScalingConfigurations.js +24 -0
- package/autoscaling/getScalingConfigurations.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +28 -0
- package/autoscaling/index.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +318 -0
- package/autoscaling/scalingConfiguration.js +108 -0
- package/autoscaling/scalingConfiguration.js.map +1 -0
- package/clb/acl.d.ts +166 -0
- package/clb/acl.js +107 -0
- package/clb/acl.js.map +1 -0
- package/clb/certificate.d.ts +187 -0
- package/clb/certificate.js +109 -0
- package/clb/certificate.js.map +1 -0
- package/clb/getAcl.d.ts +85 -0
- package/clb/getAcl.js +28 -0
- package/clb/getAcl.js.map +1 -0
- package/clb/getAcls.d.ts +22 -0
- package/clb/getAcls.js +24 -0
- package/clb/getAcls.js.map +1 -0
- package/clb/getCertificate.d.ts +89 -0
- package/clb/getCertificate.js +28 -0
- package/clb/getCertificate.js.map +1 -0
- package/clb/getCertificates.d.ts +22 -0
- package/clb/getCertificates.js +24 -0
- package/clb/getCertificates.js.map +1 -0
- package/clb/getListener.d.ts +213 -0
- package/clb/getListener.js +28 -0
- package/clb/getListener.js.map +1 -0
- package/clb/getListeners.d.ts +22 -0
- package/clb/getListeners.js +24 -0
- package/clb/getListeners.js.map +1 -0
- package/clb/getRule.d.ts +73 -0
- package/clb/getRule.js +28 -0
- package/clb/getRule.js.map +1 -0
- package/clb/getRules.d.ts +22 -0
- package/clb/getRules.js +24 -0
- package/clb/getRules.js.map +1 -0
- package/clb/index.d.ts +36 -0
- package/clb/index.js +45 -1
- package/clb/index.js.map +1 -1
- package/clb/listener.d.ts +546 -0
- package/clb/listener.js +156 -0
- package/clb/listener.js.map +1 -0
- package/clb/rule.d.ts +162 -0
- package/clb/rule.js +97 -0
- package/clb/rule.js.map +1 -0
- package/cr/getNameSpace.d.ts +52 -0
- package/cr/getNameSpace.js +28 -0
- package/cr/getNameSpace.js.map +1 -0
- package/cr/getNameSpaces.d.ts +22 -0
- package/cr/getNameSpaces.js +24 -0
- package/cr/getNameSpaces.js.map +1 -0
- package/cr/getRegistries.d.ts +22 -0
- package/cr/getRegistries.js +24 -0
- package/cr/getRegistries.js.map +1 -0
- package/cr/getRegistry.d.ts +81 -0
- package/cr/getRegistry.js +28 -0
- package/cr/getRegistry.js.map +1 -0
- package/cr/index.d.ts +18 -0
- package/cr/index.js +23 -1
- package/cr/index.js.map +1 -1
- package/cr/nameSpace.d.ts +102 -0
- package/cr/nameSpace.js +83 -0
- package/cr/nameSpace.js.map +1 -0
- package/cr/registry.d.ts +159 -0
- package/cr/registry.js +98 -0
- package/cr/registry.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +191 -0
- package/directconnect/directConnectGateway.js +104 -0
- package/directconnect/directConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateway.d.ts +97 -0
- package/directconnect/getDirectConnectGateway.js +28 -0
- package/directconnect/getDirectConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateways.d.ts +22 -0
- package/directconnect/getDirectConnectGateways.js +24 -0
- package/directconnect/getDirectConnectGateways.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +28 -0
- package/directconnect/index.js.map +1 -0
- package/ecs/getInstance.d.ts +66 -0
- package/ecs/getInstance.js +28 -0
- package/ecs/getInstance.js.map +1 -0
- package/ecs/getInstances.d.ts +22 -0
- package/ecs/getInstances.js +24 -0
- package/ecs/getInstances.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.js +12 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +582 -0
- package/ecs/instance.js +150 -0
- package/ecs/instance.js.map +1 -0
- package/index.d.ts +10 -1
- package/index.js +19 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/rdsmysql/database.d.ts +100 -0
- package/rdsmysql/database.js +74 -0
- package/rdsmysql/database.js.map +1 -0
- package/rdsmysql/getDatabase.d.ts +58 -0
- package/rdsmysql/getDatabase.js +28 -0
- package/rdsmysql/getDatabase.js.map +1 -0
- package/rdsmysql/getDatabases.d.ts +22 -0
- package/rdsmysql/getDatabases.js +24 -0
- package/rdsmysql/getDatabases.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +28 -0
- package/rdsmysql/index.js.map +1 -0
- package/redis/getInstance.d.ts +205 -0
- package/redis/getInstance.js +28 -0
- package/redis/getInstance.js.map +1 -0
- package/redis/getInstances.d.ts +22 -0
- package/redis/getInstances.js +24 -0
- package/redis/getInstances.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +28 -0
- package/redis/index.js.map +1 -0
- package/redis/instance.d.ts +485 -0
- package/redis/instance.js +200 -0
- package/redis/instance.js.map +1 -0
- package/storageebs/getVolume.d.ts +4 -0
- package/storageebs/getVolume.js.map +1 -1
- package/storageebs/volume.d.ts +3 -0
- package/storageebs/volume.js +2 -0
- package/storageebs/volume.js.map +1 -1
- package/tls/getTopic.d.ts +113 -0
- package/tls/getTopic.js +28 -0
- package/tls/getTopic.js.map +1 -0
- package/tls/getTopics.d.ts +22 -0
- package/tls/getTopics.js +24 -0
- package/tls/getTopics.js.map +1 -0
- package/tls/index.d.ts +9 -0
- package/tls/index.js +28 -0
- package/tls/index.js.map +1 -0
- package/tls/topic.d.ts +280 -0
- package/tls/topic.js +129 -0
- package/tls/topic.js.map +1 -0
- package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteEntries.js +24 -0
- package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
- package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
- package/transitrouter/getTransitRouterRouteEntry.js +28 -0
- package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
- package/transitrouter/getTransitRouterRouteTable.js +28 -0
- package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTables.js +24 -0
- package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.js +23 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +186 -0
- package/transitrouter/transitRouterRouteEntry.js +106 -0
- package/transitrouter/transitRouterRouteEntry.js.map +1 -0
- package/transitrouter/transitRouterRouteTable.d.ts +159 -0
- package/transitrouter/transitRouterRouteTable.js +98 -0
- package/transitrouter/transitRouterRouteTable.js.map +1 -0
- package/types/input.d.ts +1375 -43
- package/types/output.d.ts +3534 -723
- 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 +159 -0
- package/vke/addon.js +90 -0
- package/vke/addon.js.map +1 -0
- package/vke/getAddon.d.ts +73 -0
- package/vke/getAddon.js +28 -0
- package/vke/getAddon.js.map +1 -0
- package/vke/getAddons.d.ts +22 -0
- package/vke/getAddons.js +24 -0
- package/vke/getAddons.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +28 -0
- package/vke/index.js.map +1 -0
- package/vpc/getNetworkAcl.d.ts +93 -0
- package/vpc/getNetworkAcl.js +28 -0
- package/vpc/getNetworkAcl.js.map +1 -0
- package/vpc/getNetworkAcls.d.ts +22 -0
- package/vpc/getNetworkAcls.js +24 -0
- package/vpc/getNetworkAcls.js.map +1 -0
- package/vpc/getPrefixList.d.ts +93 -0
- package/vpc/getPrefixList.js +28 -0
- package/vpc/getPrefixList.js.map +1 -0
- package/vpc/getPrefixLists.d.ts +22 -0
- package/vpc/getPrefixLists.js +24 -0
- package/vpc/getPrefixLists.js.map +1 -0
- package/vpc/index.d.ts +18 -0
- package/vpc/index.js +23 -1
- package/vpc/index.js.map +1 -1
- package/vpc/networkAcl.d.ts +143 -0
- package/vpc/networkAcl.js +87 -0
- package/vpc/networkAcl.js.map +1 -0
- package/vpc/prefixList.d.ts +180 -0
- package/vpc/prefixList.js +110 -0
- package/vpc/prefixList.js.map +1 -0
- package/waf/getDomain.d.ts +344 -0
- package/waf/getDomain.js +28 -0
- package/waf/getDomain.js.map +1 -0
- package/waf/getDomains.d.ts +22 -0
- package/waf/getDomains.js +24 -0
- package/waf/getDomains.js.map +1 -0
- package/waf/index.d.ts +6 -0
- package/waf/index.js +13 -0
- package/waf/index.js.map +1 -0
|
@@ -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::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"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
5
|
+
*/
|
|
6
|
+
export declare function getUpstreamSource(args: GetUpstreamSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetUpstreamSourceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getUpstreamSource.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetUpstreamSourceArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getUpstreamSource.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetUpstreamSourceResult {
|
|
20
|
+
/**
|
|
21
|
+
* 备注,长度限制为0~253个字符。
|
|
22
|
+
*/
|
|
23
|
+
readonly comments: string;
|
|
24
|
+
/**
|
|
25
|
+
* 创建时间。
|
|
26
|
+
*/
|
|
27
|
+
readonly createdTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* 网关实例ID。
|
|
30
|
+
*/
|
|
31
|
+
readonly gatewayId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Uniquely identifies the resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
|
|
38
|
+
*/
|
|
39
|
+
readonly ingressSettings: outputs.apig.GetUpstreamSourceIngressSettings;
|
|
40
|
+
/**
|
|
41
|
+
* Upstream来源配置。
|
|
42
|
+
*/
|
|
43
|
+
readonly sourceSpec: outputs.apig.GetUpstreamSourceSourceSpec;
|
|
44
|
+
/**
|
|
45
|
+
* Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
|
|
46
|
+
*/
|
|
47
|
+
readonly sourceType: string;
|
|
48
|
+
/**
|
|
49
|
+
* 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
|
|
50
|
+
*/
|
|
51
|
+
readonly status: string;
|
|
52
|
+
/**
|
|
53
|
+
* 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
|
|
54
|
+
*/
|
|
55
|
+
readonly statusMessage: string;
|
|
56
|
+
/**
|
|
57
|
+
* 更新时间。
|
|
58
|
+
*/
|
|
59
|
+
readonly updatedTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* Upstream来源ID。
|
|
62
|
+
*/
|
|
63
|
+
readonly upstreamSourceId: string;
|
|
64
|
+
/**
|
|
65
|
+
* 指定命名空间。
|
|
66
|
+
*/
|
|
67
|
+
readonly watchNamespaces: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
71
|
+
*/
|
|
72
|
+
export declare function getUpstreamSourceOutput(args: GetUpstreamSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUpstreamSourceResult>;
|
|
73
|
+
/**
|
|
74
|
+
* A collection of arguments for invoking getUpstreamSource.
|
|
75
|
+
*/
|
|
76
|
+
export interface GetUpstreamSourceOutputArgs {
|
|
77
|
+
/**
|
|
78
|
+
* Uniquely identifies the resource.
|
|
79
|
+
*/
|
|
80
|
+
id: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -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.getUpstreamSourceOutput = exports.getUpstreamSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
10
|
+
*/
|
|
11
|
+
function getUpstreamSource(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getUpstreamSource:getUpstreamSource", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getUpstreamSource = getUpstreamSource;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::APIG::UpstreamSource
|
|
20
|
+
*/
|
|
21
|
+
function getUpstreamSourceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getUpstreamSource:getUpstreamSource", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getUpstreamSourceOutput = getUpstreamSourceOutput;
|
|
28
|
+
//# sourceMappingURL=getUpstreamSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpstreamSource.js","sourceRoot":"","sources":["../../apig/getUpstreamSource.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;AAiED;;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::UpstreamSource
|
|
4
|
+
*/
|
|
5
|
+
export declare function getUpstreamSources(opts?: pulumi.InvokeOptions): Promise<GetUpstreamSourcesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getUpstreamSources.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetUpstreamSourcesResult {
|
|
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::UpstreamSource
|
|
21
|
+
*/
|
|
22
|
+
export declare function getUpstreamSourcesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUpstreamSourcesResult>;
|
|
@@ -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.getUpstreamSourcesOutput = exports.getUpstreamSources = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
10
|
+
*/
|
|
11
|
+
function getUpstreamSources(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:apig/getUpstreamSources:getUpstreamSources", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getUpstreamSources = getUpstreamSources;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::APIG::UpstreamSource
|
|
18
|
+
*/
|
|
19
|
+
function getUpstreamSourcesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:apig/getUpstreamSources:getUpstreamSources", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getUpstreamSourcesOutput = getUpstreamSourcesOutput;
|
|
24
|
+
//# sourceMappingURL=getUpstreamSources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpstreamSources.js","sourceRoot":"","sources":["../../apig/getUpstreamSources.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
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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;
|
|
10
|
+
export { GetUpstreamSourceArgs, GetUpstreamSourceResult, GetUpstreamSourceOutputArgs } from "./getUpstreamSource";
|
|
11
|
+
export declare const getUpstreamSource: typeof import("./getUpstreamSource").getUpstreamSource;
|
|
12
|
+
export declare const getUpstreamSourceOutput: typeof import("./getUpstreamSource").getUpstreamSourceOutput;
|
|
13
|
+
export { GetUpstreamSourcesResult } from "./getUpstreamSources";
|
|
14
|
+
export declare const getUpstreamSources: typeof import("./getUpstreamSources").getUpstreamSources;
|
|
15
|
+
export declare const getUpstreamSourcesOutput: typeof import("./getUpstreamSources").getUpstreamSourcesOutput;
|
|
16
|
+
export { UpstreamSourceArgs, UpstreamSourceState } from "./upstreamSource";
|
|
17
|
+
export type UpstreamSource = import("./upstreamSource").UpstreamSource;
|
|
18
|
+
export declare const UpstreamSource: typeof import("./upstreamSource").UpstreamSource;
|
package/apig/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
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.UpstreamSource = exports.getUpstreamSourcesOutput = exports.getUpstreamSources = exports.getUpstreamSourceOutput = exports.getUpstreamSource = exports.getGatewayServicesOutput = exports.getGatewayServices = exports.getGatewayServiceOutput = exports.getGatewayService = exports.GatewayService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
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"));
|
|
16
|
+
exports.getUpstreamSource = null;
|
|
17
|
+
exports.getUpstreamSourceOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getUpstreamSource", "getUpstreamSourceOutput"], () => require("./getUpstreamSource"));
|
|
19
|
+
exports.getUpstreamSources = null;
|
|
20
|
+
exports.getUpstreamSourcesOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["getUpstreamSources", "getUpstreamSourcesOutput"], () => require("./getUpstreamSources"));
|
|
22
|
+
exports.UpstreamSource = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["UpstreamSource"], () => require("./upstreamSource"));
|
|
24
|
+
const _module = {
|
|
25
|
+
version: utilities.getVersion(),
|
|
26
|
+
construct: (name, type, urn) => {
|
|
27
|
+
switch (type) {
|
|
28
|
+
case "volcenginecc:apig/gatewayService:GatewayService":
|
|
29
|
+
return new exports.GatewayService(name, undefined, { urn });
|
|
30
|
+
case "volcenginecc:apig/upstreamSource:UpstreamSource":
|
|
31
|
+
return new exports.UpstreamSource(name, undefined, { urn });
|
|
32
|
+
default:
|
|
33
|
+
throw new Error(`unknown resource type ${type}`);
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "apig/gatewayService", _module);
|
|
38
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "apig/upstreamSource", _module);
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* API 网关支持基于容器服务(VKE)集和容器服务的注册集群功能,将集群导入到 API 网关实例,将其作为网关的 Upstream 来源,以便网关获取集群中的 Service 列表。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:apig/upstreamSource:UpstreamSource example "upstream_source_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class UpstreamSource extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing UpstreamSource resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UpstreamSourceState, opts?: pulumi.CustomResourceOptions): UpstreamSource;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of UpstreamSource. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is UpstreamSource;
|
|
29
|
+
/**
|
|
30
|
+
* 备注,长度限制为0~253个字符。
|
|
31
|
+
*/
|
|
32
|
+
readonly comments: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 创建时间。
|
|
35
|
+
*/
|
|
36
|
+
readonly createdTime: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 网关实例ID。
|
|
39
|
+
*/
|
|
40
|
+
readonly gatewayId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
|
|
43
|
+
*/
|
|
44
|
+
readonly ingressSettings: pulumi.Output<outputs.apig.UpstreamSourceIngressSettings>;
|
|
45
|
+
/**
|
|
46
|
+
* Upstream来源配置。
|
|
47
|
+
*/
|
|
48
|
+
readonly sourceSpec: pulumi.Output<outputs.apig.UpstreamSourceSourceSpec>;
|
|
49
|
+
/**
|
|
50
|
+
* Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
|
|
51
|
+
*/
|
|
52
|
+
readonly sourceType: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
|
|
55
|
+
*/
|
|
56
|
+
readonly status: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
|
|
59
|
+
*/
|
|
60
|
+
readonly statusMessage: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 更新时间。
|
|
63
|
+
*/
|
|
64
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Upstream来源ID。
|
|
67
|
+
*/
|
|
68
|
+
readonly upstreamSourceId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* 指定命名空间。
|
|
71
|
+
*/
|
|
72
|
+
readonly watchNamespaces: pulumi.Output<string[]>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a UpstreamSource resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: UpstreamSourceArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering UpstreamSource resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface UpstreamSourceState {
|
|
86
|
+
/**
|
|
87
|
+
* 备注,长度限制为0~253个字符。
|
|
88
|
+
*/
|
|
89
|
+
comments?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 创建时间。
|
|
92
|
+
*/
|
|
93
|
+
createdTime?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* 网关实例ID。
|
|
96
|
+
*/
|
|
97
|
+
gatewayId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
|
|
100
|
+
*/
|
|
101
|
+
ingressSettings?: pulumi.Input<inputs.apig.UpstreamSourceIngressSettings>;
|
|
102
|
+
/**
|
|
103
|
+
* Upstream来源配置。
|
|
104
|
+
*/
|
|
105
|
+
sourceSpec?: pulumi.Input<inputs.apig.UpstreamSourceSourceSpec>;
|
|
106
|
+
/**
|
|
107
|
+
* Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
|
|
108
|
+
*/
|
|
109
|
+
sourceType?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
|
|
112
|
+
*/
|
|
113
|
+
status?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
|
|
116
|
+
*/
|
|
117
|
+
statusMessage?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* 更新时间。
|
|
120
|
+
*/
|
|
121
|
+
updatedTime?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Upstream来源ID。
|
|
124
|
+
*/
|
|
125
|
+
upstreamSourceId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* 指定命名空间。
|
|
128
|
+
*/
|
|
129
|
+
watchNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a UpstreamSource resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface UpstreamSourceArgs {
|
|
135
|
+
/**
|
|
136
|
+
* 备注,长度限制为0~253个字符。
|
|
137
|
+
*/
|
|
138
|
+
comments?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 网关实例ID。
|
|
141
|
+
*/
|
|
142
|
+
gatewayId: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
|
|
145
|
+
*/
|
|
146
|
+
ingressSettings?: pulumi.Input<inputs.apig.UpstreamSourceIngressSettings>;
|
|
147
|
+
/**
|
|
148
|
+
* Upstream来源配置。
|
|
149
|
+
*/
|
|
150
|
+
sourceSpec: pulumi.Input<inputs.apig.UpstreamSourceSourceSpec>;
|
|
151
|
+
/**
|
|
152
|
+
* Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
|
|
153
|
+
*/
|
|
154
|
+
sourceType: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 指定命名空间。
|
|
157
|
+
*/
|
|
158
|
+
watchNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.UpstreamSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* API 网关支持基于容器服务(VKE)集和容器服务的注册集群功能,将集群导入到 API 网关实例,将其作为网关的 Upstream 来源,以便网关获取集群中的 Service 列表。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:apig/upstreamSource:UpstreamSource example "upstream_source_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class UpstreamSource extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing UpstreamSource resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new UpstreamSource(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of UpstreamSource. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === UpstreamSource.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["comments"] = state ? state.comments : undefined;
|
|
46
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
47
|
+
resourceInputs["gatewayId"] = state ? state.gatewayId : undefined;
|
|
48
|
+
resourceInputs["ingressSettings"] = state ? state.ingressSettings : undefined;
|
|
49
|
+
resourceInputs["sourceSpec"] = state ? state.sourceSpec : undefined;
|
|
50
|
+
resourceInputs["sourceType"] = state ? state.sourceType : undefined;
|
|
51
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
52
|
+
resourceInputs["statusMessage"] = state ? state.statusMessage : undefined;
|
|
53
|
+
resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
|
|
54
|
+
resourceInputs["upstreamSourceId"] = state ? state.upstreamSourceId : undefined;
|
|
55
|
+
resourceInputs["watchNamespaces"] = state ? state.watchNamespaces : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.gatewayId === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'gatewayId'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.sourceSpec === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'sourceSpec'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.sourceType === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'sourceType'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["comments"] = args ? args.comments : undefined;
|
|
69
|
+
resourceInputs["gatewayId"] = args ? args.gatewayId : undefined;
|
|
70
|
+
resourceInputs["ingressSettings"] = args ? args.ingressSettings : undefined;
|
|
71
|
+
resourceInputs["sourceSpec"] = args ? args.sourceSpec : undefined;
|
|
72
|
+
resourceInputs["sourceType"] = args ? args.sourceType : undefined;
|
|
73
|
+
resourceInputs["watchNamespaces"] = args ? args.watchNamespaces : undefined;
|
|
74
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["statusMessage"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["upstreamSourceId"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(UpstreamSource.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.UpstreamSource = UpstreamSource;
|
|
85
|
+
/** @internal */
|
|
86
|
+
UpstreamSource.__pulumiType = 'volcenginecc:apig/upstreamSource:UpstreamSource';
|
|
87
|
+
//# sourceMappingURL=upstreamSource.js.map
|