@byteplus/pulumi-bytepluscc 0.0.15 → 0.0.16
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/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/index.d.ts +9 -0
- package/alb/index.js +12 -1
- package/alb/index.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/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/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/index.d.ts +4 -1
- package/index.js +7 -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 +4 -0
- package/kms/getKey.js.map +1 -1
- package/kms/key.d.ts +12 -0
- package/kms/key.js +2 -0
- package/kms/key.js.map +1 -1
- package/package.json +1 -1
- 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 +9 -0
- package/rdsmssql/index.js +28 -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/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/types/input.d.ts +498 -0
- package/types/output.d.ts +1273 -261
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 在使用大语言模型进行推理服务时,推理接入点(Endpoint)是模型调用的关键入口。开发者只需通过指定的 ID 即可向大模型发起 API / SDK 推理请求,实现快速接入与灵活调用。系统提供统一的 API 调用方式、调用监控、限流策略与安全保障机制,确保推理过程的稳定性与安全性。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import bytepluscc:ark/endpoint:Endpoint example "endpoint_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Endpoint extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Endpoint 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?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Endpoint. 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 Endpoint;
|
|
29
|
+
/**
|
|
30
|
+
* 是否只支持 BatchChat。如果为true,只能访问 Batch 推理接口,否则只能访问在线推理接口。
|
|
31
|
+
*/
|
|
32
|
+
readonly batchOnly: pulumi.Output<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* 证书信息。
|
|
35
|
+
*/
|
|
36
|
+
readonly certificate: pulumi.Output<outputs.ark.EndpointCertificate>;
|
|
37
|
+
/**
|
|
38
|
+
* 接入点创建时间,RFC3339格式。
|
|
39
|
+
*/
|
|
40
|
+
readonly createTime: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* 接入点描述。
|
|
43
|
+
*/
|
|
44
|
+
readonly description: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* 推理接入点的ID。
|
|
47
|
+
*/
|
|
48
|
+
readonly endpointId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* 接入点模型类型。取值:FoundationModel为基础模型;CustomModel为定制模型。
|
|
51
|
+
*/
|
|
52
|
+
readonly endpointModelType: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 接入点接入模型。
|
|
55
|
+
*/
|
|
56
|
+
readonly modelReference: pulumi.Output<outputs.ark.EndpointModelReference>;
|
|
57
|
+
/**
|
|
58
|
+
* 模型单元,为空表示后付费;否则预付费。
|
|
59
|
+
*/
|
|
60
|
+
readonly modelUnitId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 内容护栏方案。
|
|
63
|
+
*/
|
|
64
|
+
readonly moderation: pulumi.Output<outputs.ark.EndpointModeration>;
|
|
65
|
+
/**
|
|
66
|
+
* 接入点名称。
|
|
67
|
+
*/
|
|
68
|
+
readonly name: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* 资源所属的项目名称,默认值为default。
|
|
71
|
+
*/
|
|
72
|
+
readonly projectName: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* 接入点限流。
|
|
75
|
+
*/
|
|
76
|
+
readonly rateLimit: pulumi.Output<outputs.ark.EndpointRateLimit>;
|
|
77
|
+
/**
|
|
78
|
+
* 接入点切换的Id。
|
|
79
|
+
*/
|
|
80
|
+
readonly rollingId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* 如果存在 TPM 保障包,则为 TPM 保障包 ID。
|
|
83
|
+
*/
|
|
84
|
+
readonly scaleTierId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* 接入点状态。
|
|
87
|
+
*/
|
|
88
|
+
readonly status: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* 状态附加说明信息。
|
|
91
|
+
*/
|
|
92
|
+
readonly statusReason: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* 是否支持接入点切换模型版本。
|
|
95
|
+
*/
|
|
96
|
+
readonly supportRolling: pulumi.Output<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* 是否支持TPM保障包。
|
|
99
|
+
*/
|
|
100
|
+
readonly supportScaleTier: pulumi.Output<boolean>;
|
|
101
|
+
readonly tags: pulumi.Output<outputs.ark.EndpointTag[]>;
|
|
102
|
+
/**
|
|
103
|
+
* 接入点更新时间,RFC3339格式。
|
|
104
|
+
*/
|
|
105
|
+
readonly updateTime: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resource.
|
|
110
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
111
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
112
|
+
*/
|
|
113
|
+
constructor(name: string, args: EndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Input properties used for looking up and filtering Endpoint resources.
|
|
117
|
+
*/
|
|
118
|
+
export interface EndpointState {
|
|
119
|
+
/**
|
|
120
|
+
* 是否只支持 BatchChat。如果为true,只能访问 Batch 推理接口,否则只能访问在线推理接口。
|
|
121
|
+
*/
|
|
122
|
+
batchOnly?: pulumi.Input<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* 证书信息。
|
|
125
|
+
*/
|
|
126
|
+
certificate?: pulumi.Input<inputs.ark.EndpointCertificate>;
|
|
127
|
+
/**
|
|
128
|
+
* 接入点创建时间,RFC3339格式。
|
|
129
|
+
*/
|
|
130
|
+
createTime?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* 接入点描述。
|
|
133
|
+
*/
|
|
134
|
+
description?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 推理接入点的ID。
|
|
137
|
+
*/
|
|
138
|
+
endpointId?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 接入点模型类型。取值:FoundationModel为基础模型;CustomModel为定制模型。
|
|
141
|
+
*/
|
|
142
|
+
endpointModelType?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* 接入点接入模型。
|
|
145
|
+
*/
|
|
146
|
+
modelReference?: pulumi.Input<inputs.ark.EndpointModelReference>;
|
|
147
|
+
/**
|
|
148
|
+
* 模型单元,为空表示后付费;否则预付费。
|
|
149
|
+
*/
|
|
150
|
+
modelUnitId?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* 内容护栏方案。
|
|
153
|
+
*/
|
|
154
|
+
moderation?: pulumi.Input<inputs.ark.EndpointModeration>;
|
|
155
|
+
/**
|
|
156
|
+
* 接入点名称。
|
|
157
|
+
*/
|
|
158
|
+
name?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* 资源所属的项目名称,默认值为default。
|
|
161
|
+
*/
|
|
162
|
+
projectName?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 接入点限流。
|
|
165
|
+
*/
|
|
166
|
+
rateLimit?: pulumi.Input<inputs.ark.EndpointRateLimit>;
|
|
167
|
+
/**
|
|
168
|
+
* 接入点切换的Id。
|
|
169
|
+
*/
|
|
170
|
+
rollingId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* 如果存在 TPM 保障包,则为 TPM 保障包 ID。
|
|
173
|
+
*/
|
|
174
|
+
scaleTierId?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* 接入点状态。
|
|
177
|
+
*/
|
|
178
|
+
status?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* 状态附加说明信息。
|
|
181
|
+
*/
|
|
182
|
+
statusReason?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* 是否支持接入点切换模型版本。
|
|
185
|
+
*/
|
|
186
|
+
supportRolling?: pulumi.Input<boolean>;
|
|
187
|
+
/**
|
|
188
|
+
* 是否支持TPM保障包。
|
|
189
|
+
*/
|
|
190
|
+
supportScaleTier?: pulumi.Input<boolean>;
|
|
191
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ark.EndpointTag>[]>;
|
|
192
|
+
/**
|
|
193
|
+
* 接入点更新时间,RFC3339格式。
|
|
194
|
+
*/
|
|
195
|
+
updateTime?: pulumi.Input<string>;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The set of arguments for constructing a Endpoint resource.
|
|
199
|
+
*/
|
|
200
|
+
export interface EndpointArgs {
|
|
201
|
+
/**
|
|
202
|
+
* 接入点描述。
|
|
203
|
+
*/
|
|
204
|
+
description?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* 接入点接入模型。
|
|
207
|
+
*/
|
|
208
|
+
modelReference: pulumi.Input<inputs.ark.EndpointModelReference>;
|
|
209
|
+
/**
|
|
210
|
+
* 模型单元,为空表示后付费;否则预付费。
|
|
211
|
+
*/
|
|
212
|
+
modelUnitId?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* 内容护栏方案。
|
|
215
|
+
*/
|
|
216
|
+
moderation?: pulumi.Input<inputs.ark.EndpointModeration>;
|
|
217
|
+
/**
|
|
218
|
+
* 接入点名称。
|
|
219
|
+
*/
|
|
220
|
+
name: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* 资源所属的项目名称,默认值为default。
|
|
223
|
+
*/
|
|
224
|
+
projectName?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* 接入点限流。
|
|
227
|
+
*/
|
|
228
|
+
rateLimit?: pulumi.Input<inputs.ark.EndpointRateLimit>;
|
|
229
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ark.EndpointTag>[]>;
|
|
230
|
+
}
|
package/ark/endpoint.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
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.Endpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 在使用大语言模型进行推理服务时,推理接入点(Endpoint)是模型调用的关键入口。开发者只需通过指定的 ID 即可向大模型发起 API / SDK 推理请求,实现快速接入与灵活调用。系统提供统一的 API 调用方式、调用监控、限流策略与安全保障机制,确保推理过程的稳定性与安全性。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import bytepluscc:ark/endpoint:Endpoint example "endpoint_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Endpoint extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Endpoint 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 Endpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Endpoint. 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'] === Endpoint.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["batchOnly"] = state ? state.batchOnly : undefined;
|
|
46
|
+
resourceInputs["certificate"] = state ? state.certificate : undefined;
|
|
47
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
48
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
49
|
+
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
50
|
+
resourceInputs["endpointModelType"] = state ? state.endpointModelType : undefined;
|
|
51
|
+
resourceInputs["modelReference"] = state ? state.modelReference : undefined;
|
|
52
|
+
resourceInputs["modelUnitId"] = state ? state.modelUnitId : undefined;
|
|
53
|
+
resourceInputs["moderation"] = state ? state.moderation : undefined;
|
|
54
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
55
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
56
|
+
resourceInputs["rateLimit"] = state ? state.rateLimit : undefined;
|
|
57
|
+
resourceInputs["rollingId"] = state ? state.rollingId : undefined;
|
|
58
|
+
resourceInputs["scaleTierId"] = state ? state.scaleTierId : undefined;
|
|
59
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
60
|
+
resourceInputs["statusReason"] = state ? state.statusReason : undefined;
|
|
61
|
+
resourceInputs["supportRolling"] = state ? state.supportRolling : undefined;
|
|
62
|
+
resourceInputs["supportScaleTier"] = state ? state.supportScaleTier : undefined;
|
|
63
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
64
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.modelReference === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'modelReference'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'name'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["modelReference"] = args ? args.modelReference : undefined;
|
|
76
|
+
resourceInputs["modelUnitId"] = args ? args.modelUnitId : undefined;
|
|
77
|
+
resourceInputs["moderation"] = args ? args.moderation : undefined;
|
|
78
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
79
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
80
|
+
resourceInputs["rateLimit"] = args ? args.rateLimit : undefined;
|
|
81
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
82
|
+
resourceInputs["batchOnly"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["certificate"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["endpointId"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["endpointModelType"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["rollingId"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["scaleTierId"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["statusReason"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["supportRolling"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["supportScaleTier"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(Endpoint.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.Endpoint = Endpoint;
|
|
100
|
+
/** @internal */
|
|
101
|
+
Endpoint.__pulumiType = 'bytepluscc:ark/endpoint:Endpoint';
|
|
102
|
+
//# sourceMappingURL=endpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../ark/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,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c,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1KL,4BA2KC;AA7JG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::ARK::Endpoint
|
|
5
|
+
*/
|
|
6
|
+
export declare function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getEndpoint.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetEndpointArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getEndpoint.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEndpointResult {
|
|
20
|
+
/**
|
|
21
|
+
* 是否只支持 BatchChat。如果为true,只能访问 Batch 推理接口,否则只能访问在线推理接口。
|
|
22
|
+
*/
|
|
23
|
+
readonly batchOnly: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 证书信息。
|
|
26
|
+
*/
|
|
27
|
+
readonly certificate: outputs.ark.GetEndpointCertificate;
|
|
28
|
+
/**
|
|
29
|
+
* 接入点创建时间,RFC3339格式。
|
|
30
|
+
*/
|
|
31
|
+
readonly createTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* 接入点描述。
|
|
34
|
+
*/
|
|
35
|
+
readonly description: string;
|
|
36
|
+
/**
|
|
37
|
+
* 推理接入点的ID。
|
|
38
|
+
*/
|
|
39
|
+
readonly endpointId: string;
|
|
40
|
+
/**
|
|
41
|
+
* 接入点模型类型。取值:FoundationModel为基础模型;CustomModel为定制模型。
|
|
42
|
+
*/
|
|
43
|
+
readonly endpointModelType: string;
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* 接入点接入模型。
|
|
50
|
+
*/
|
|
51
|
+
readonly modelReference: outputs.ark.GetEndpointModelReference;
|
|
52
|
+
/**
|
|
53
|
+
* 模型单元,为空表示后付费;否则预付费。
|
|
54
|
+
*/
|
|
55
|
+
readonly modelUnitId: string;
|
|
56
|
+
/**
|
|
57
|
+
* 内容护栏方案。
|
|
58
|
+
*/
|
|
59
|
+
readonly moderation: outputs.ark.GetEndpointModeration;
|
|
60
|
+
/**
|
|
61
|
+
* 接入点名称。
|
|
62
|
+
*/
|
|
63
|
+
readonly name: string;
|
|
64
|
+
/**
|
|
65
|
+
* 资源所属的项目名称,默认值为default。
|
|
66
|
+
*/
|
|
67
|
+
readonly projectName: string;
|
|
68
|
+
/**
|
|
69
|
+
* 接入点限流。
|
|
70
|
+
*/
|
|
71
|
+
readonly rateLimit: outputs.ark.GetEndpointRateLimit;
|
|
72
|
+
/**
|
|
73
|
+
* 接入点切换的Id。
|
|
74
|
+
*/
|
|
75
|
+
readonly rollingId: string;
|
|
76
|
+
/**
|
|
77
|
+
* 如果存在 TPM 保障包,则为 TPM 保障包 ID。
|
|
78
|
+
*/
|
|
79
|
+
readonly scaleTierId: string;
|
|
80
|
+
/**
|
|
81
|
+
* 接入点状态。
|
|
82
|
+
*/
|
|
83
|
+
readonly status: string;
|
|
84
|
+
/**
|
|
85
|
+
* 状态附加说明信息。
|
|
86
|
+
*/
|
|
87
|
+
readonly statusReason: string;
|
|
88
|
+
/**
|
|
89
|
+
* 是否支持接入点切换模型版本。
|
|
90
|
+
*/
|
|
91
|
+
readonly supportRolling: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* 是否支持TPM保障包。
|
|
94
|
+
*/
|
|
95
|
+
readonly supportScaleTier: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 接入点绑定的标签。
|
|
98
|
+
*/
|
|
99
|
+
readonly tags: outputs.ark.GetEndpointTag[];
|
|
100
|
+
/**
|
|
101
|
+
* 接入点更新时间,RFC3339格式。
|
|
102
|
+
*/
|
|
103
|
+
readonly updateTime: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Data Source schema for Byteplus::ARK::Endpoint
|
|
107
|
+
*/
|
|
108
|
+
export declare function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointResult>;
|
|
109
|
+
/**
|
|
110
|
+
* A collection of arguments for invoking getEndpoint.
|
|
111
|
+
*/
|
|
112
|
+
export interface GetEndpointOutputArgs {
|
|
113
|
+
/**
|
|
114
|
+
* Uniquely identifies the resource.
|
|
115
|
+
*/
|
|
116
|
+
id: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -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.getEndpointOutput = exports.getEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::ARK::Endpoint
|
|
10
|
+
*/
|
|
11
|
+
function getEndpoint(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ark/getEndpoint:getEndpoint", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getEndpoint = getEndpoint;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::ARK::Endpoint
|
|
20
|
+
*/
|
|
21
|
+
function getEndpointOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ark/getEndpoint:getEndpoint", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getEndpointOutput = getEndpointOutput;
|
|
28
|
+
//# sourceMappingURL=getEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEndpoint.js","sourceRoot":"","sources":["../../ark/getEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAqGD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ARK::Endpoint
|
|
4
|
+
*/
|
|
5
|
+
export declare function getEndpoints(opts?: pulumi.InvokeOptions): Promise<GetEndpointsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getEndpoints.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetEndpointsResult {
|
|
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::ARK::Endpoint
|
|
21
|
+
*/
|
|
22
|
+
export declare function getEndpointsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointsResult>;
|
|
@@ -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.getEndpointsOutput = exports.getEndpoints = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::ARK::Endpoint
|
|
10
|
+
*/
|
|
11
|
+
function getEndpoints(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ark/getEndpoints:getEndpoints", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getEndpoints = getEndpoints;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::ARK::Endpoint
|
|
18
|
+
*/
|
|
19
|
+
function getEndpointsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ark/getEndpoints:getEndpoints", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getEndpointsOutput = getEndpointsOutput;
|
|
24
|
+
//# sourceMappingURL=getEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEndpoints.js","sourceRoot":"","sources":["../../ark/getEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
|
package/ark/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { EndpointArgs, EndpointState } from "./endpoint";
|
|
2
|
+
export type Endpoint = import("./endpoint").Endpoint;
|
|
3
|
+
export declare const Endpoint: typeof import("./endpoint").Endpoint;
|
|
4
|
+
export { GetEndpointArgs, GetEndpointResult, GetEndpointOutputArgs } from "./getEndpoint";
|
|
5
|
+
export declare const getEndpoint: typeof import("./getEndpoint").getEndpoint;
|
|
6
|
+
export declare const getEndpointOutput: typeof import("./getEndpoint").getEndpointOutput;
|
|
7
|
+
export { GetEndpointsResult } from "./getEndpoints";
|
|
8
|
+
export declare const getEndpoints: typeof import("./getEndpoints").getEndpoints;
|
|
9
|
+
export declare const getEndpointsOutput: typeof import("./getEndpoints").getEndpointsOutput;
|
package/ark/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.getEndpointsOutput = exports.getEndpoints = exports.getEndpointOutput = exports.getEndpoint = exports.Endpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Endpoint = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Endpoint"], () => require("./endpoint"));
|
|
10
|
+
exports.getEndpoint = null;
|
|
11
|
+
exports.getEndpointOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getEndpoint", "getEndpointOutput"], () => require("./getEndpoint"));
|
|
13
|
+
exports.getEndpoints = null;
|
|
14
|
+
exports.getEndpointsOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getEndpoints", "getEndpointsOutput"], () => require("./getEndpoints"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "bytepluscc:ark/endpoint:Endpoint":
|
|
21
|
+
return new exports.Endpoint(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "ark/endpoint", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
package/ark/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ark/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG1D,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGpG,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,kCAAkC;gBACnC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Byteplus::CloudIdentity::PermissionSetAssignment
|
|
4
|
+
*/
|
|
5
|
+
export declare function getPermissionSetAssignment(args: GetPermissionSetAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionSetAssignmentResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getPermissionSetAssignment.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetPermissionSetAssignmentArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getPermissionSetAssignment.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPermissionSetAssignmentResult {
|
|
19
|
+
/**
|
|
20
|
+
* 授权创建时间。
|
|
21
|
+
*/
|
|
22
|
+
readonly createdTime: string;
|
|
23
|
+
/**
|
|
24
|
+
* Uniquely identifies the resource.
|
|
25
|
+
*/
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/**
|
|
28
|
+
* 权限集 ID。
|
|
29
|
+
*/
|
|
30
|
+
readonly permissionSetId: string;
|
|
31
|
+
/**
|
|
32
|
+
* 权限集名称。
|
|
33
|
+
*/
|
|
34
|
+
readonly permissionSetName: string;
|
|
35
|
+
/**
|
|
36
|
+
* 云身份中心对象 ID
|
|
37
|
+
*/
|
|
38
|
+
readonly principalId: string;
|
|
39
|
+
/**
|
|
40
|
+
* 云身份中心对象名。
|
|
41
|
+
*/
|
|
42
|
+
readonly principalName: string;
|
|
43
|
+
/**
|
|
44
|
+
* 云身份中心对象类型,User 或者 Group。
|
|
45
|
+
*/
|
|
46
|
+
readonly principalType: string;
|
|
47
|
+
/**
|
|
48
|
+
* 授权账号 ID。
|
|
49
|
+
*/
|
|
50
|
+
readonly targetId: string;
|
|
51
|
+
/**
|
|
52
|
+
* 授权账号名。
|
|
53
|
+
*/
|
|
54
|
+
readonly targetName: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Data Source schema for Byteplus::CloudIdentity::PermissionSetAssignment
|
|
58
|
+
*/
|
|
59
|
+
export declare function getPermissionSetAssignmentOutput(args: GetPermissionSetAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPermissionSetAssignmentResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getPermissionSetAssignment.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetPermissionSetAssignmentOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* Uniquely identifies the resource.
|
|
66
|
+
*/
|
|
67
|
+
id: pulumi.Input<string>;
|
|
68
|
+
}
|