@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.
Files changed (178) hide show
  1. package/dist/client.d.ts +118 -70
  2. package/dist/client.js +178 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
  5. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  6. package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
  7. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  8. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  9. package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
  10. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
  11. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
  12. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  13. package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
  14. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  15. package/dist/models/CreateManagedAgentRequest.d.ts +33 -12
  16. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  17. package/dist/models/CreateManagedAgentResponseBody.d.ts +40 -19
  18. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  19. package/dist/models/CreateUserRequest.d.ts +4 -4
  20. package/dist/models/CreateUserResponseBody.d.ts +7 -7
  21. package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
  22. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  23. package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
  24. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  25. package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
  26. package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
  27. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  28. package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
  29. package/dist/models/EnableConnectorRequest.d.ts +1 -1
  30. package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
  31. package/dist/models/GetExternalAgentResponseBody.d.ts +31 -6
  32. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  33. package/dist/models/GetManagedAgentResponseBody.d.ts +48 -27
  34. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  35. package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
  36. package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
  37. package/dist/models/GetUserResponseBody.d.ts +15 -9
  38. package/dist/models/GetUserResponseBody.js.map +1 -1
  39. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
  40. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
  41. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
  42. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
  43. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
  44. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
  45. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
  46. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
  47. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
  48. package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
  49. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  50. package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
  51. package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
  52. package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
  53. package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
  54. package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
  55. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
  56. package/dist/models/ListConnectorsRequest.d.ts +2 -2
  57. package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
  58. package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
  59. package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
  60. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  61. package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
  62. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  63. package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
  64. package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
  65. package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
  66. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
  67. package/dist/models/ListSandboxesRequest.d.ts +6 -3
  68. package/dist/models/ListSandboxesRequest.js.map +1 -1
  69. package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
  70. package/dist/models/ListSandboxesResponseBody.js.map +1 -1
  71. package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
  72. package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
  73. package/dist/models/ListTeamsRequest.d.ts +2 -2
  74. package/dist/models/ListTeamsResponseBody.d.ts +5 -5
  75. package/dist/models/ListUsersRequest.d.ts +12 -0
  76. package/dist/models/ListUsersRequest.js.map +1 -1
  77. package/dist/models/ListUsersResponseBody.d.ts +64 -2
  78. package/dist/models/ListUsersResponseBody.js.map +1 -1
  79. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  80. package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
  81. package/dist/models/UpdateConnectorRequest.d.ts +1 -1
  82. package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
  83. package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
  84. package/dist/models/UpdateManagedAgentRequest.d.ts +59 -20
  85. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  86. package/dist/models/UpdateManagedAgentResponseBody.d.ts +73 -27
  87. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  88. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  89. package/dist/models/UpdateUserResponseBody.d.ts +1 -1
  90. package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
  91. package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
  92. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  93. package/dist/models/VerifyConnectorRequest.d.ts +1 -1
  94. package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
  95. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
  96. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
  97. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
  98. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
  99. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
  100. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
  101. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
  102. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
  103. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
  104. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
  105. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
  106. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
  107. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
  108. package/dist/models/model.d.ts +8 -0
  109. package/dist/models/model.js +31 -15
  110. package/dist/models/model.js.map +1 -1
  111. package/package.json +1 -1
  112. package/src/client.ts +188 -70
  113. package/src/models/CreateAgentImchannelRequest.ts +4 -5
  114. package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
  115. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  116. package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
  117. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
  118. package/src/models/CreateIdentityProviderRequest.ts +7 -5
  119. package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
  120. package/src/models/CreateManagedAgentRequest.ts +33 -12
  121. package/src/models/CreateManagedAgentResponseBody.ts +40 -19
  122. package/src/models/CreateUserRequest.ts +4 -4
  123. package/src/models/CreateUserResponseBody.ts +7 -7
  124. package/src/models/CreateWorkspaceRequest.ts +9 -0
  125. package/src/models/CreateWorkspaceResponseBody.ts +13 -4
  126. package/src/models/DeleteAgentImchannelRequest.ts +1 -1
  127. package/src/models/DisableConnectorResponseBody.ts +2 -2
  128. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  129. package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
  130. package/src/models/EnableConnectorRequest.ts +1 -1
  131. package/src/models/EnableConnectorResponseBody.ts +4 -4
  132. package/src/models/GetExternalAgentResponseBody.ts +31 -6
  133. package/src/models/GetManagedAgentResponseBody.ts +48 -27
  134. package/src/models/GetServiceEndpointResponseBody.ts +8 -12
  135. package/src/models/GetUserResponseBody.ts +15 -9
  136. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
  137. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
  138. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
  139. package/src/models/GetWorkspaceResponseBody.ts +16 -12
  140. package/src/models/ListAgentImchannelsRequest.ts +6 -6
  141. package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
  142. package/src/models/ListAgentTeamsResponseBody.ts +3 -3
  143. package/src/models/ListConnectorModelsRequest.ts +3 -3
  144. package/src/models/ListConnectorModelsResponseBody.ts +7 -9
  145. package/src/models/ListConnectorsRequest.ts +2 -2
  146. package/src/models/ListConnectorsResponseBody.ts +6 -6
  147. package/src/models/ListCredentialsResponseBody.ts +2 -2
  148. package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
  149. package/src/models/ListManagedAgentsResponseBody.ts +3 -9
  150. package/src/models/ListSandboxSessionsRequest.ts +4 -1
  151. package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
  152. package/src/models/ListSandboxesRequest.ts +6 -3
  153. package/src/models/ListSandboxesResponseBody.ts +108 -0
  154. package/src/models/ListServiceEndpointsRequest.ts +1 -1
  155. package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
  156. package/src/models/ListTeamsRequest.ts +2 -2
  157. package/src/models/ListTeamsResponseBody.ts +5 -5
  158. package/src/models/ListUsersRequest.ts +12 -0
  159. package/src/models/ListUsersResponseBody.ts +64 -2
  160. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  161. package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
  162. package/src/models/UpdateConnectorRequest.ts +1 -1
  163. package/src/models/UpdateConnectorResponseBody.ts +3 -3
  164. package/src/models/UpdateCredentialResponseBody.ts +1 -1
  165. package/src/models/UpdateManagedAgentRequest.ts +59 -20
  166. package/src/models/UpdateManagedAgentResponseBody.ts +73 -27
  167. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  168. package/src/models/UpdateUserResponseBody.ts +1 -1
  169. package/src/models/UpdateWorkspaceRequest.ts +2 -2
  170. package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
  171. package/src/models/VerifyConnectorRequest.ts +1 -1
  172. package/src/models/VerifyConnectorResponseBody.ts +2 -2
  173. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
  174. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
  175. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
  176. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
  177. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
  178. package/src/models/model.ts +8 -0
package/src/client.ts CHANGED
@@ -319,11 +319,11 @@ export default class Client extends OpenApi {
319
319
  }
320
320
 
321
321
  /**
322
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must not be a draft currently being edited.
322
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
323
323
  *
324
324
  * @remarks
325
325
  * ## Request description
326
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must not be a draft currently being edited.
326
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
327
327
  *
328
328
  * @param tmpReq - CreateAgentSpecVersionRequest
329
329
  * @param headers - map
@@ -362,11 +362,11 @@ export default class Client extends OpenApi {
362
362
  }
363
363
 
364
364
  /**
365
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must not be a draft currently being edited.
365
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
366
366
  *
367
367
  * @remarks
368
368
  * ## Request description
369
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must not be a draft currently being edited.
369
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
370
370
  *
371
371
  * @param request - CreateAgentSpecVersionRequest
372
372
  * @returns CreateAgentSpecVersionResponse
@@ -504,10 +504,10 @@ export default class Client extends OpenApi {
504
504
  }
505
505
 
506
506
  /**
507
- * Creates a Bootstrap Token and CMS configuration required for connecting a specified external agent.
507
+ * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
508
508
  *
509
509
  * @remarks
510
- * Creates a Bootstrap Token and CMS configuration required for connecting a specified external agent.
510
+ * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
511
511
  *
512
512
  * @param request - CreateExternalAgentBootstrapTokenRequest
513
513
  * @param headers - map
@@ -540,10 +540,10 @@ export default class Client extends OpenApi {
540
540
  }
541
541
 
542
542
  /**
543
- * Creates a Bootstrap Token and CMS configuration required for connecting a specified external agent.
543
+ * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
544
544
  *
545
545
  * @remarks
546
- * Creates a Bootstrap Token and CMS configuration required for connecting a specified external agent.
546
+ * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
547
547
  *
548
548
  * @param request - CreateExternalAgentBootstrapTokenRequest
549
549
  * @returns CreateExternalAgentBootstrapTokenResponse
@@ -555,7 +555,7 @@ export default class Client extends OpenApi {
555
555
  }
556
556
 
557
557
  /**
558
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can track the progress by querying the status through GetIdentityProvider.
558
+ * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
559
559
  *
560
560
  * @param tmpReq - CreateIdentityProviderRequest
561
561
  * @param headers - map
@@ -594,7 +594,7 @@ export default class Client extends OpenApi {
594
594
  }
595
595
 
596
596
  /**
597
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can track the progress by querying the status through GetIdentityProvider.
597
+ * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
598
598
  *
599
599
  * @param request - CreateIdentityProviderRequest
600
600
  * @returns CreateIdentityProviderResponse
@@ -1018,7 +1018,7 @@ export default class Client extends OpenApi {
1018
1018
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1019
1019
  *
1020
1020
  * @remarks
1021
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
1021
+ * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1022
1022
  *
1023
1023
  * @param tmpReq - CreateWorkspaceRequest
1024
1024
  * @param headers - map
@@ -1066,7 +1066,7 @@ export default class Client extends OpenApi {
1066
1066
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1067
1067
  *
1068
1068
  * @remarks
1069
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
1069
+ * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1070
1070
  *
1071
1071
  * @param request - CreateWorkspaceRequest
1072
1072
  * @returns CreateWorkspaceResponse
@@ -1820,10 +1820,10 @@ export default class Client extends OpenApi {
1820
1820
  }
1821
1821
 
1822
1822
  /**
1823
- * Disables a Connector.
1823
+ * Disables a QoderCLI Connector in a specified workspace. The Connector can be disabled only when no Agent is using it. After the Connector is disabled, the Connector and its Service Account Key configuration are removed.
1824
1824
  *
1825
1825
  * @remarks
1826
- * Disables a specified Connector in a workspace.
1826
+ * Disables a Connector in a specified workspace.
1827
1827
  *
1828
1828
  * @param request - DisableConnectorRequest
1829
1829
  * @param headers - map
@@ -1850,10 +1850,10 @@ export default class Client extends OpenApi {
1850
1850
  }
1851
1851
 
1852
1852
  /**
1853
- * Disables a Connector.
1853
+ * Disables a QoderCLI Connector in a specified workspace. The Connector can be disabled only when no Agent is using it. After the Connector is disabled, the Connector and its Service Account Key configuration are removed.
1854
1854
  *
1855
1855
  * @remarks
1856
- * Disables a specified Connector in a workspace.
1856
+ * Disables a Connector in a specified workspace.
1857
1857
  *
1858
1858
  * @param request - DisableConnectorRequest
1859
1859
  * @returns DisableConnectorResponse
@@ -1865,7 +1865,7 @@ export default class Client extends OpenApi {
1865
1865
  }
1866
1866
 
1867
1867
  /**
1868
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec ZIP package.
1868
+ * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
1869
1869
  *
1870
1870
  * @remarks
1871
1871
  * ## Operation description
@@ -1902,7 +1902,7 @@ export default class Client extends OpenApi {
1902
1902
  }
1903
1903
 
1904
1904
  /**
1905
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec ZIP package.
1905
+ * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
1906
1906
  *
1907
1907
  * @remarks
1908
1908
  * ## Operation description
@@ -1965,10 +1965,10 @@ export default class Client extends OpenApi {
1965
1965
  }
1966
1966
 
1967
1967
  /**
1968
- * Enables a Connector.
1968
+ * Enables a QoderCLI Connector in a specified workspace. The request must include the site, API key, and at least one service account key. The service validates all account keys before saving the configuration.
1969
1969
  *
1970
1970
  * @remarks
1971
- * Enables a Connector in a specified workspace. Credential verification is required before enabling.
1971
+ * Enables a Connector in a specified workspace. Credential verification is required before the Connector can be enabled.
1972
1972
  *
1973
1973
  * @param tmpReq - EnableConnectorRequest
1974
1974
  * @param headers - map
@@ -2007,10 +2007,10 @@ export default class Client extends OpenApi {
2007
2007
  }
2008
2008
 
2009
2009
  /**
2010
- * Enables a Connector.
2010
+ * Enables a QoderCLI Connector in a specified workspace. The request must include the site, API key, and at least one service account key. The service validates all account keys before saving the configuration.
2011
2011
  *
2012
2012
  * @remarks
2013
- * Enables a Connector in a specified workspace. Credential verification is required before enabling.
2013
+ * Enables a Connector in a specified workspace. Credential verification is required before the Connector can be enabled.
2014
2014
  *
2015
2015
  * @param request - EnableConnectorRequest
2016
2016
  * @returns EnableConnectorResponse
@@ -2979,7 +2979,7 @@ export default class Client extends OpenApi {
2979
2979
  }
2980
2980
 
2981
2981
  /**
2982
- * Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
2982
+ * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
2983
2983
  *
2984
2984
  * @param request - GetUserRequest
2985
2985
  * @param headers - map
@@ -3006,7 +3006,7 @@ export default class Client extends OpenApi {
3006
3006
  }
3007
3007
 
3008
3008
  /**
3009
- * Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
3009
+ * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
3010
3010
  *
3011
3011
  * @param request - GetUserRequest
3012
3012
  * @returns GetUserResponse
@@ -3062,6 +3062,65 @@ export default class Client extends OpenApi {
3062
3062
  return await this.getWorkspaceWithOptions(workspaceId, request, headers, runtime);
3063
3063
  }
3064
3064
 
3065
+ /**
3066
+ * Queries the ACR RAM authorization URL for a workspace.
3067
+ *
3068
+ * @remarks
3069
+ * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3070
+ *
3071
+ * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3072
+ * @param headers - map
3073
+ * @param runtime - runtime options for this request RuntimeOptions
3074
+ * @returns GetWorkspaceAcrRamAuthorizeUrlResponse
3075
+ */
3076
+ async getWorkspaceAcrRamAuthorizeUrlWithOptions(workspaceId: string, request: $_model.GetWorkspaceAcrRamAuthorizeUrlRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceAcrRamAuthorizeUrlResponse> {
3077
+ request.validate();
3078
+ let query : {[key: string ]: any} = { };
3079
+ if (!$dara.isNull(request.acrInstanceId)) {
3080
+ query["acrInstanceId"] = request.acrInstanceId;
3081
+ }
3082
+
3083
+ if (!$dara.isNull(request.namespace)) {
3084
+ query["namespace"] = request.namespace;
3085
+ }
3086
+
3087
+ if (!$dara.isNull(request.repository)) {
3088
+ query["repository"] = request.repository;
3089
+ }
3090
+
3091
+ let req = new $OpenApiUtil.OpenApiRequest({
3092
+ headers: headers,
3093
+ query: OpenApiUtil.query(query),
3094
+ });
3095
+ let params = new $OpenApiUtil.Params({
3096
+ action: "GetWorkspaceAcrRamAuthorizeUrl",
3097
+ version: "2026-08-04",
3098
+ protocol: "HTTPS",
3099
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/acr/authorize`,
3100
+ method: "GET",
3101
+ authType: "AK",
3102
+ style: "ROA",
3103
+ reqBodyType: "json",
3104
+ bodyType: "json",
3105
+ });
3106
+ return $dara.cast<$_model.GetWorkspaceAcrRamAuthorizeUrlResponse>(await this.callApi(params, req, runtime), new $_model.GetWorkspaceAcrRamAuthorizeUrlResponse({}));
3107
+ }
3108
+
3109
+ /**
3110
+ * Queries the ACR RAM authorization URL for a workspace.
3111
+ *
3112
+ * @remarks
3113
+ * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3114
+ *
3115
+ * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3116
+ * @returns GetWorkspaceAcrRamAuthorizeUrlResponse
3117
+ */
3118
+ async getWorkspaceAcrRamAuthorizeUrl(workspaceId: string, request: $_model.GetWorkspaceAcrRamAuthorizeUrlRequest): Promise<$_model.GetWorkspaceAcrRamAuthorizeUrlResponse> {
3119
+ let runtime = new $dara.RuntimeOptions({ });
3120
+ let headers : {[key: string ]: string} = { };
3121
+ return await this.getWorkspaceAcrRamAuthorizeUrlWithOptions(workspaceId, request, headers, runtime);
3122
+ }
3123
+
3065
3124
  /**
3066
3125
  * Queries the plug-in status of a specified workspace.
3067
3126
  *
@@ -3238,10 +3297,10 @@ export default class Client extends OpenApi {
3238
3297
  }
3239
3298
 
3240
3299
  /**
3241
- * Queries the IM channel list of a specified agent.
3300
+ * Queries the list of IM channels for a specified agent.
3242
3301
  *
3243
3302
  * @remarks
3244
- * Queries the IM channel list of a specified agent.
3303
+ * Queries the list of IM channels for a specified agent.
3245
3304
  *
3246
3305
  * @param request - ListAgentIMChannelsRequest
3247
3306
  * @param headers - map
@@ -3286,10 +3345,10 @@ export default class Client extends OpenApi {
3286
3345
  }
3287
3346
 
3288
3347
  /**
3289
- * Queries the IM channel list of a specified agent.
3348
+ * Queries the list of IM channels for a specified agent.
3290
3349
  *
3291
3350
  * @remarks
3292
- * Queries the IM channel list of a specified agent.
3351
+ * Queries the list of IM channels for a specified agent.
3293
3352
  *
3294
3353
  * @param request - ListAgentIMChannelsRequest
3295
3354
  * @returns ListAgentIMChannelsResponse
@@ -3386,7 +3445,7 @@ export default class Client extends OpenApi {
3386
3445
  }
3387
3446
 
3388
3447
  /**
3389
- * Queries the list of teams to which specified agents belong. Specify the agent IDs through agentIds to retrieve the membership information between each agent and its teams, including the team ID, team name, and the role that the agent assumes in the team.
3448
+ * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
3390
3449
  *
3391
3450
  * @param tmpReq - ListAgentTeamsRequest
3392
3451
  * @param headers - map
@@ -3425,7 +3484,7 @@ export default class Client extends OpenApi {
3425
3484
  }
3426
3485
 
3427
3486
  /**
3428
- * Queries the list of teams to which specified agents belong. Specify the agent IDs through agentIds to retrieve the membership information between each agent and its teams, including the team ID, team name, and the role that the agent assumes in the team.
3487
+ * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
3429
3488
  *
3430
3489
  * @param request - ListAgentTeamsRequest
3431
3490
  * @returns ListAgentTeamsResponse
@@ -3437,10 +3496,10 @@ export default class Client extends OpenApi {
3437
3496
  }
3438
3497
 
3439
3498
  /**
3440
- * Queries the list of models for a connector.
3499
+ * Queries the available official models and enterprise models for an enabled QoderCLI Connector. The service retrieves models in real time by using the saved API key and organization ID, and deduplicates the results by model ID.
3441
3500
  *
3442
3501
  * @remarks
3443
- * Queries the list of available models for a specified connector. Pagination is supported.
3502
+ * Queries the list of available models for a specified Connector. Pagination is supported.
3444
3503
  *
3445
3504
  * @param request - ListConnectorModelsRequest
3446
3505
  * @param headers - map
@@ -3481,10 +3540,10 @@ export default class Client extends OpenApi {
3481
3540
  }
3482
3541
 
3483
3542
  /**
3484
- * Queries the list of models for a connector.
3543
+ * Queries the available official models and enterprise models for an enabled QoderCLI Connector. The service retrieves models in real time by using the saved API key and organization ID, and deduplicates the results by model ID.
3485
3544
  *
3486
3545
  * @remarks
3487
- * Queries the list of available models for a specified connector. Pagination is supported.
3546
+ * Queries the list of available models for a specified Connector. Pagination is supported.
3488
3547
  *
3489
3548
  * @param request - ListConnectorModelsRequest
3490
3549
  * @returns ListConnectorModelsResponse
@@ -3496,7 +3555,7 @@ export default class Client extends OpenApi {
3496
3555
  }
3497
3556
 
3498
3557
  /**
3499
- * Queries the list of connectors.
3558
+ * Queries the list of connectors supported by a specified workspace, including their status, number of bound agents, and configurations. The current version returns the QoderCLI connector.
3500
3559
  *
3501
3560
  * @remarks
3502
3561
  * Queries the list of connectors in a specified workspace.
@@ -3536,7 +3595,7 @@ export default class Client extends OpenApi {
3536
3595
  }
3537
3596
 
3538
3597
  /**
3539
- * Queries the list of connectors.
3598
+ * Queries the list of connectors supported by a specified workspace, including their status, number of bound agents, and configurations. The current version returns the QoderCLI connector.
3540
3599
  *
3541
3600
  * @remarks
3542
3601
  * Queries the list of connectors in a specified workspace.
@@ -3551,10 +3610,10 @@ export default class Client extends OpenApi {
3551
3610
  }
3552
3611
 
3553
3612
  /**
3554
- * Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3613
+ * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
3555
3614
  *
3556
3615
  * @remarks
3557
- * Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
3616
+ * Queries credentials in a workspace with paging. Supports filtering by type and name.
3558
3617
  *
3559
3618
  * @param request - ListCredentialsRequest
3560
3619
  * @param headers - map
@@ -3603,10 +3662,10 @@ export default class Client extends OpenApi {
3603
3662
  }
3604
3663
 
3605
3664
  /**
3606
- * Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3665
+ * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
3607
3666
  *
3608
3667
  * @remarks
3609
- * Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
3668
+ * Queries credentials in a workspace with paging. Supports filtering by type and name.
3610
3669
  *
3611
3670
  * @param request - ListCredentialsRequest
3612
3671
  * @returns ListCredentialsResponse
@@ -3725,7 +3784,7 @@ export default class Client extends OpenApi {
3725
3784
  * Queries the list of managed agents in a specified workspace.
3726
3785
  *
3727
3786
  * @remarks
3728
- * Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
3787
+ * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
3729
3788
  *
3730
3789
  * @param request - ListManagedAgentsRequest
3731
3790
  * @param headers - map
@@ -3765,7 +3824,7 @@ export default class Client extends OpenApi {
3765
3824
  * Queries the list of managed agents in a specified workspace.
3766
3825
  *
3767
3826
  * @remarks
3768
- * Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
3827
+ * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
3769
3828
  *
3770
3829
  * @param request - ListManagedAgentsRequest
3771
3830
  * @returns ListManagedAgentsResponse
@@ -4184,10 +4243,10 @@ export default class Client extends OpenApi {
4184
4243
  }
4185
4244
 
4186
4245
  /**
4187
- * Queries the list of Sandbox sessions.
4246
+ * Queries the list of active sessions in the sandbox of a specified managed agent by paging, and returns the session source and external channel type.
4188
4247
  *
4189
4248
  * @remarks
4190
- * Queries the list of active sessions in the Sandbox of a specified managed agent.
4249
+ * Queries the list of active sessions in the sandbox of a specified managed agent.
4191
4250
  *
4192
4251
  * @param request - ListSandboxSessionsRequest
4193
4252
  * @param headers - map
@@ -4224,10 +4283,10 @@ export default class Client extends OpenApi {
4224
4283
  }
4225
4284
 
4226
4285
  /**
4227
- * Queries the list of Sandbox sessions.
4286
+ * Queries the list of active sessions in the sandbox of a specified managed agent by paging, and returns the session source and external channel type.
4228
4287
  *
4229
4288
  * @remarks
4230
- * Queries the list of active sessions in the Sandbox of a specified managed agent.
4289
+ * Queries the list of active sessions in the sandbox of a specified managed agent.
4231
4290
  *
4232
4291
  * @param request - ListSandboxSessionsRequest
4233
4292
  * @returns ListSandboxSessionsResponse
@@ -4239,10 +4298,10 @@ export default class Client extends OpenApi {
4239
4298
  }
4240
4299
 
4241
4300
  /**
4242
- * Queries a list of sandboxes.
4301
+ * Queries the list of sandboxes for a managed agent in a specified workspace. You can filter results by sandbox ID and active session ID fragments.
4243
4302
  *
4244
4303
  * @remarks
4245
- * Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
4304
+ * Queries the list of sandboxes for a specified managed agent. The searchText parameter performs a fuzzy match on sandbox ID fragments, and the sessionId parameter performs a fuzzy match on active session ID fragments. Both parameters are case-insensitive and can be used together with AND logic.
4246
4305
  *
4247
4306
  * @param request - ListSandboxesRequest
4248
4307
  * @param headers - map
@@ -4287,10 +4346,10 @@ export default class Client extends OpenApi {
4287
4346
  }
4288
4347
 
4289
4348
  /**
4290
- * Queries a list of sandboxes.
4349
+ * Queries the list of sandboxes for a managed agent in a specified workspace. You can filter results by sandbox ID and active session ID fragments.
4291
4350
  *
4292
4351
  * @remarks
4293
- * Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
4352
+ * Queries the list of sandboxes for a specified managed agent. The searchText parameter performs a fuzzy match on sandbox ID fragments, and the sessionId parameter performs a fuzzy match on active session ID fragments. Both parameters are case-insensitive and can be used together with AND logic.
4294
4353
  *
4295
4354
  * @param request - ListSandboxesRequest
4296
4355
  * @returns ListSandboxesResponse
@@ -4305,7 +4364,7 @@ export default class Client extends OpenApi {
4305
4364
  * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
4306
4365
  *
4307
4366
  * @remarks
4308
- * ## Request description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4367
+ * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page and nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4309
4368
  *
4310
4369
  * @param request - ListServiceEndpointsRequest
4311
4370
  * @param headers - map
@@ -4369,7 +4428,7 @@ export default class Client extends OpenApi {
4369
4428
  * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
4370
4429
  *
4371
4430
  * @remarks
4372
- * ## Request description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4431
+ * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page and nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4373
4432
  *
4374
4433
  * @param request - ListServiceEndpointsRequest
4375
4434
  * @returns ListServiceEndpointsResponse
@@ -4466,7 +4525,7 @@ export default class Client extends OpenApi {
4466
4525
  }
4467
4526
 
4468
4527
  /**
4469
- * Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
4528
+ * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
4470
4529
  *
4471
4530
  * @param request - ListTeamsRequest
4472
4531
  * @param headers - map
@@ -4507,7 +4566,7 @@ export default class Client extends OpenApi {
4507
4566
  }
4508
4567
 
4509
4568
  /**
4510
- * Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
4569
+ * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
4511
4570
  *
4512
4571
  * @param request - ListTeamsRequest
4513
4572
  * @returns ListTeamsResponse
@@ -4519,7 +4578,7 @@ export default class Client extends OpenApi {
4519
4578
  }
4520
4579
 
4521
4580
  /**
4522
- * 查询用户列表
4581
+ * Queries users in a specified workspace with paging. Use nameLike to filter by username with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
4523
4582
  *
4524
4583
  * @param request - ListUsersRequest
4525
4584
  * @param headers - map
@@ -4564,7 +4623,7 @@ export default class Client extends OpenApi {
4564
4623
  }
4565
4624
 
4566
4625
  /**
4567
- * 查询用户列表
4626
+ * Queries users in a specified workspace with paging. Use nameLike to filter by username with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
4568
4627
  *
4569
4628
  * @param request - ListUsersRequest
4570
4629
  * @returns ListUsersResponse
@@ -5284,10 +5343,10 @@ export default class Client extends OpenApi {
5284
5343
  }
5285
5344
 
5286
5345
  /**
5287
- * Updates the credentials of a Connector.
5346
+ * Updates the API Key or Service Account Key collection for an enabled QoderCLI Connector. When serviceAccountKeys is submitted, the service treats it as the complete updated key collection and performs additions, renames, rotations, and deletions accordingly.
5288
5347
  *
5289
5348
  * @remarks
5290
- * Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
5349
+ * Updates the sensitive configuration of a specified Connector and aligns Service Account Keys by ID.
5291
5350
  *
5292
5351
  * @param tmpReq - UpdateConnectorRequest
5293
5352
  * @param headers - map
@@ -5326,10 +5385,10 @@ export default class Client extends OpenApi {
5326
5385
  }
5327
5386
 
5328
5387
  /**
5329
- * Updates the credentials of a Connector.
5388
+ * Updates the API Key or Service Account Key collection for an enabled QoderCLI Connector. When serviceAccountKeys is submitted, the service treats it as the complete updated key collection and performs additions, renames, rotations, and deletions accordingly.
5330
5389
  *
5331
5390
  * @remarks
5332
- * Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
5391
+ * Updates the sensitive configuration of a specified Connector and aligns Service Account Keys by ID.
5333
5392
  *
5334
5393
  * @param request - UpdateConnectorRequest
5335
5394
  * @returns UpdateConnectorResponse
@@ -6122,10 +6181,10 @@ export default class Client extends OpenApi {
6122
6181
  }
6123
6182
 
6124
6183
  /**
6125
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
6184
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
6126
6185
  *
6127
6186
  * @remarks
6128
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
6187
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
6129
6188
  *
6130
6189
  * @param tmpReq - UpdateWorkspaceRequest
6131
6190
  * @param headers - map
@@ -6170,10 +6229,10 @@ export default class Client extends OpenApi {
6170
6229
  }
6171
6230
 
6172
6231
  /**
6173
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
6232
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
6174
6233
  *
6175
6234
  * @remarks
6176
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
6235
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
6177
6236
  *
6178
6237
  * @param request - UpdateWorkspaceRequest
6179
6238
  * @returns UpdateWorkspaceResponse
@@ -6303,7 +6362,7 @@ export default class Client extends OpenApi {
6303
6362
  }
6304
6363
 
6305
6364
  /**
6306
- * Validates the credentials of a Connector.
6365
+ * Validates whether one or more Qoder Service Account Keys are available at a specified site. This operation does not save keys or modify the Connector status.
6307
6366
  *
6308
6367
  * @remarks
6309
6368
  * Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
@@ -6345,7 +6404,7 @@ export default class Client extends OpenApi {
6345
6404
  }
6346
6405
 
6347
6406
  /**
6348
- * Validates the credentials of a Connector.
6407
+ * Validates whether one or more Qoder Service Account Keys are available at a specified site. This operation does not save keys or modify the Connector status.
6349
6408
  *
6350
6409
  * @remarks
6351
6410
  * Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
@@ -6360,10 +6419,69 @@ export default class Client extends OpenApi {
6360
6419
  }
6361
6420
 
6362
6421
  /**
6363
- * Verifies the RAM authorization for an OSS mount in a workspace.
6422
+ * Verifies the ACR RAM authorization of a workspace.
6423
+ *
6424
+ * @remarks
6425
+ * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been delivered. Creating or updating an Agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through Agent details.
6426
+ *
6427
+ * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6428
+ * @param headers - map
6429
+ * @param runtime - runtime options for this request RuntimeOptions
6430
+ * @returns VerifyWorkspaceAcrRamAuthorizationResponse
6431
+ */
6432
+ async verifyWorkspaceAcrRamAuthorizationWithOptions(workspaceId: string, request: $_model.VerifyWorkspaceAcrRamAuthorizationRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.VerifyWorkspaceAcrRamAuthorizationResponse> {
6433
+ request.validate();
6434
+ let query : {[key: string ]: any} = { };
6435
+ if (!$dara.isNull(request.acrInstanceId)) {
6436
+ query["acrInstanceId"] = request.acrInstanceId;
6437
+ }
6438
+
6439
+ if (!$dara.isNull(request.namespace)) {
6440
+ query["namespace"] = request.namespace;
6441
+ }
6442
+
6443
+ if (!$dara.isNull(request.repository)) {
6444
+ query["repository"] = request.repository;
6445
+ }
6446
+
6447
+ let req = new $OpenApiUtil.OpenApiRequest({
6448
+ headers: headers,
6449
+ query: OpenApiUtil.query(query),
6450
+ });
6451
+ let params = new $OpenApiUtil.Params({
6452
+ action: "VerifyWorkspaceAcrRamAuthorization",
6453
+ version: "2026-08-04",
6454
+ protocol: "HTTPS",
6455
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/acr/authorize/verify`,
6456
+ method: "POST",
6457
+ authType: "AK",
6458
+ style: "ROA",
6459
+ reqBodyType: "json",
6460
+ bodyType: "json",
6461
+ });
6462
+ return $dara.cast<$_model.VerifyWorkspaceAcrRamAuthorizationResponse>(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceAcrRamAuthorizationResponse({}));
6463
+ }
6464
+
6465
+ /**
6466
+ * Verifies the ACR RAM authorization of a workspace.
6467
+ *
6468
+ * @remarks
6469
+ * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been delivered. Creating or updating an Agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through Agent details.
6470
+ *
6471
+ * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6472
+ * @returns VerifyWorkspaceAcrRamAuthorizationResponse
6473
+ */
6474
+ async verifyWorkspaceAcrRamAuthorization(workspaceId: string, request: $_model.VerifyWorkspaceAcrRamAuthorizationRequest): Promise<$_model.VerifyWorkspaceAcrRamAuthorizationResponse> {
6475
+ let runtime = new $dara.RuntimeOptions({ });
6476
+ let headers : {[key: string ]: string} = { };
6477
+ return await this.verifyWorkspaceAcrRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
6478
+ }
6479
+
6480
+ /**
6481
+ * Verifies the RAM authorization for a workspace to access an OSS bucket and returns the current authorization status. When bucketName is specified, verifies the authorization for an agent-mounted bucket. When bucketName is not specified, verifies and updates the authorization status of the workspace\\"s private OSS storage.
6364
6482
  *
6365
6483
  * @remarks
6366
- * Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
6484
+ * Queries whether the workspace OSS mount role is bound to the custom RAM policy corresponding to the target bucket, and returns AUTHORIZED or UNAUTHORIZED. When bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. When bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks. Alibaba Cloud Container Registry (ACR) and user OSS mounts share the workspace role. If no existing role is available, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are only appended without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not recreated or renamed due to new naming templates.
6367
6485
  *
6368
6486
  * @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
6369
6487
  * @param headers - map
@@ -6396,10 +6514,10 @@ export default class Client extends OpenApi {
6396
6514
  }
6397
6515
 
6398
6516
  /**
6399
- * Verifies the RAM authorization for an OSS mount in a workspace.
6517
+ * Verifies the RAM authorization for a workspace to access an OSS bucket and returns the current authorization status. When bucketName is specified, verifies the authorization for an agent-mounted bucket. When bucketName is not specified, verifies and updates the authorization status of the workspace\\"s private OSS storage.
6400
6518
  *
6401
6519
  * @remarks
6402
- * Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
6520
+ * Queries whether the workspace OSS mount role is bound to the custom RAM policy corresponding to the target bucket, and returns AUTHORIZED or UNAUTHORIZED. When bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. When bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks. Alibaba Cloud Container Registry (ACR) and user OSS mounts share the workspace role. If no existing role is available, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are only appended without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not recreated or renamed due to new naming templates.
6403
6521
  *
6404
6522
  * @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
6405
6523
  * @returns VerifyWorkspaceOssMountRamAuthorizationResponse