@byteplus/pulumi-bytepluscc 0.0.15 → 0.0.17
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/getLoadBalancer.d.ts +8 -0
- package/alb/getLoadBalancer.js.map +1 -1
- package/alb/getRule.d.ts +101 -0
- package/alb/getRule.js +28 -0
- package/alb/getRule.js.map +1 -0
- package/alb/getRules.d.ts +22 -0
- package/alb/getRules.js +24 -0
- package/alb/getRules.js.map +1 -0
- package/alb/getServerGroup.d.ts +4 -0
- package/alb/getServerGroup.js.map +1 -1
- package/alb/index.d.ts +9 -0
- package/alb/index.js +12 -1
- package/alb/index.js.map +1 -1
- package/alb/loadBalancer.d.ts +24 -0
- package/alb/loadBalancer.js +4 -0
- package/alb/loadBalancer.js.map +1 -1
- package/alb/rule.d.ts +217 -0
- package/alb/rule.js +91 -0
- package/alb/rule.js.map +1 -0
- package/alb/serverGroup.d.ts +12 -0
- package/alb/serverGroup.js +2 -0
- package/alb/serverGroup.js.map +1 -1
- package/apig/gatewayService.d.ts +40 -23
- package/apig/gatewayService.js +7 -21
- package/apig/gatewayService.js.map +1 -1
- package/apig/getGatewayService.d.ts +13 -1
- package/apig/getGatewayService.js.map +1 -1
- package/apig/getUpstream.d.ts +4 -0
- package/apig/getUpstream.js.map +1 -1
- package/apig/upstream.d.ts +12 -0
- package/apig/upstream.js +2 -0
- package/apig/upstream.js.map +1 -1
- package/ark/endpoint.d.ts +230 -0
- package/ark/endpoint.js +102 -0
- package/ark/endpoint.js.map +1 -0
- package/ark/getEndpoint.d.ts +117 -0
- package/ark/getEndpoint.js +28 -0
- package/ark/getEndpoint.js.map +1 -0
- package/ark/getEndpoints.d.ts +22 -0
- package/ark/getEndpoints.js +24 -0
- package/ark/getEndpoints.js.map +1 -0
- package/ark/index.d.ts +9 -0
- package/ark/index.js +28 -0
- package/ark/index.js.map +1 -0
- package/autoscaling/getScalingPolicies.d.ts +22 -0
- package/autoscaling/getScalingPolicies.js +24 -0
- package/autoscaling/getScalingPolicies.js.map +1 -0
- package/autoscaling/getScalingPolicy.d.ts +81 -0
- package/autoscaling/getScalingPolicy.js +28 -0
- package/autoscaling/getScalingPolicy.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingPolicy.d.ts +171 -0
- package/autoscaling/scalingPolicy.js +87 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/cloudidentity/getPermissionSetAssignment.d.ts +68 -0
- package/cloudidentity/getPermissionSetAssignment.js +28 -0
- package/cloudidentity/getPermissionSetAssignment.js.map +1 -0
- package/cloudidentity/getPermissionSetAssignments.d.ts +22 -0
- package/cloudidentity/getPermissionSetAssignments.js +24 -0
- package/cloudidentity/getPermissionSetAssignments.js.map +1 -0
- package/cloudidentity/getPermissionSetProvisioning.d.ts +64 -0
- package/cloudidentity/getPermissionSetProvisioning.js +28 -0
- package/cloudidentity/getPermissionSetProvisioning.js.map +1 -0
- package/cloudidentity/getPermissionSetProvisionings.d.ts +22 -0
- package/cloudidentity/getPermissionSetProvisionings.js +24 -0
- package/cloudidentity/getPermissionSetProvisionings.js.map +1 -0
- package/cloudidentity/getUserProvisioning.d.ts +88 -0
- package/cloudidentity/getUserProvisioning.js +28 -0
- package/cloudidentity/getUserProvisioning.js.map +1 -0
- package/cloudidentity/getUserProvisionings.d.ts +22 -0
- package/cloudidentity/getUserProvisionings.js +24 -0
- package/cloudidentity/getUserProvisionings.js.map +1 -0
- package/cloudidentity/index.d.ts +27 -0
- package/cloudidentity/index.js +34 -1
- package/cloudidentity/index.js.map +1 -1
- package/cloudidentity/permissionSetAssignment.d.ts +140 -0
- package/cloudidentity/permissionSetAssignment.js +99 -0
- package/cloudidentity/permissionSetAssignment.js.map +1 -0
- package/cloudidentity/permissionSetProvisioning.d.ts +121 -0
- package/cloudidentity/permissionSetProvisioning.js +88 -0
- package/cloudidentity/permissionSetProvisioning.js.map +1 -0
- package/cloudidentity/userProvisioning.d.ts +199 -0
- package/cloudidentity/userProvisioning.js +118 -0
- package/cloudidentity/userProvisioning.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +8 -0
- package/directconnect/directConnectGateway.js +2 -0
- package/directconnect/directConnectGateway.js.map +1 -1
- package/directconnect/getDirectConnectGateway.d.ts +4 -0
- package/directconnect/getDirectConnectGateway.js.map +1 -1
- package/ecs/getHpcCluster.d.ts +73 -0
- package/ecs/getHpcCluster.js +28 -0
- package/ecs/getHpcCluster.js.map +1 -0
- package/ecs/getHpcClusters.d.ts +22 -0
- package/ecs/getHpcClusters.js +24 -0
- package/ecs/getHpcClusters.js.map +1 -0
- package/ecs/hpcCluster.d.ts +148 -0
- package/ecs/hpcCluster.js +98 -0
- package/ecs/hpcCluster.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/index.d.ts +7 -1
- package/index.js +13 -1
- package/index.js.map +1 -1
- package/kafka/allowList.d.ts +144 -0
- package/kafka/allowList.js +100 -0
- package/kafka/allowList.js.map +1 -0
- package/kafka/getAllowList.d.ts +69 -0
- package/kafka/getAllowList.js +28 -0
- package/kafka/getAllowList.js.map +1 -0
- package/kafka/getAllowLists.d.ts +22 -0
- package/kafka/getAllowLists.js +24 -0
- package/kafka/getAllowLists.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/kms/getKey.d.ts +16 -0
- package/kms/getKey.js.map +1 -1
- package/kms/key.d.ts +46 -25
- package/kms/key.js +9 -24
- package/kms/key.js.map +1 -1
- package/mongodb/allowList.d.ts +146 -0
- package/mongodb/allowList.js +82 -0
- package/mongodb/allowList.js.map +1 -0
- package/mongodb/getAllowList.d.ts +77 -0
- package/mongodb/getAllowList.js +28 -0
- package/mongodb/getAllowList.js.map +1 -0
- package/mongodb/getAllowLists.d.ts +22 -0
- package/mongodb/getAllowLists.js +24 -0
- package/mongodb/getAllowLists.js.map +1 -0
- package/mongodb/getInstance.d.ts +213 -0
- package/mongodb/getInstance.js +28 -0
- package/mongodb/getInstance.js.map +1 -0
- package/mongodb/getInstances.d.ts +22 -0
- package/mongodb/getInstances.js +24 -0
- package/mongodb/getInstances.js.map +1 -0
- package/mongodb/index.d.ts +18 -0
- package/mongodb/index.js +39 -0
- package/mongodb/index.js.map +1 -0
- package/mongodb/instance.d.ts +499 -0
- package/mongodb/instance.js +197 -0
- package/mongodb/instance.js.map +1 -0
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +88 -0
- package/privatezone/getRecord.js +28 -0
- package/privatezone/getRecord.js.map +1 -0
- package/privatezone/getRecords.d.ts +22 -0
- package/privatezone/getRecords.js +24 -0
- package/privatezone/getRecords.js.map +1 -0
- package/privatezone/getResolverEndpoint.d.ts +89 -0
- package/privatezone/getResolverEndpoint.js +28 -0
- package/privatezone/getResolverEndpoint.js.map +1 -0
- package/privatezone/getResolverEndpoints.d.ts +22 -0
- package/privatezone/getResolverEndpoints.js +24 -0
- package/privatezone/getResolverEndpoints.js.map +1 -0
- package/privatezone/getResolverRule.d.ts +93 -0
- package/privatezone/getResolverRule.js +28 -0
- package/privatezone/getResolverRule.js.map +1 -0
- package/privatezone/getResolverRules.d.ts +22 -0
- package/privatezone/getResolverRules.js +24 -0
- package/privatezone/getResolverRules.js.map +1 -0
- package/privatezone/index.d.ts +27 -0
- package/privatezone/index.js +50 -0
- package/privatezone/index.js.map +1 -0
- package/privatezone/record.d.ts +204 -0
- package/privatezone/record.js +113 -0
- package/privatezone/record.js.map +1 -0
- package/privatezone/resolverEndpoint.d.ts +165 -0
- package/privatezone/resolverEndpoint.js +91 -0
- package/privatezone/resolverEndpoint.js.map +1 -0
- package/privatezone/resolverRule.d.ts +168 -0
- package/privatezone/resolverRule.js +90 -0
- package/privatezone/resolverRule.js.map +1 -0
- package/rdsmssql/allowList.d.ts +174 -0
- package/rdsmssql/allowList.js +83 -0
- package/rdsmssql/allowList.js.map +1 -0
- package/rdsmssql/getAllowList.d.ts +85 -0
- package/rdsmssql/getAllowList.js +28 -0
- package/rdsmssql/getAllowList.js.map +1 -0
- package/rdsmssql/getAllowLists.d.ts +22 -0
- package/rdsmssql/getAllowLists.js +24 -0
- package/rdsmssql/getAllowLists.js.map +1 -0
- package/rdsmssql/getInstance.d.ts +181 -0
- package/rdsmssql/getInstance.js +28 -0
- package/rdsmssql/getInstance.js.map +1 -0
- package/rdsmssql/getInstances.d.ts +22 -0
- package/rdsmssql/getInstances.js +24 -0
- package/rdsmssql/getInstances.js.map +1 -0
- package/rdsmssql/index.d.ts +18 -0
- package/rdsmssql/index.js +39 -0
- package/rdsmssql/index.js.map +1 -0
- package/rdsmssql/instance.d.ts +386 -0
- package/rdsmssql/instance.js +155 -0
- package/rdsmssql/instance.js.map +1 -0
- package/rdspostgresql/database.d.ts +141 -0
- package/rdspostgresql/database.js +92 -0
- package/rdspostgresql/database.js.map +1 -0
- package/rdspostgresql/dbEndpoint.d.ts +220 -0
- package/rdspostgresql/dbEndpoint.js +103 -0
- package/rdspostgresql/dbEndpoint.js.map +1 -0
- package/rdspostgresql/getDatabase.d.ts +64 -0
- package/rdspostgresql/getDatabase.js +28 -0
- package/rdspostgresql/getDatabase.js.map +1 -0
- package/rdspostgresql/getDatabases.d.ts +22 -0
- package/rdspostgresql/getDatabases.js +24 -0
- package/rdspostgresql/getDatabases.js.map +1 -0
- package/rdspostgresql/getDbEndpoint.d.ts +101 -0
- package/rdspostgresql/getDbEndpoint.js +28 -0
- package/rdspostgresql/getDbEndpoint.js.map +1 -0
- package/rdspostgresql/getDbEndpoints.d.ts +22 -0
- package/rdspostgresql/getDbEndpoints.js +24 -0
- package/rdspostgresql/getDbEndpoints.js.map +1 -0
- package/rdspostgresql/getSchema.d.ts +52 -0
- package/rdspostgresql/getSchema.js +28 -0
- package/rdspostgresql/getSchema.js.map +1 -0
- package/rdspostgresql/getSchemas.d.ts +22 -0
- package/rdspostgresql/getSchemas.js +24 -0
- package/rdspostgresql/getSchemas.js.map +1 -0
- package/rdspostgresql/index.d.ts +27 -0
- package/rdspostgresql/index.js +34 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/schema.d.ts +107 -0
- package/rdspostgresql/schema.js +90 -0
- package/rdspostgresql/schema.js.map +1 -0
- package/redis/getInstance.d.ts +8 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +16 -0
- package/redis/instance.js +4 -0
- package/redis/instance.js.map +1 -1
- package/tls/getProject.d.ts +69 -0
- package/tls/getProject.js +28 -0
- package/tls/getProject.js.map +1 -0
- package/tls/getProjects.d.ts +22 -0
- package/tls/getProjects.js +24 -0
- package/tls/getProjects.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/project.d.ts +135 -0
- package/tls/project.js +92 -0
- package/tls/project.js.map +1 -0
- package/transitrouter/getTransitRouter.d.ts +8 -0
- package/transitrouter/getTransitRouter.js.map +1 -1
- package/transitrouter/getTransitRouterRouteEntry.d.ts +8 -0
- package/transitrouter/getTransitRouterRouteEntry.js.map +1 -1
- package/transitrouter/transitRouter.d.ts +20 -0
- package/transitrouter/transitRouter.js +4 -0
- package/transitrouter/transitRouter.js.map +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +16 -0
- package/transitrouter/transitRouterRouteEntry.js +4 -0
- package/transitrouter/transitRouterRouteEntry.js.map +1 -1
- package/types/input.d.ts +1213 -83
- package/types/output.d.ts +3547 -1181
- package/vedbm/getInstance.d.ts +157 -0
- package/vedbm/getInstance.js +28 -0
- package/vedbm/getInstance.js.map +1 -0
- package/vedbm/getInstances.d.ts +22 -0
- package/vedbm/getInstances.js +24 -0
- package/vedbm/getInstances.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +28 -0
- package/vedbm/index.js.map +1 -0
- package/vedbm/instance.d.ts +355 -0
- package/vedbm/instance.js +134 -0
- package/vedbm/instance.js.map +1 -0
- package/vpc/eip.d.ts +29 -0
- package/vpc/eip.js +26 -1
- package/vpc/eip.js.map +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
5
|
+
*/
|
|
6
|
+
export declare function getResolverRule(args: GetResolverRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverRuleResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getResolverRule.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetResolverRuleArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getResolverRule.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetResolverRuleResult {
|
|
20
|
+
/**
|
|
21
|
+
* 转发规则的创建时间
|
|
22
|
+
*/
|
|
23
|
+
readonly createdTime: string;
|
|
24
|
+
/**
|
|
25
|
+
* 转发规则是否被启用。true:启用。false:禁用。
|
|
26
|
+
*/
|
|
27
|
+
readonly enable: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 终端节点的 ID。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。
|
|
30
|
+
*/
|
|
31
|
+
readonly endpointId: number;
|
|
32
|
+
/**
|
|
33
|
+
* 外部的 DNS 服务器的 IP 地址和端口。您最多只能添加 10 个 IP 地址。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。
|
|
34
|
+
*/
|
|
35
|
+
readonly forwardIPs: outputs.privatezone.GetResolverRuleForwardIP[];
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* 最近一次更新转发规则的账号的 ID
|
|
42
|
+
*/
|
|
43
|
+
readonly lastOperator: string;
|
|
44
|
+
/**
|
|
45
|
+
* 递归 DNS 服务器的出口 IP 地址的运营商。该参数仅在 Type 参数是 LINE 时有效。支持的取值:移动:中国移动,电信:中国电信,联通:中国联通
|
|
46
|
+
*/
|
|
47
|
+
readonly line: string;
|
|
48
|
+
/**
|
|
49
|
+
* 转发规则的名称。支持 UTF-8 格式。
|
|
50
|
+
*/
|
|
51
|
+
readonly name: string;
|
|
52
|
+
/**
|
|
53
|
+
* 转发规则所属的项目名称。默认为 default。
|
|
54
|
+
*/
|
|
55
|
+
readonly projectName: string;
|
|
56
|
+
/**
|
|
57
|
+
* 转发规则的 ID。
|
|
58
|
+
*/
|
|
59
|
+
readonly ruleId: string;
|
|
60
|
+
/**
|
|
61
|
+
* 转发规则所属的一个或多个标签
|
|
62
|
+
*/
|
|
63
|
+
readonly tags: outputs.privatezone.GetResolverRuleTag[];
|
|
64
|
+
/**
|
|
65
|
+
* 转发规则类型。OUTBOUND:转发到外部的 DNS 服务器。LINE:自定义公网递归 DNS 服务器的出口 IP 地址的运营商。
|
|
66
|
+
*/
|
|
67
|
+
readonly type: string;
|
|
68
|
+
/**
|
|
69
|
+
* 转发规则的更新时间
|
|
70
|
+
*/
|
|
71
|
+
readonly updatedTime: string;
|
|
72
|
+
/**
|
|
73
|
+
* 转发规则所关联的 VPC。转发规则在关联的 VPC 中生效。Type 参数是 OUTBOUND 时,VPC 的地域必须和终端节点所在的地域相同。
|
|
74
|
+
*/
|
|
75
|
+
readonly vpCs: outputs.privatezone.GetResolverRuleVpC[];
|
|
76
|
+
/**
|
|
77
|
+
* 转发规则转发规则所关联的域名。您可以输入一个或多个域名。多个域名之间使用英文逗号, 分隔。最多支持输入 500 个域名。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。如果您把该参数设置为 *,则转发规则适用于 VPC 关联的所有域名。
|
|
78
|
+
*/
|
|
79
|
+
readonly zoneName: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
83
|
+
*/
|
|
84
|
+
export declare function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverRuleResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getResolverRule.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetResolverRuleOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* Uniquely identifies the resource.
|
|
91
|
+
*/
|
|
92
|
+
id: pulumi.Input<string>;
|
|
93
|
+
}
|
|
@@ -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.getResolverRuleOutput = exports.getResolverRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
10
|
+
*/
|
|
11
|
+
function getResolverRule(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:privatezone/getResolverRule:getResolverRule", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getResolverRule = getResolverRule;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
20
|
+
*/
|
|
21
|
+
function getResolverRuleOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:privatezone/getResolverRule:getResolverRule", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getResolverRuleOutput = getResolverRuleOutput;
|
|
28
|
+
//# sourceMappingURL=getResolverRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResolverRule.js","sourceRoot":"","sources":["../../privatezone/getResolverRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AA6ED;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getResolverRules(opts?: pulumi.InvokeOptions): Promise<GetResolverRulesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getResolverRules.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetResolverRulesResult {
|
|
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 Byteplus::PrivateZone::ResolverRule
|
|
21
|
+
*/
|
|
22
|
+
export declare function getResolverRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverRulesResult>;
|
|
@@ -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.getResolverRulesOutput = exports.getResolverRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
10
|
+
*/
|
|
11
|
+
function getResolverRules(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:privatezone/getResolverRules:getResolverRules", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getResolverRules = getResolverRules;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::PrivateZone::ResolverRule
|
|
18
|
+
*/
|
|
19
|
+
function getResolverRulesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:privatezone/getResolverRules:getResolverRules", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getResolverRulesOutput = getResolverRulesOutput;
|
|
24
|
+
//# sourceMappingURL=getResolverRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResolverRules.js","sourceRoot":"","sources":["../../privatezone/getResolverRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC;AAeD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAiC;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE,EAC9F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wDAIC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { GetRecordArgs, GetRecordResult, GetRecordOutputArgs } from "./getRecord";
|
|
2
|
+
export declare const getRecord: typeof import("./getRecord").getRecord;
|
|
3
|
+
export declare const getRecordOutput: typeof import("./getRecord").getRecordOutput;
|
|
4
|
+
export { GetRecordsResult } from "./getRecords";
|
|
5
|
+
export declare const getRecords: typeof import("./getRecords").getRecords;
|
|
6
|
+
export declare const getRecordsOutput: typeof import("./getRecords").getRecordsOutput;
|
|
7
|
+
export { GetResolverEndpointArgs, GetResolverEndpointResult, GetResolverEndpointOutputArgs } from "./getResolverEndpoint";
|
|
8
|
+
export declare const getResolverEndpoint: typeof import("./getResolverEndpoint").getResolverEndpoint;
|
|
9
|
+
export declare const getResolverEndpointOutput: typeof import("./getResolverEndpoint").getResolverEndpointOutput;
|
|
10
|
+
export { GetResolverEndpointsResult } from "./getResolverEndpoints";
|
|
11
|
+
export declare const getResolverEndpoints: typeof import("./getResolverEndpoints").getResolverEndpoints;
|
|
12
|
+
export declare const getResolverEndpointsOutput: typeof import("./getResolverEndpoints").getResolverEndpointsOutput;
|
|
13
|
+
export { GetResolverRuleArgs, GetResolverRuleResult, GetResolverRuleOutputArgs } from "./getResolverRule";
|
|
14
|
+
export declare const getResolverRule: typeof import("./getResolverRule").getResolverRule;
|
|
15
|
+
export declare const getResolverRuleOutput: typeof import("./getResolverRule").getResolverRuleOutput;
|
|
16
|
+
export { GetResolverRulesResult } from "./getResolverRules";
|
|
17
|
+
export declare const getResolverRules: typeof import("./getResolverRules").getResolverRules;
|
|
18
|
+
export declare const getResolverRulesOutput: typeof import("./getResolverRules").getResolverRulesOutput;
|
|
19
|
+
export { RecordArgs, RecordState } from "./record";
|
|
20
|
+
export type Record = import("./record").Record;
|
|
21
|
+
export declare const Record: typeof import("./record").Record;
|
|
22
|
+
export { ResolverEndpointArgs, ResolverEndpointState } from "./resolverEndpoint";
|
|
23
|
+
export type ResolverEndpoint = import("./resolverEndpoint").ResolverEndpoint;
|
|
24
|
+
export declare const ResolverEndpoint: typeof import("./resolverEndpoint").ResolverEndpoint;
|
|
25
|
+
export { ResolverRuleArgs, ResolverRuleState } from "./resolverRule";
|
|
26
|
+
export type ResolverRule = import("./resolverRule").ResolverRule;
|
|
27
|
+
export declare const ResolverRule: typeof import("./resolverRule").ResolverRule;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ResolverRule = exports.ResolverEndpoint = exports.Record = exports.getResolverRulesOutput = exports.getResolverRules = exports.getResolverRuleOutput = exports.getResolverRule = exports.getResolverEndpointsOutput = exports.getResolverEndpoints = exports.getResolverEndpointOutput = exports.getResolverEndpoint = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getRecord = null;
|
|
9
|
+
exports.getRecordOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getRecord", "getRecordOutput"], () => require("./getRecord"));
|
|
11
|
+
exports.getRecords = null;
|
|
12
|
+
exports.getRecordsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getRecords", "getRecordsOutput"], () => require("./getRecords"));
|
|
14
|
+
exports.getResolverEndpoint = null;
|
|
15
|
+
exports.getResolverEndpointOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getResolverEndpoint", "getResolverEndpointOutput"], () => require("./getResolverEndpoint"));
|
|
17
|
+
exports.getResolverEndpoints = null;
|
|
18
|
+
exports.getResolverEndpointsOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getResolverEndpoints", "getResolverEndpointsOutput"], () => require("./getResolverEndpoints"));
|
|
20
|
+
exports.getResolverRule = null;
|
|
21
|
+
exports.getResolverRuleOutput = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["getResolverRule", "getResolverRuleOutput"], () => require("./getResolverRule"));
|
|
23
|
+
exports.getResolverRules = null;
|
|
24
|
+
exports.getResolverRulesOutput = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["getResolverRules", "getResolverRulesOutput"], () => require("./getResolverRules"));
|
|
26
|
+
exports.Record = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["Record"], () => require("./record"));
|
|
28
|
+
exports.ResolverEndpoint = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["ResolverEndpoint"], () => require("./resolverEndpoint"));
|
|
30
|
+
exports.ResolverRule = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["ResolverRule"], () => require("./resolverRule"));
|
|
32
|
+
const _module = {
|
|
33
|
+
version: utilities.getVersion(),
|
|
34
|
+
construct: (name, type, urn) => {
|
|
35
|
+
switch (type) {
|
|
36
|
+
case "bytepluscc:privatezone/record:Record":
|
|
37
|
+
return new exports.Record(name, undefined, { urn });
|
|
38
|
+
case "bytepluscc:privatezone/resolverEndpoint:ResolverEndpoint":
|
|
39
|
+
return new exports.ResolverEndpoint(name, undefined, { urn });
|
|
40
|
+
case "bytepluscc:privatezone/resolverRule:ResolverRule":
|
|
41
|
+
return new exports.ResolverRule(name, undefined, { urn });
|
|
42
|
+
default:
|
|
43
|
+
throw new Error(`unknown resource type ${type}`);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/record", _module);
|
|
48
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/resolverEndpoint", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/resolverRule", _module);
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../privatezone/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,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
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
10
|
+
*
|
|
11
|
+
* const privateZoneRecordDemo = new bytepluscc.privatezone.Record("PrivateZoneRecordDemo", {
|
|
12
|
+
* host: "ccapi-test-1",
|
|
13
|
+
* line: "default",
|
|
14
|
+
* remark: "test",
|
|
15
|
+
* ttl: 600,
|
|
16
|
+
* type: "AAAA",
|
|
17
|
+
* value: "ff03:0:0:0:0:0:0:c1",
|
|
18
|
+
* weight: 1,
|
|
19
|
+
* zid: 403215,
|
|
20
|
+
* enable: true,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import bytepluscc:privatezone/record:Record example "record_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Record extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Record;
|
|
46
|
+
/**
|
|
47
|
+
* 解析记录的创建时间。
|
|
48
|
+
*/
|
|
49
|
+
readonly createdAt: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 解析记录是否被启用。
|
|
52
|
+
*/
|
|
53
|
+
readonly enable: pulumi.Output<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* 子域名的域名前缀。
|
|
56
|
+
*/
|
|
57
|
+
readonly host: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* 最近一次更新解析记录的账号 ID。
|
|
60
|
+
*/
|
|
61
|
+
readonly lastOperator: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* 解析记录的线路,只能是默认线路 default。
|
|
64
|
+
*/
|
|
65
|
+
readonly line: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* 解析记录 ID。
|
|
68
|
+
*/
|
|
69
|
+
readonly recordId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
|
|
72
|
+
*/
|
|
73
|
+
readonly remark: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* 解析记录的过期时间。单位为秒。默认值为 600。
|
|
76
|
+
*/
|
|
77
|
+
readonly ttl: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* 解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
|
|
80
|
+
*/
|
|
81
|
+
readonly type: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* 解析记录最近一次的更新时间。
|
|
84
|
+
*/
|
|
85
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* 记录值。
|
|
88
|
+
*/
|
|
89
|
+
readonly value: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
|
|
92
|
+
*/
|
|
93
|
+
readonly weight: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* 域名 ID。
|
|
96
|
+
*/
|
|
97
|
+
readonly zid: pulumi.Output<number>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a Record resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering Record resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface RecordState {
|
|
111
|
+
/**
|
|
112
|
+
* 解析记录的创建时间。
|
|
113
|
+
*/
|
|
114
|
+
createdAt?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* 解析记录是否被启用。
|
|
117
|
+
*/
|
|
118
|
+
enable?: pulumi.Input<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* 子域名的域名前缀。
|
|
121
|
+
*/
|
|
122
|
+
host?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* 最近一次更新解析记录的账号 ID。
|
|
125
|
+
*/
|
|
126
|
+
lastOperator?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* 解析记录的线路,只能是默认线路 default。
|
|
129
|
+
*/
|
|
130
|
+
line?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* 解析记录 ID。
|
|
133
|
+
*/
|
|
134
|
+
recordId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
|
|
137
|
+
*/
|
|
138
|
+
remark?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 解析记录的过期时间。单位为秒。默认值为 600。
|
|
141
|
+
*/
|
|
142
|
+
ttl?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* 解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
|
|
145
|
+
*/
|
|
146
|
+
type?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* 解析记录最近一次的更新时间。
|
|
149
|
+
*/
|
|
150
|
+
updatedAt?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* 记录值。
|
|
153
|
+
*/
|
|
154
|
+
value?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
|
|
157
|
+
*/
|
|
158
|
+
weight?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* 域名 ID。
|
|
161
|
+
*/
|
|
162
|
+
zid?: pulumi.Input<number>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a Record resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface RecordArgs {
|
|
168
|
+
/**
|
|
169
|
+
* 解析记录是否被启用。
|
|
170
|
+
*/
|
|
171
|
+
enable?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* 子域名的域名前缀。
|
|
174
|
+
*/
|
|
175
|
+
host: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* 解析记录的线路,只能是默认线路 default。
|
|
178
|
+
*/
|
|
179
|
+
line?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* 备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
|
|
182
|
+
*/
|
|
183
|
+
remark?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* 解析记录的过期时间。单位为秒。默认值为 600。
|
|
186
|
+
*/
|
|
187
|
+
ttl?: pulumi.Input<number>;
|
|
188
|
+
/**
|
|
189
|
+
* 解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
|
|
190
|
+
*/
|
|
191
|
+
type: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* 记录值。
|
|
194
|
+
*/
|
|
195
|
+
value: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* 记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
|
|
198
|
+
*/
|
|
199
|
+
weight?: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* 域名 ID。
|
|
202
|
+
*/
|
|
203
|
+
zid: pulumi.Input<number>;
|
|
204
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.Record = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 解析记录是域名与 VPC 内资源信息的映射。
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
16
|
+
*
|
|
17
|
+
* const privateZoneRecordDemo = new bytepluscc.privatezone.Record("PrivateZoneRecordDemo", {
|
|
18
|
+
* host: "ccapi-test-1",
|
|
19
|
+
* line: "default",
|
|
20
|
+
* remark: "test",
|
|
21
|
+
* ttl: 600,
|
|
22
|
+
* type: "AAAA",
|
|
23
|
+
* value: "ff03:0:0:0:0:0:0:c1",
|
|
24
|
+
* weight: 1,
|
|
25
|
+
* zid: 403215,
|
|
26
|
+
* enable: true,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import bytepluscc:privatezone/record:Record example "record_id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Record extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Record.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
65
|
+
resourceInputs["enable"] = state ? state.enable : undefined;
|
|
66
|
+
resourceInputs["host"] = state ? state.host : undefined;
|
|
67
|
+
resourceInputs["lastOperator"] = state ? state.lastOperator : undefined;
|
|
68
|
+
resourceInputs["line"] = state ? state.line : undefined;
|
|
69
|
+
resourceInputs["recordId"] = state ? state.recordId : undefined;
|
|
70
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
71
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
72
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
73
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
74
|
+
resourceInputs["value"] = state ? state.value : undefined;
|
|
75
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
76
|
+
resourceInputs["zid"] = state ? state.zid : undefined;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if ((!args || args.host === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'host'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'type'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'value'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.zid === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'zid'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["enable"] = args ? args.enable : undefined;
|
|
93
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
94
|
+
resourceInputs["line"] = args ? args.line : undefined;
|
|
95
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
96
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
97
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
98
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
99
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
100
|
+
resourceInputs["zid"] = args ? args.zid : undefined;
|
|
101
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["lastOperator"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["recordId"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(Record.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.Record = Record;
|
|
111
|
+
/** @internal */
|
|
112
|
+
Record.__pulumiType = 'bytepluscc:privatezone/record:Record';
|
|
113
|
+
//# sourceMappingURL=record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../privatezone/record.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,I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