@alicloud/agentcore20260804 2.0.1 → 2.1.0
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/dist/client.d.ts +118 -70
- package/dist/client.js +178 -70
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
- package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
- package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
- package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
- package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +33 -12
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +40 -19
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +4 -4
- package/dist/models/CreateUserResponseBody.d.ts +7 -7
- package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
- package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
- package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
- package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
- package/dist/models/EnableConnectorRequest.d.ts +1 -1
- package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
- package/dist/models/GetExternalAgentResponseBody.d.ts +31 -6
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +48 -27
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
- package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
- package/dist/models/GetUserResponseBody.d.ts +15 -9
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
- package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
- package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
- package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
- package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
- package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
- package/dist/models/ListConnectorsRequest.d.ts +2 -2
- package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
- package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
- package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
- package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
- package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
- package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
- package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
- package/dist/models/ListSandboxesRequest.d.ts +6 -3
- package/dist/models/ListSandboxesRequest.js.map +1 -1
- package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
- package/dist/models/ListSandboxesResponseBody.js.map +1 -1
- package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
- package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
- package/dist/models/ListTeamsRequest.d.ts +2 -2
- package/dist/models/ListTeamsResponseBody.d.ts +5 -5
- package/dist/models/ListUsersRequest.d.ts +12 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +64 -2
- package/dist/models/ListUsersResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
- package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/UpdateConnectorRequest.d.ts +1 -1
- package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
- package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +59 -20
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +73 -27
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateUserResponseBody.d.ts +1 -1
- package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/VerifyConnectorRequest.d.ts +1 -1
- package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +31 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +188 -70
- package/src/models/CreateAgentImchannelRequest.ts +4 -5
- package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
- package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
- package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
- package/src/models/CreateIdentityProviderRequest.ts +7 -5
- package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
- package/src/models/CreateManagedAgentRequest.ts +33 -12
- package/src/models/CreateManagedAgentResponseBody.ts +40 -19
- package/src/models/CreateUserRequest.ts +4 -4
- package/src/models/CreateUserResponseBody.ts +7 -7
- package/src/models/CreateWorkspaceRequest.ts +9 -0
- package/src/models/CreateWorkspaceResponseBody.ts +13 -4
- package/src/models/DeleteAgentImchannelRequest.ts +1 -1
- package/src/models/DisableConnectorResponseBody.ts +2 -2
- package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
- package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
- package/src/models/EnableConnectorRequest.ts +1 -1
- package/src/models/EnableConnectorResponseBody.ts +4 -4
- package/src/models/GetExternalAgentResponseBody.ts +31 -6
- package/src/models/GetManagedAgentResponseBody.ts +48 -27
- package/src/models/GetServiceEndpointResponseBody.ts +8 -12
- package/src/models/GetUserResponseBody.ts +15 -9
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
- package/src/models/GetWorkspaceResponseBody.ts +16 -12
- package/src/models/ListAgentImchannelsRequest.ts +6 -6
- package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
- package/src/models/ListAgentTeamsResponseBody.ts +3 -3
- package/src/models/ListConnectorModelsRequest.ts +3 -3
- package/src/models/ListConnectorModelsResponseBody.ts +7 -9
- package/src/models/ListConnectorsRequest.ts +2 -2
- package/src/models/ListConnectorsResponseBody.ts +6 -6
- package/src/models/ListCredentialsResponseBody.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
- package/src/models/ListManagedAgentsResponseBody.ts +3 -9
- package/src/models/ListSandboxSessionsRequest.ts +4 -1
- package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
- package/src/models/ListSandboxesRequest.ts +6 -3
- package/src/models/ListSandboxesResponseBody.ts +108 -0
- package/src/models/ListServiceEndpointsRequest.ts +1 -1
- package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
- package/src/models/ListTeamsRequest.ts +2 -2
- package/src/models/ListTeamsResponseBody.ts +5 -5
- package/src/models/ListUsersRequest.ts +12 -0
- package/src/models/ListUsersResponseBody.ts +64 -2
- package/src/models/ResetUserPasswordResponseBody.ts +1 -1
- package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
- package/src/models/UpdateConnectorRequest.ts +1 -1
- package/src/models/UpdateConnectorResponseBody.ts +3 -3
- package/src/models/UpdateCredentialResponseBody.ts +1 -1
- package/src/models/UpdateManagedAgentRequest.ts +59 -20
- package/src/models/UpdateManagedAgentResponseBody.ts +73 -27
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateUserResponseBody.ts +1 -1
- package/src/models/UpdateWorkspaceRequest.ts +2 -2
- package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
- package/src/models/VerifyConnectorRequest.ts +1 -1
- package/src/models/VerifyConnectorResponseBody.ts +2 -2
- package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
- package/src/models/model.ts +8 -0
|
@@ -13,7 +13,7 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
13
13
|
agentCoreUserId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The authentication method of the user. password indicates local password authentication
|
|
16
|
+
* The authentication method of the user. password indicates local password authentication of the workspace. dingtalk and feishu indicate that the user is synchronized and authenticated by the corresponding external identity provider.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* password
|
|
@@ -29,15 +29,15 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
29
29
|
createdAt?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The display name of the user. The
|
|
32
|
+
* The display name of the user. The name is 1 to 32 characters in length.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* John
|
|
35
|
+
* John Doe
|
|
36
36
|
*/
|
|
37
37
|
displayName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The email address of the user. The
|
|
40
|
+
* The email address of the user. The address can be up to 256 characters in length.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* user-01@example.com
|
|
@@ -45,7 +45,7 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
45
45
|
email?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The username. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The username
|
|
48
|
+
* The username. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The username is 1 to 32 characters in length.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* user-01
|
|
@@ -53,10 +53,10 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
53
53
|
name?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The remarks of the user. The remarks can be up to
|
|
56
|
+
* The remarks of the user. The remarks can be up to 1,024 characters in length.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
*
|
|
59
|
+
* Member of the agent operations team
|
|
60
60
|
*/
|
|
61
61
|
note?: string;
|
|
62
62
|
/**
|
|
@@ -69,7 +69,13 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
69
69
|
regionId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The user status. Valid values:
|
|
72
|
+
* The user status. Valid values:
|
|
73
|
+
* - Creating
|
|
74
|
+
* - Active
|
|
75
|
+
* - Updating
|
|
76
|
+
* - Deleting
|
|
77
|
+
* - Failed
|
|
78
|
+
* - DeleteFailed
|
|
73
79
|
*
|
|
74
80
|
* @example
|
|
75
81
|
* Active
|
|
@@ -77,7 +83,7 @@ export class GetUserResponseBodyData extends $dara.Model {
|
|
|
77
83
|
status?: string;
|
|
78
84
|
/**
|
|
79
85
|
* @remarks
|
|
80
|
-
* The last modification
|
|
86
|
+
* The time of the last modification in UTC, formatted in RFC 3339.
|
|
81
87
|
*
|
|
82
88
|
* @example
|
|
83
89
|
* 2026-08-12T03:04:05Z
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetWorkspaceAcrRamAuthorizeUrlRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ACR Enterprise instance ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* cri-1234567890abcdef
|
|
14
|
+
*/
|
|
15
|
+
acrInstanceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The target ACR namespace, which corresponds to Agent artifact.container.namespace. This is not a Kubernetes namespace. Together with the instance and repository, this parameter determines the authorization scope.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* example
|
|
24
|
+
*/
|
|
25
|
+
namespace?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The target repository name, which corresponds to Agent artifact.container.repo. Do not include a tag, namespace, or path separator. Wildcards are not accepted.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* agent-image
|
|
34
|
+
*/
|
|
35
|
+
repository?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
acrInstanceId: 'acrInstanceId',
|
|
39
|
+
namespace: 'namespace',
|
|
40
|
+
repository: 'repository',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
acrInstanceId: 'string',
|
|
47
|
+
namespace: 'string',
|
|
48
|
+
repository: 'string',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetWorkspaceAcrRamAuthorizeUrlResponseBody } from "./GetWorkspaceAcrRamAuthorizeUrlResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetWorkspaceAcrRamAuthorizeUrlResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetWorkspaceAcrRamAuthorizeUrlResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetWorkspaceAcrRamAuthorizeUrlResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetWorkspaceAcrRamAuthorizeUrlResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ACR Enterprise instance ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cri-1234567890abcdef
|
|
12
|
+
*/
|
|
13
|
+
acrInstanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The RAM authorization URL used to create or append ACR permissions for the shared role on the target repository.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* https://ram.console.aliyun.com/authorize?request=%7B%22referrer%22%3A%22AgentCore%22%2C%22payloads%22%3A%5B%7B%22missionId%22%3A%22AgentCore.CustomRoleForOSSObjectRestore%22%2C%22roleName%22%3A%22AliyunAgentCoreWorkspace-ws-1234567890abcdef12345%22%2C%22rolePolicies%22%3A%5B%7B%22policyName%22%3A%22AgentCoreAcrPull-63373f3802583663d49465d8061e410a899d8f2936b8fc0cb9ec905b71f273c6%22%2C%22policyType%22%3A%22Custom%22%2C%22templateId%22%3A%22CrPullInstanceImage%22%2C%22templateValue%22%3A%7B%22crInstance%22%3A%22acs%3Acr%3Acn-hangzhou%3A1234567890123456%3Ainstance%2Fcri-1234567890abcdef%22%2C%22crRepository%22%3A%22acs%3Acr%3Acn-hangzhou%3A1234567890123456%3Arepository%2Fcri-1234567890abcdef%2Fexample%2Fagent-image%22%7D%7D%5D%7D%5D%7D
|
|
20
|
+
*/
|
|
21
|
+
authorizeUrl?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The shared role name selected by the backend. This value is not editable on the frontend.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* AliyunAgentCoreWorkspace-ws-1234567890abcdef12345
|
|
28
|
+
*/
|
|
29
|
+
roleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The source of the shared role. This value does not indicate that authorization is complete.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* WORKSPACE_SHARED
|
|
36
|
+
*/
|
|
37
|
+
roleSource?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The workspace ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ws-1234567890abcdef12345
|
|
44
|
+
*/
|
|
45
|
+
workspaceId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
acrInstanceId: 'acrInstanceId',
|
|
49
|
+
authorizeUrl: 'authorizeUrl',
|
|
50
|
+
roleName: 'roleName',
|
|
51
|
+
roleSource: 'roleSource',
|
|
52
|
+
workspaceId: 'workspaceId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
acrInstanceId: 'string',
|
|
59
|
+
authorizeUrl: 'string',
|
|
60
|
+
roleName: 'string',
|
|
61
|
+
roleSource: 'string',
|
|
62
|
+
workspaceId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export class GetWorkspaceAcrRamAuthorizeUrlResponseBody extends $dara.Model {
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The business status code.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* SUCCESS
|
|
82
|
+
*/
|
|
83
|
+
code?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The response data.
|
|
87
|
+
*/
|
|
88
|
+
data?: GetWorkspaceAcrRamAuthorizeUrlResponseBodyData;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The HTTP status code.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* 200
|
|
95
|
+
*/
|
|
96
|
+
httpStatusCode?: number;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The response message.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* success
|
|
103
|
+
*/
|
|
104
|
+
message?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* The request ID.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* 12345678-1234-1234-1234-123456789012
|
|
111
|
+
*/
|
|
112
|
+
requestId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* Indicates whether the request was successful.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* true
|
|
119
|
+
*/
|
|
120
|
+
success?: boolean;
|
|
121
|
+
static names(): { [key: string]: string } {
|
|
122
|
+
return {
|
|
123
|
+
code: 'code',
|
|
124
|
+
data: 'data',
|
|
125
|
+
httpStatusCode: 'httpStatusCode',
|
|
126
|
+
message: 'message',
|
|
127
|
+
requestId: 'requestId',
|
|
128
|
+
success: 'success',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static types(): { [key: string]: any } {
|
|
133
|
+
return {
|
|
134
|
+
code: 'string',
|
|
135
|
+
data: GetWorkspaceAcrRamAuthorizeUrlResponseBodyData,
|
|
136
|
+
httpStatusCode: 'number',
|
|
137
|
+
message: 'string',
|
|
138
|
+
requestId: 'string',
|
|
139
|
+
success: 'boolean',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
validate() {
|
|
144
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
145
|
+
(this.data as any).validate();
|
|
146
|
+
}
|
|
147
|
+
super.validate();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether VPC
|
|
8
|
+
* Indicates whether the VPC network is enabled.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -18,7 +18,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.M
|
|
|
18
18
|
vSwitchIds?: string[];
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The user VPC ID.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* vpc-bp1234567890
|
|
@@ -55,7 +55,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.M
|
|
|
55
55
|
export class GetWorkspaceResponseBodyDataNetworkConfiguration extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The public egress IP address
|
|
58
|
+
* The public egress IP address of the workspace.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 203.0.113.10
|
|
@@ -63,7 +63,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfiguration extends $dara.Mode
|
|
|
63
63
|
publicEgressIp?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The VPC network configuration
|
|
66
|
+
* The user VPC network configuration.
|
|
67
67
|
*/
|
|
68
68
|
vpc?: GetWorkspaceResponseBodyDataNetworkConfigurationVpc;
|
|
69
69
|
static names(): { [key: string]: string } {
|
|
@@ -96,11 +96,17 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
|
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
98
|
* The OSS storage authorization status.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* AUTHORIZED
|
|
99
102
|
*/
|
|
100
103
|
authorizationStatus?: string;
|
|
101
104
|
/**
|
|
102
105
|
* @remarks
|
|
103
106
|
* The name of the private OSS bucket.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* bucket-001
|
|
104
110
|
*/
|
|
105
111
|
bucketName?: string;
|
|
106
112
|
/**
|
|
@@ -121,7 +127,7 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
|
|
|
121
127
|
name?: string;
|
|
122
128
|
/**
|
|
123
129
|
* @remarks
|
|
124
|
-
* The network configuration
|
|
130
|
+
* The workspace network configuration.
|
|
125
131
|
*/
|
|
126
132
|
networkConfiguration?: GetWorkspaceResponseBodyDataNetworkConfiguration;
|
|
127
133
|
/**
|
|
@@ -134,12 +140,7 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
|
|
|
134
140
|
regionId?: string;
|
|
135
141
|
/**
|
|
136
142
|
* @remarks
|
|
137
|
-
* The workspace status. Valid values:
|
|
138
|
-
* - Initializing
|
|
139
|
-
* - InitializationFailed
|
|
140
|
-
* - Initialized
|
|
141
|
-
* - Deleting
|
|
142
|
-
* - Deleted
|
|
143
|
+
* The workspace status. Valid values: Initializing, InitializationFailed, Initialized, Deleting, and Deleted.
|
|
143
144
|
*
|
|
144
145
|
* @example
|
|
145
146
|
* Initialized
|
|
@@ -155,7 +156,10 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
|
|
|
155
156
|
statusReason?: string;
|
|
156
157
|
/**
|
|
157
158
|
* @remarks
|
|
158
|
-
* The storage type
|
|
159
|
+
* The workspace storage type.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* PRIVATE
|
|
159
163
|
*/
|
|
160
164
|
storageType?: string;
|
|
161
165
|
/**
|
|
@@ -33,12 +33,12 @@ export class ListAgentIMChannelsRequest extends $dara.Model {
|
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
35
|
* The IM channel status. Valid values:
|
|
36
|
-
* - CREATING: being created.
|
|
37
|
-
* - READY: ready.
|
|
38
|
-
* - UPDATING: being updated.
|
|
39
|
-
* - FAILED: failed.
|
|
40
|
-
* - DELETING: being deleted.
|
|
41
|
-
* - DELETE_FAILED: deletion failed.
|
|
36
|
+
* - CREATING: The channel is being created.
|
|
37
|
+
* - READY: The channel is ready.
|
|
38
|
+
* - UPDATING: The channel is being updated.
|
|
39
|
+
* - FAILED: The channel creation or update failed.
|
|
40
|
+
* - DELETING: The channel is being deleted.
|
|
41
|
+
* - DELETE_FAILED: The channel deletion failed.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* READY
|
|
@@ -111,7 +111,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
|
|
|
111
111
|
createTime?: string;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The channel credential summary. Only non-sensitive fields and configured secret
|
|
114
|
+
* The channel credential summary. Only non-sensitive fields and the names of configured secret fields are returned. Secret values are not returned.
|
|
115
115
|
*/
|
|
116
116
|
credentialSummary?: ListAgentIMChannelsResponseBodyItemsCredentialSummary;
|
|
117
117
|
/**
|
|
@@ -137,7 +137,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
|
|
|
137
137
|
imChannelId?: string;
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
* The ID of the bound ServiceEndpoint. The endpoint must belong to the specified agent and its current version, be in the ready state, and have a public
|
|
140
|
+
* The ID of the bound ServiceEndpoint. The endpoint must belong to the specified agent and its current version, be in the ready state, and have a public access URL.
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
143
|
* se-1
|
|
@@ -146,12 +146,12 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
|
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
148
|
* The IM channel status. Valid values:
|
|
149
|
-
* - CREATING: being created.
|
|
150
|
-
* - READY: ready.
|
|
151
|
-
* - UPDATING: being updated.
|
|
152
|
-
* - FAILED: failed.
|
|
153
|
-
* - DELETING: being deleted.
|
|
154
|
-
* - DELETE_FAILED: deletion failed.
|
|
149
|
+
* - CREATING: The channel is being created.
|
|
150
|
+
* - READY: The channel is ready.
|
|
151
|
+
* - UPDATING: The channel is being updated.
|
|
152
|
+
* - FAILED: The channel creation or update failed.
|
|
153
|
+
* - DELETING: The channel is being deleted.
|
|
154
|
+
* - DELETE_FAILED: The channel deletion failed.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* READY
|
|
@@ -235,7 +235,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
|
|
|
235
235
|
export class ListAgentIMChannelsResponseBody extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The business status code.
|
|
238
|
+
* The business status code. The value SUCCESS indicates a successful request.
|
|
239
239
|
*
|
|
240
240
|
* @example
|
|
241
241
|
* SUCCESS
|
|
@@ -243,7 +243,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
|
|
|
243
243
|
code?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* The HTTP status code.
|
|
246
|
+
* The HTTP status code. The value 200 indicates a successful request.
|
|
247
247
|
*
|
|
248
248
|
* @example
|
|
249
249
|
* 200
|
|
@@ -251,7 +251,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
|
|
|
251
251
|
httpStatusCode?: number;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The IM
|
|
254
|
+
* The list of IM channels.
|
|
255
255
|
*/
|
|
256
256
|
items?: ListAgentIMChannelsResponseBodyItems[];
|
|
257
257
|
/**
|
|
@@ -264,7 +264,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
|
|
|
264
264
|
maxResults?: number;
|
|
265
265
|
/**
|
|
266
266
|
* @remarks
|
|
267
|
-
* The
|
|
267
|
+
* The request processing result message.
|
|
268
268
|
*
|
|
269
269
|
* @example
|
|
270
270
|
* success
|
|
@@ -293,7 +293,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
|
|
|
293
293
|
success?: boolean;
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* The total number of records that match the
|
|
296
|
+
* The total number of records that match the specified conditions.
|
|
297
297
|
*
|
|
298
298
|
* @example
|
|
299
299
|
* 100
|
|
@@ -94,7 +94,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
|
|
|
94
94
|
maxResults?: number;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The response message. An error description is returned if the request
|
|
97
|
+
* The response message. An error description is returned if the request failed.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* success
|
|
@@ -102,7 +102,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
|
|
|
102
102
|
message?: string;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The cursor used to retrieve the next page. An empty value indicates that no more data
|
|
105
|
+
* The cursor used to retrieve the next page. An empty value indicates that no more data exists.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* dXNlci1vZmZzZXQ6MTA
|
|
@@ -123,7 +123,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
|
|
|
123
123
|
success?: boolean;
|
|
124
124
|
/**
|
|
125
125
|
* @remarks
|
|
126
|
-
* The total number of records that match the conditions.
|
|
126
|
+
* The total number of records that match the specified conditions.
|
|
127
127
|
*
|
|
128
128
|
* @example
|
|
129
129
|
* 5
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListConnectorModelsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The Connector Key ID. This parameter is not supported in the current version.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ckey-xxxx
|
|
@@ -13,7 +13,7 @@ export class ListConnectorModelsRequest extends $dara.Model {
|
|
|
13
13
|
connectorKeyId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The page size. This parameter is not supported in the current version.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 10
|
|
@@ -21,7 +21,7 @@ export class ListConnectorModelsRequest extends $dara.Model {
|
|
|
21
21
|
maxResults?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The next page token. This parameter is not supported in the current version.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* dGVzdA==
|
|
@@ -8,7 +8,7 @@ export class ListConnectorModelsResponseBodyItems extends $dara.Model {
|
|
|
8
8
|
* The description of the model.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Qwen flagship model
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
@@ -21,7 +21,7 @@ export class ListConnectorModelsResponseBodyItems extends $dara.Model {
|
|
|
21
21
|
displayName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Key ID
|
|
24
|
+
* The associated Connector Key ID. This field is not returned in the current version.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ckey-xxxx
|
|
@@ -29,7 +29,7 @@ export class ListConnectorModelsResponseBodyItems extends $dara.Model {
|
|
|
29
29
|
keyId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The associated Connector Key name. This field is not returned in the current version.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* default
|
|
@@ -45,9 +45,7 @@ export class ListConnectorModelsResponseBodyItems extends $dara.Model {
|
|
|
45
45
|
modelId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The source of the model.
|
|
49
|
-
* - official: an official model.
|
|
50
|
-
* - enterprise: an enterprise-specific model.
|
|
48
|
+
* The source of the model.
|
|
51
49
|
*
|
|
52
50
|
* @example
|
|
53
51
|
* official
|
|
@@ -108,7 +106,7 @@ export class ListConnectorModelsResponseBody extends $dara.Model {
|
|
|
108
106
|
items?: ListConnectorModelsResponseBodyItems[];
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
* The number of
|
|
109
|
+
* The number of models returned in this request.
|
|
112
110
|
*
|
|
113
111
|
* @example
|
|
114
112
|
* 10
|
|
@@ -124,7 +122,7 @@ export class ListConnectorModelsResponseBody extends $dara.Model {
|
|
|
124
122
|
message?: string;
|
|
125
123
|
/**
|
|
126
124
|
* @remarks
|
|
127
|
-
* The
|
|
125
|
+
* The next page token. This field is not returned in the current version.
|
|
128
126
|
*
|
|
129
127
|
* @example
|
|
130
128
|
* dGVzdA==
|
|
@@ -148,7 +146,7 @@ export class ListConnectorModelsResponseBody extends $dara.Model {
|
|
|
148
146
|
success?: boolean;
|
|
149
147
|
/**
|
|
150
148
|
* @remarks
|
|
151
|
-
* The total number of models.
|
|
149
|
+
* The total number of models returned.
|
|
152
150
|
*
|
|
153
151
|
* @example
|
|
154
152
|
* 100
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListConnectorsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The page size. The current version does not support this parameter.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 10
|
|
@@ -13,7 +13,7 @@ export class ListConnectorsRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The next page token. The current version does not support this parameter.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* dGVzdA==
|