@volcengine/pulumi-volcenginecc 0.0.1
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/LICENSE +373 -0
- package/README.md +77 -0
- package/alb/certificate.d.ts +197 -0
- package/alb/certificate.js +109 -0
- package/alb/certificate.js.map +1 -0
- package/alb/getCertificate.d.ts +93 -0
- package/alb/getCertificate.js +28 -0
- package/alb/getCertificate.js.map +1 -0
- package/alb/getCertificates.d.ts +22 -0
- package/alb/getCertificates.js +24 -0
- package/alb/getCertificates.js.map +1 -0
- package/alb/index.d.ts +9 -0
- package/alb/index.js +28 -0
- package/alb/index.js.map +1 -0
- 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/clb/clb.d.ts +512 -0
- package/clb/clb.js +148 -0
- package/clb/clb.js.map +1 -0
- package/clb/getClb.d.ts +221 -0
- package/clb/getClb.js +28 -0
- package/clb/getClb.js.map +1 -0
- package/clb/getClbs.d.ts +22 -0
- package/clb/getClbs.js +24 -0
- package/clb/getClbs.js.map +1 -0
- package/clb/getNlb.d.ts +141 -0
- package/clb/getNlb.js +28 -0
- package/clb/getNlb.js.map +1 -0
- package/clb/getNlbListener.d.ts +109 -0
- package/clb/getNlbListener.js +28 -0
- package/clb/getNlbListener.js.map +1 -0
- package/clb/getNlbListeners.d.ts +22 -0
- package/clb/getNlbListeners.js +24 -0
- package/clb/getNlbListeners.js.map +1 -0
- package/clb/getNlbServerGroup.d.ts +145 -0
- package/clb/getNlbServerGroup.js +28 -0
- package/clb/getNlbServerGroup.js.map +1 -0
- package/clb/getNlbServerGroups.d.ts +22 -0
- package/clb/getNlbServerGroups.js +24 -0
- package/clb/getNlbServerGroups.js.map +1 -0
- package/clb/getNlbs.d.ts +22 -0
- package/clb/getNlbs.js +24 -0
- package/clb/getNlbs.js.map +1 -0
- package/clb/getServerGroup.d.ts +85 -0
- package/clb/getServerGroup.js +28 -0
- package/clb/getServerGroup.js.map +1 -0
- package/clb/getServerGroups.d.ts +22 -0
- package/clb/getServerGroups.js +24 -0
- package/clb/getServerGroups.js.map +1 -0
- package/clb/index.d.ts +45 -0
- package/clb/index.js +72 -0
- package/clb/index.js.map +1 -0
- package/clb/nlb.d.ts +297 -0
- package/clb/nlb.js +120 -0
- package/clb/nlb.js.map +1 -0
- package/clb/nlbListener.d.ts +251 -0
- package/clb/nlbListener.js +126 -0
- package/clb/nlbListener.js.map +1 -0
- package/clb/nlbServerGroup.d.ts +337 -0
- package/clb/nlbServerGroup.js +116 -0
- package/clb/nlbServerGroup.js.map +1 -0
- package/clb/serverGroup.d.ts +151 -0
- package/clb/serverGroup.js +83 -0
- package/clb/serverGroup.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +37 -0
- package/config/vars.js +62 -0
- package/config/vars.js.map +1 -0
- package/cr/getRepositories.d.ts +22 -0
- package/cr/getRepositories.js +24 -0
- package/cr/getRepositories.js.map +1 -0
- package/cr/getRepository.d.ts +64 -0
- package/cr/getRepository.js +28 -0
- package/cr/getRepository.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +28 -0
- package/cr/index.js.map +1 -0
- package/cr/repository.d.ts +136 -0
- package/cr/repository.js +94 -0
- package/cr/repository.js.map +1 -0
- package/ecs/command.d.ts +213 -0
- package/ecs/command.js +99 -0
- package/ecs/command.js.map +1 -0
- package/ecs/getCommand.d.ts +105 -0
- package/ecs/getCommand.js +28 -0
- package/ecs/getCommand.js.map +1 -0
- package/ecs/getCommands.d.ts +22 -0
- package/ecs/getCommands.js +24 -0
- package/ecs/getCommands.js.map +1 -0
- package/ecs/getHpcCluster.d.ts +64 -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/getImage.d.ts +157 -0
- package/ecs/getImage.js +28 -0
- package/ecs/getImage.js.map +1 -0
- package/ecs/getImages.d.ts +22 -0
- package/ecs/getImages.js +24 -0
- package/ecs/getImages.js.map +1 -0
- package/ecs/getInvocation.d.ts +143 -0
- package/ecs/getInvocation.js +28 -0
- package/ecs/getInvocation.js.map +1 -0
- package/ecs/getInvocations.d.ts +22 -0
- package/ecs/getInvocations.js +24 -0
- package/ecs/getInvocations.js.map +1 -0
- package/ecs/getKeypair.d.ts +81 -0
- package/ecs/getKeypair.js +28 -0
- package/ecs/getKeypair.js.map +1 -0
- package/ecs/getKeypairs.d.ts +22 -0
- package/ecs/getKeypairs.js +24 -0
- package/ecs/getKeypairs.js.map +1 -0
- package/ecs/hpcCluster.d.ts +134 -0
- package/ecs/hpcCluster.js +89 -0
- package/ecs/hpcCluster.js.map +1 -0
- package/ecs/image.d.ts +332 -0
- package/ecs/image.js +119 -0
- package/ecs/image.js.map +1 -0
- package/ecs/index.d.ts +45 -0
- package/ecs/index.js +72 -0
- package/ecs/index.js.map +1 -0
- package/ecs/invocation.d.ts +338 -0
- package/ecs/invocation.js +149 -0
- package/ecs/invocation.js.map +1 -0
- package/ecs/keypair.d.ts +171 -0
- package/ecs/keypair.js +98 -0
- package/ecs/keypair.js.map +1 -0
- package/filenas/getInstance.d.ts +109 -0
- package/filenas/getInstance.js +28 -0
- package/filenas/getInstance.js.map +1 -0
- package/filenas/getInstances.d.ts +22 -0
- package/filenas/getInstances.js +24 -0
- package/filenas/getInstances.js.map +1 -0
- package/filenas/index.d.ts +9 -0
- package/filenas/index.js +28 -0
- package/filenas/index.js.map +1 -0
- package/filenas/instance.d.ts +256 -0
- package/filenas/instance.js +125 -0
- package/filenas/instance.js.map +1 -0
- package/iam/accesskey.d.ts +136 -0
- package/iam/accesskey.js +81 -0
- package/iam/accesskey.js.map +1 -0
- package/iam/getAccesskey.d.ts +72 -0
- package/iam/getAccesskey.js +28 -0
- package/iam/getAccesskey.js.map +1 -0
- package/iam/getAccesskeys.d.ts +22 -0
- package/iam/getAccesskeys.js +24 -0
- package/iam/getAccesskeys.js.map +1 -0
- package/iam/getGroup.d.ts +73 -0
- package/iam/getGroup.js +28 -0
- package/iam/getGroup.js.map +1 -0
- package/iam/getGroups.d.ts +22 -0
- package/iam/getGroups.js +24 -0
- package/iam/getGroups.js.map +1 -0
- package/iam/getPolicies.d.ts +22 -0
- package/iam/getPolicies.js +24 -0
- package/iam/getPolicies.js.map +1 -0
- package/iam/getPolicy.d.ts +89 -0
- package/iam/getPolicy.js +28 -0
- package/iam/getPolicy.js.map +1 -0
- package/iam/getRole.d.ts +79 -0
- package/iam/getRole.js +28 -0
- package/iam/getRole.js.map +1 -0
- package/iam/getRoles.d.ts +22 -0
- package/iam/getRoles.js +24 -0
- package/iam/getRoles.js.map +1 -0
- package/iam/getUser.d.ts +97 -0
- package/iam/getUser.js +28 -0
- package/iam/getUser.js.map +1 -0
- package/iam/getUsers.d.ts +22 -0
- package/iam/getUsers.js +24 -0
- package/iam/getUsers.js.map +1 -0
- package/iam/group.d.ts +121 -0
- package/iam/group.js +77 -0
- package/iam/group.js.map +1 -0
- package/iam/index.d.ts +45 -0
- package/iam/index.js +72 -0
- package/iam/index.js.map +1 -0
- package/iam/policy.d.ts +156 -0
- package/iam/policy.js +91 -0
- package/iam/policy.js.map +1 -0
- package/iam/role.d.ts +185 -0
- package/iam/role.js +115 -0
- package/iam/role.js.map +1 -0
- package/iam/user.d.ts +189 -0
- package/iam/user.js +89 -0
- package/iam/user.js.map +1 -0
- package/index.d.ts +16 -0
- package/index.js +63 -0
- package/index.js.map +1 -0
- package/package.json +29 -0
- package/provider.d.ts +102 -0
- package/provider.js +61 -0
- package/provider.js.map +1 -0
- package/storageebs/getVolume.d.ts +153 -0
- package/storageebs/getVolume.js +28 -0
- package/storageebs/getVolume.js.map +1 -0
- package/storageebs/getVolumes.d.ts +22 -0
- package/storageebs/getVolumes.js +24 -0
- package/storageebs/getVolumes.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +28 -0
- package/storageebs/index.js.map +1 -0
- package/storageebs/volume.d.ts +345 -0
- package/storageebs/volume.js +140 -0
- package/storageebs/volume.js.map +1 -0
- package/tos/bucket.d.ts +172 -0
- package/tos/bucket.js +87 -0
- package/tos/bucket.js.map +1 -0
- package/tos/getBucket.d.ts +90 -0
- package/tos/getBucket.js +28 -0
- package/tos/getBucket.js.map +1 -0
- package/tos/getBuckets.d.ts +22 -0
- package/tos/getBuckets.js +24 -0
- package/tos/getBuckets.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +28 -0
- package/tos/index.js.map +1 -0
- package/transitrouter/getTransitRouter.d.ts +97 -0
- package/transitrouter/getTransitRouter.js +28 -0
- package/transitrouter/getTransitRouter.js.map +1 -0
- package/transitrouter/getTransitRouters.d.ts +22 -0
- package/transitrouter/getTransitRouters.js +24 -0
- package/transitrouter/getTransitRouters.js.map +1 -0
- package/transitrouter/index.d.ts +9 -0
- package/transitrouter/index.js +28 -0
- package/transitrouter/index.js.map +1 -0
- package/transitrouter/transitRouter.d.ts +194 -0
- package/transitrouter/transitRouter.js +104 -0
- package/transitrouter/transitRouter.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1581 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +3321 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/vmp/getWorkspace.d.ts +109 -0
- package/vmp/getWorkspace.js +28 -0
- package/vmp/getWorkspace.js.map +1 -0
- package/vmp/getWorkspaces.d.ts +22 -0
- package/vmp/getWorkspaces.js +24 -0
- package/vmp/getWorkspaces.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.js +28 -0
- package/vmp/index.js.map +1 -0
- package/vmp/workspace.d.ts +235 -0
- package/vmp/workspace.js +119 -0
- package/vmp/workspace.js.map +1 -0
- package/vpc/bandwidthPackage.d.ts +257 -0
- package/vpc/bandwidthPackage.js +103 -0
- package/vpc/bandwidthPackage.js.map +1 -0
- package/vpc/eip.d.ts +415 -0
- package/vpc/eip.js +150 -0
- package/vpc/eip.js.map +1 -0
- package/vpc/eni.d.ts +289 -0
- package/vpc/eni.js +106 -0
- package/vpc/eni.js.map +1 -0
- package/vpc/getBandwidthPackage.d.ts +125 -0
- package/vpc/getBandwidthPackage.js +28 -0
- package/vpc/getBandwidthPackage.js.map +1 -0
- package/vpc/getBandwidthPackages.d.ts +22 -0
- package/vpc/getBandwidthPackages.js +24 -0
- package/vpc/getBandwidthPackages.js.map +1 -0
- package/vpc/getEip.d.ts +169 -0
- package/vpc/getEip.js +28 -0
- package/vpc/getEip.js.map +1 -0
- package/vpc/getEips.d.ts +22 -0
- package/vpc/getEips.js +24 -0
- package/vpc/getEips.js.map +1 -0
- package/vpc/getEni.d.ts +134 -0
- package/vpc/getEni.js +28 -0
- package/vpc/getEni.js.map +1 -0
- package/vpc/getEnis.d.ts +22 -0
- package/vpc/getEnis.js +24 -0
- package/vpc/getEnis.js.map +1 -0
- package/vpc/getRouteTable.d.ts +105 -0
- package/vpc/getRouteTable.js +28 -0
- package/vpc/getRouteTable.js.map +1 -0
- package/vpc/getRouteTables.d.ts +22 -0
- package/vpc/getRouteTables.js +24 -0
- package/vpc/getRouteTables.js.map +1 -0
- package/vpc/getSecurityGroup.d.ts +82 -0
- package/vpc/getSecurityGroup.js +28 -0
- package/vpc/getSecurityGroup.js.map +1 -0
- package/vpc/getSecurityGroups.d.ts +22 -0
- package/vpc/getSecurityGroups.js +24 -0
- package/vpc/getSecurityGroups.js.map +1 -0
- package/vpc/getSubnet.d.ts +110 -0
- package/vpc/getSubnet.js +28 -0
- package/vpc/getSubnet.js.map +1 -0
- package/vpc/getSubnets.d.ts +22 -0
- package/vpc/getSubnets.js +24 -0
- package/vpc/getSubnets.js.map +1 -0
- package/vpc/getVpc.d.ts +129 -0
- package/vpc/getVpc.js +28 -0
- package/vpc/getVpc.js.map +1 -0
- package/vpc/getVpcs.d.ts +22 -0
- package/vpc/getVpcs.js +24 -0
- package/vpc/getVpcs.js.map +1 -0
- package/vpc/index.d.ts +63 -0
- package/vpc/index.js +94 -0
- package/vpc/index.js.map +1 -0
- package/vpc/routeTable.d.ts +203 -0
- package/vpc/routeTable.js +93 -0
- package/vpc/routeTable.js.map +1 -0
- package/vpc/securityGroup.d.ts +144 -0
- package/vpc/securityGroup.js +83 -0
- package/vpc/securityGroup.js.map +1 -0
- package/vpc/subnet.d.ts +241 -0
- package/vpc/subnet.js +122 -0
- package/vpc/subnet.js.map +1 -0
- package/vpc/vpc.d.ts +277 -0
- package/vpc/vpc.js +102 -0
- package/vpc/vpc.js.map +1 -0
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:clb/serverGroup:ServerGroup example "server_group_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class ServerGroup extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing ServerGroup 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?: ServerGroupState, opts?: pulumi.CustomResourceOptions): ServerGroup;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ServerGroup. 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 ServerGroup;
|
|
29
|
+
/**
|
|
30
|
+
* 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
|
|
31
|
+
*/
|
|
32
|
+
readonly addressIpVersion: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
|
|
35
|
+
*/
|
|
36
|
+
readonly anyPortEnabled: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 后端服务器组的创建时间。
|
|
39
|
+
*/
|
|
40
|
+
readonly createTime: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
|
|
43
|
+
*/
|
|
44
|
+
readonly description: pulumi.Output<string>;
|
|
45
|
+
readonly listeners: pulumi.Output<outputs.clb.ServerGroupListener[]>;
|
|
46
|
+
/**
|
|
47
|
+
* 后端服务器组所属的CLB实例ID。
|
|
48
|
+
*/
|
|
49
|
+
readonly loadBalancerId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 后端服务器组的ID。
|
|
52
|
+
*/
|
|
53
|
+
readonly serverGroupId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
|
|
56
|
+
*/
|
|
57
|
+
readonly serverGroupName: pulumi.Output<string>;
|
|
58
|
+
readonly servers: pulumi.Output<outputs.clb.ServerGroupServer[]>;
|
|
59
|
+
readonly tags: pulumi.Output<outputs.clb.ServerGroupTag[]>;
|
|
60
|
+
/**
|
|
61
|
+
* 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
|
|
62
|
+
*/
|
|
63
|
+
readonly type: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* 后端服务器组的最近操作时间。
|
|
66
|
+
*/
|
|
67
|
+
readonly updateTime: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a ServerGroup resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: ServerGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering ServerGroup resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface ServerGroupState {
|
|
81
|
+
/**
|
|
82
|
+
* 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
|
|
83
|
+
*/
|
|
84
|
+
addressIpVersion?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
|
|
87
|
+
*/
|
|
88
|
+
anyPortEnabled?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* 后端服务器组的创建时间。
|
|
91
|
+
*/
|
|
92
|
+
createTime?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
|
|
95
|
+
*/
|
|
96
|
+
description?: pulumi.Input<string>;
|
|
97
|
+
listeners?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupListener>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* 后端服务器组所属的CLB实例ID。
|
|
100
|
+
*/
|
|
101
|
+
loadBalancerId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 后端服务器组的ID。
|
|
104
|
+
*/
|
|
105
|
+
serverGroupId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
|
|
108
|
+
*/
|
|
109
|
+
serverGroupName?: pulumi.Input<string>;
|
|
110
|
+
servers?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupServer>[]>;
|
|
111
|
+
tags?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupTag>[]>;
|
|
112
|
+
/**
|
|
113
|
+
* 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
|
|
114
|
+
*/
|
|
115
|
+
type?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* 后端服务器组的最近操作时间。
|
|
118
|
+
*/
|
|
119
|
+
updateTime?: pulumi.Input<string>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The set of arguments for constructing a ServerGroup resource.
|
|
123
|
+
*/
|
|
124
|
+
export interface ServerGroupArgs {
|
|
125
|
+
/**
|
|
126
|
+
* 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
|
|
127
|
+
*/
|
|
128
|
+
addressIpVersion?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
|
|
131
|
+
*/
|
|
132
|
+
anyPortEnabled?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
|
|
135
|
+
*/
|
|
136
|
+
description?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* 后端服务器组所属的CLB实例ID。
|
|
139
|
+
*/
|
|
140
|
+
loadBalancerId: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
|
|
143
|
+
*/
|
|
144
|
+
serverGroupName?: pulumi.Input<string>;
|
|
145
|
+
servers?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupServer>[]>;
|
|
146
|
+
tags?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupTag>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
|
|
149
|
+
*/
|
|
150
|
+
type?: pulumi.Input<string>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.ServerGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 后端服务器组是一组后端服务器。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:clb/serverGroup:ServerGroup example "server_group_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class ServerGroup extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ServerGroup 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 ServerGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ServerGroup. 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'] === ServerGroup.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["addressIpVersion"] = state ? state.addressIpVersion : undefined;
|
|
46
|
+
resourceInputs["anyPortEnabled"] = state ? state.anyPortEnabled : undefined;
|
|
47
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
48
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
49
|
+
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
50
|
+
resourceInputs["loadBalancerId"] = state ? state.loadBalancerId : undefined;
|
|
51
|
+
resourceInputs["serverGroupId"] = state ? state.serverGroupId : undefined;
|
|
52
|
+
resourceInputs["serverGroupName"] = state ? state.serverGroupName : undefined;
|
|
53
|
+
resourceInputs["servers"] = state ? state.servers : undefined;
|
|
54
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
55
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
56
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.loadBalancerId === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'loadBalancerId'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["addressIpVersion"] = args ? args.addressIpVersion : undefined;
|
|
64
|
+
resourceInputs["anyPortEnabled"] = args ? args.anyPortEnabled : undefined;
|
|
65
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
66
|
+
resourceInputs["loadBalancerId"] = args ? args.loadBalancerId : undefined;
|
|
67
|
+
resourceInputs["serverGroupName"] = args ? args.serverGroupName : undefined;
|
|
68
|
+
resourceInputs["servers"] = args ? args.servers : undefined;
|
|
69
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
70
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
71
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["listeners"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["serverGroupId"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(ServerGroup.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ServerGroup = ServerGroup;
|
|
81
|
+
/** @internal */
|
|
82
|
+
ServerGroup.__pulumiType = 'volcenginecc:clb/serverGroup:ServerGroup';
|
|
83
|
+
//# sourceMappingURL=serverGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../clb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAkDD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC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,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjHL,kCAkHC;AApGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vars";
|
package/config/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./vars"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
/**
|
|
3
|
+
* The Access Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_ACCESS_KEY`
|
|
4
|
+
* environment variable
|
|
5
|
+
*/
|
|
6
|
+
export declare const accessKey: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* An `assumeRole` block (documented below). Only one `assumeRole` block may be in the configuration.
|
|
9
|
+
*/
|
|
10
|
+
export declare const assumeRole: outputs.config.AssumeRole | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* CUSTOMER HEADERS for Volcengine Provider. The customerHeaders field uses commas (,) to separate multiple headers, and
|
|
13
|
+
* colons (:) to separate each header key from its corresponding value.
|
|
14
|
+
*/
|
|
15
|
+
export declare const customerHeaders: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Disable SSL for Volcengine Provider
|
|
18
|
+
*/
|
|
19
|
+
export declare const disableSsl: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* An `endpoints` block (documented below). Only one `endpoints` block may be in the configuration.
|
|
22
|
+
*/
|
|
23
|
+
export declare const endpoints: outputs.config.Endpoints | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* PROXY URL for Volcengine Provider
|
|
26
|
+
*/
|
|
27
|
+
export declare const proxyUrl: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The Region for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_REGION`
|
|
30
|
+
* environment variable
|
|
31
|
+
*/
|
|
32
|
+
export declare const region: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* he Secret Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_SECRET_KEY`
|
|
35
|
+
* environment variable
|
|
36
|
+
*/
|
|
37
|
+
export declare const secretKey: string | undefined;
|
package/config/vars.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
const __config = new pulumi.Config("volcenginecc");
|
|
8
|
+
Object.defineProperty(exports, "accessKey", {
|
|
9
|
+
get() {
|
|
10
|
+
var _a;
|
|
11
|
+
return (_a = __config.get("accessKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_ACCESS_KEY");
|
|
12
|
+
},
|
|
13
|
+
enumerable: true,
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "assumeRole", {
|
|
16
|
+
get() {
|
|
17
|
+
return __config.getObject("assumeRole");
|
|
18
|
+
},
|
|
19
|
+
enumerable: true,
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "customerHeaders", {
|
|
22
|
+
get() {
|
|
23
|
+
var _a;
|
|
24
|
+
return (_a = __config.get("customerHeaders")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_CUSTOMER_HEADERS");
|
|
25
|
+
},
|
|
26
|
+
enumerable: true,
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "disableSsl", {
|
|
29
|
+
get() {
|
|
30
|
+
var _a;
|
|
31
|
+
return (_a = __config.getObject("disableSsl")) !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("VOLCENGINE_DISABLE_SSL");
|
|
32
|
+
},
|
|
33
|
+
enumerable: true,
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "endpoints", {
|
|
36
|
+
get() {
|
|
37
|
+
return __config.getObject("endpoints");
|
|
38
|
+
},
|
|
39
|
+
enumerable: true,
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "proxyUrl", {
|
|
42
|
+
get() {
|
|
43
|
+
var _a;
|
|
44
|
+
return (_a = __config.get("proxyUrl")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_PROXY_URL");
|
|
45
|
+
},
|
|
46
|
+
enumerable: true,
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "region", {
|
|
49
|
+
get() {
|
|
50
|
+
var _a;
|
|
51
|
+
return (_a = __config.get("region")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_REGION");
|
|
52
|
+
},
|
|
53
|
+
enumerable: true,
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "secretKey", {
|
|
56
|
+
get() {
|
|
57
|
+
var _a;
|
|
58
|
+
return (_a = __config.get("secretKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_SECRET_KEY");
|
|
59
|
+
},
|
|
60
|
+
enumerable: true,
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;AAOnD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;IAClF,CAAC;I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BAAmB,CAAC,CAAC;IAC3E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;IAClF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::CR::Repository
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRepositories(opts?: pulumi.InvokeOptions): Promise<GetRepositoriesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getRepositories.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRepositoriesResult {
|
|
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::CR::Repository
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRepositoriesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRepositoriesResult>;
|
|
@@ -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.getRepositoriesOutput = exports.getRepositories = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::CR::Repository
|
|
10
|
+
*/
|
|
11
|
+
function getRepositories(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:cr/getRepositories:getRepositories", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getRepositories = getRepositories;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::CR::Repository
|
|
18
|
+
*/
|
|
19
|
+
function getRepositoriesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:cr/getRepositories:getRepositories", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getRepositoriesOutput = getRepositoriesOutput;
|
|
24
|
+
//# sourceMappingURL=getRepositories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../../cr/getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE,EAC/E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::CR::Repository
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getRepository.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRepositoryArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getRepository.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetRepositoryResult {
|
|
19
|
+
/**
|
|
20
|
+
* 访问等级,取值如下:Private:私有类型 OCI 制品仓库,只能被有权限的用户访问。Public:公有类型 OCI 制品仓库,可以被所有用户访问。单次可填写一个或多个访问等级。
|
|
21
|
+
*/
|
|
22
|
+
readonly accessLevel: string;
|
|
23
|
+
/**
|
|
24
|
+
* 创建 OCI 制品仓库的时间。RFC3339 格式的 UTC+0 时间。
|
|
25
|
+
*/
|
|
26
|
+
readonly createTime: string;
|
|
27
|
+
/**
|
|
28
|
+
* 镜像仓库描述,描述长度为 0~300 个 UTF-8 字符。
|
|
29
|
+
*/
|
|
30
|
+
readonly description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Uniquely identifies the resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* OCI 制品仓库名称。同一个命名空间下,名称必须唯一。支持小写英文、数字、分隔符(分隔符可输入一个.或/、一个或多个-、一个或两个_,且分隔符不能出现在首位或末位,不能连续出现),长度限制为 1~128 个字符。
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* 目标命名空间名称。在 镜像仓库控制台 目标实例的 命名空间 页面,获取命名空间名称。
|
|
41
|
+
*/
|
|
42
|
+
readonly namespace: string;
|
|
43
|
+
/**
|
|
44
|
+
* 指定命名空间所属的镜像仓库实例名称。在 镜像仓库控制台 的 实例列表 页面,获取实例名称。
|
|
45
|
+
*/
|
|
46
|
+
readonly registry: string;
|
|
47
|
+
/**
|
|
48
|
+
* 最近一次更新 OCI 制品仓库的时间。RFC3339 格式的 UTC+0 时间。
|
|
49
|
+
*/
|
|
50
|
+
readonly updateTime: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Data Source schema for Volcengine::CR::Repository
|
|
54
|
+
*/
|
|
55
|
+
export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRepositoryResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getRepository.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetRepositoryOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* Uniquely identifies the resource.
|
|
62
|
+
*/
|
|
63
|
+
id: pulumi.Input<string>;
|
|
64
|
+
}
|
|
@@ -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.getRepositoryOutput = exports.getRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::CR::Repository
|
|
10
|
+
*/
|
|
11
|
+
function getRepository(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:cr/getRepository:getRepository", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getRepository = getRepository;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::CR::Repository
|
|
20
|
+
*/
|
|
21
|
+
function getRepositoryOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:cr/getRepository:getRepository", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getRepositoryOutput = getRepositoryOutput;
|
|
28
|
+
//# sourceMappingURL=getRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../../cr/getRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAiDD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
package/cr/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetRepositoriesResult } from "./getRepositories";
|
|
2
|
+
export declare const getRepositories: typeof import("./getRepositories").getRepositories;
|
|
3
|
+
export declare const getRepositoriesOutput: typeof import("./getRepositories").getRepositoriesOutput;
|
|
4
|
+
export { GetRepositoryArgs, GetRepositoryResult, GetRepositoryOutputArgs } from "./getRepository";
|
|
5
|
+
export declare const getRepository: typeof import("./getRepository").getRepository;
|
|
6
|
+
export declare const getRepositoryOutput: typeof import("./getRepository").getRepositoryOutput;
|
|
7
|
+
export { RepositoryArgs, RepositoryState } from "./repository";
|
|
8
|
+
export type Repository = import("./repository").Repository;
|
|
9
|
+
export declare const Repository: typeof import("./repository").Repository;
|
package/cr/index.js
ADDED
|
@@ -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.Repository = exports.getRepositoryOutput = exports.getRepository = exports.getRepositoriesOutput = exports.getRepositories = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getRepositories = null;
|
|
9
|
+
exports.getRepositoriesOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getRepositories", "getRepositoriesOutput"], () => require("./getRepositories"));
|
|
11
|
+
exports.getRepository = null;
|
|
12
|
+
exports.getRepositoryOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getRepository", "getRepositoryOutput"], () => require("./getRepository"));
|
|
14
|
+
exports.Repository = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "volcenginecc:cr/repository:Repository":
|
|
21
|
+
return new exports.Repository(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "cr/repository", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
package/cr/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cr/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAI1F,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,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,KAA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