@alicloud/agentcore20260804 2.4.0 → 2.5.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 +144 -24
- package/dist/client.js +335 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +63 -33
- package/dist/models/CreateCustomAgentRequest.js +27 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +193 -41
- package/dist/models/CreateCustomAgentResponseBody.js +59 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateImageCacheRequest.d.ts +122 -0
- package/dist/models/CreateImageCacheRequest.js +96 -0
- package/dist/models/CreateImageCacheRequest.js.map +1 -0
- package/dist/models/CreateImageCacheResponse.d.ts +19 -0
- package/dist/models/CreateImageCacheResponse.js +69 -0
- package/dist/models/CreateImageCacheResponse.js.map +1 -0
- package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
- package/dist/models/CreateImageCacheResponseBody.js +140 -0
- package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
- package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
- package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
- package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
- package/dist/models/DeleteImageCacheRequest.js +60 -0
- package/dist/models/DeleteImageCacheRequest.js.map +1 -0
- package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
- package/dist/models/DeleteImageCacheResponse.js +69 -0
- package/dist/models/DeleteImageCacheResponse.js.map +1 -0
- package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
- package/dist/models/DeleteImageCacheResponseBody.js +92 -0
- package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +130 -66
- package/dist/models/GetCustomAgentResponseBody.js +31 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetImageCacheRequest.d.ts +33 -0
- package/dist/models/GetImageCacheRequest.js +60 -0
- package/dist/models/GetImageCacheRequest.js.map +1 -0
- package/dist/models/GetImageCacheResponse.d.ts +19 -0
- package/dist/models/GetImageCacheResponse.js +69 -0
- package/dist/models/GetImageCacheResponse.js.map +1 -0
- package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
- package/dist/models/GetImageCacheResponseBody.js +140 -0
- package/dist/models/GetImageCacheResponseBody.js.map +1 -0
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +23 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
- package/dist/models/ListImageCachesRequest.d.ts +113 -0
- package/dist/models/ListImageCachesRequest.js +80 -0
- package/dist/models/ListImageCachesRequest.js.map +1 -0
- package/dist/models/ListImageCachesResponse.d.ts +19 -0
- package/dist/models/ListImageCachesResponse.js +69 -0
- package/dist/models/ListImageCachesResponse.js.map +1 -0
- package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
- package/dist/models/ListImageCachesResponseBody.js +146 -0
- package/dist/models/ListImageCachesResponseBody.js.map +1 -0
- package/dist/models/RetryImageCacheRequest.d.ts +60 -0
- package/dist/models/RetryImageCacheRequest.js +82 -0
- package/dist/models/RetryImageCacheRequest.js.map +1 -0
- package/dist/models/RetryImageCacheResponse.d.ts +19 -0
- package/dist/models/RetryImageCacheResponse.js +69 -0
- package/dist/models/RetryImageCacheResponse.js.map +1 -0
- package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
- package/dist/models/RetryImageCacheResponseBody.js +140 -0
- package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
- package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
- package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
- package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentRequest.d.ts +68 -35
- package/dist/models/UpdateCustomAgentRequest.js +27 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +184 -49
- package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +33 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +35 -0
- package/dist/models/model.js +157 -86
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +371 -24
- package/src/models/CreateCustomAgentRequest.ts +80 -33
- package/src/models/CreateCustomAgentResponseBody.ts +233 -41
- package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/CreateImageCacheRequest.ts +164 -0
- package/src/models/CreateImageCacheResponse.ts +40 -0
- package/src/models/CreateImageCacheResponseBody.ts +337 -0
- package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
- package/src/models/DeleteImageCacheRequest.ts +48 -0
- package/src/models/DeleteImageCacheResponse.ts +40 -0
- package/src/models/DeleteImageCacheResponseBody.ts +140 -0
- package/src/models/GetCustomAgentResponseBody.ts +151 -66
- package/src/models/GetImageCacheRequest.ts +48 -0
- package/src/models/GetImageCacheResponse.ts +40 -0
- package/src/models/GetImageCacheResponseBody.ts +341 -0
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +23 -1
- package/src/models/ListImageCachesRequest.ts +148 -0
- package/src/models/ListImageCachesResponse.ts +40 -0
- package/src/models/ListImageCachesResponseBody.ts +373 -0
- package/src/models/RetryImageCacheRequest.ts +90 -0
- package/src/models/RetryImageCacheResponse.ts +40 -0
- package/src/models/RetryImageCacheResponseBody.ts +341 -0
- package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
- package/src/models/UpdateCustomAgentRequest.ts +85 -35
- package/src/models/UpdateCustomAgentResponseBody.ts +224 -49
- package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +33 -3
- package/src/models/model.ts +35 -0
package/dist/client.js
CHANGED
|
@@ -501,8 +501,8 @@ class Client extends openapi_core_1.default {
|
|
|
501
501
|
* @remarks
|
|
502
502
|
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
503
503
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
504
|
-
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure
|
|
505
|
-
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
504
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
505
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
506
506
|
*
|
|
507
507
|
* @param tmpReq - CreateCustomAgentRequest
|
|
508
508
|
* @param headers - map
|
|
@@ -548,8 +548,8 @@ class Client extends openapi_core_1.default {
|
|
|
548
548
|
* @remarks
|
|
549
549
|
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
550
550
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
551
|
-
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure
|
|
552
|
-
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
551
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
552
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
553
553
|
*
|
|
554
554
|
* @param request - CreateCustomAgentRequest
|
|
555
555
|
* @returns CreateCustomAgentResponse
|
|
@@ -712,6 +712,70 @@ class Client extends openapi_core_1.default {
|
|
|
712
712
|
let headers = {};
|
|
713
713
|
return await this.createIdentityProviderWithOptions(workspaceId, request, headers, runtime);
|
|
714
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* Creates an image cache.
|
|
717
|
+
*
|
|
718
|
+
* @remarks
|
|
719
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
720
|
+
*
|
|
721
|
+
* @param tmpReq - CreateImageCacheRequest
|
|
722
|
+
* @param headers - map
|
|
723
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
724
|
+
* @returns CreateImageCacheResponse
|
|
725
|
+
*/
|
|
726
|
+
async createImageCacheWithOptions(tmpReq, headers, runtime) {
|
|
727
|
+
tmpReq.validate();
|
|
728
|
+
let request = new $_model.CreateImageCacheShrinkRequest({});
|
|
729
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
730
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
731
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
732
|
+
}
|
|
733
|
+
let query = {};
|
|
734
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
735
|
+
query["clientToken"] = request.clientToken;
|
|
736
|
+
}
|
|
737
|
+
if (!$dara.isNull(request.regionId)) {
|
|
738
|
+
query["regionId"] = request.regionId;
|
|
739
|
+
}
|
|
740
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
741
|
+
query["workspaceId"] = request.workspaceId;
|
|
742
|
+
}
|
|
743
|
+
let body = {};
|
|
744
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
745
|
+
body["body"] = request.bodyShrink;
|
|
746
|
+
}
|
|
747
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
748
|
+
headers: headers,
|
|
749
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
750
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
751
|
+
});
|
|
752
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
753
|
+
action: "CreateImageCache",
|
|
754
|
+
version: "2026-08-04",
|
|
755
|
+
protocol: "HTTPS",
|
|
756
|
+
pathname: `/image-caches`,
|
|
757
|
+
method: "POST",
|
|
758
|
+
authType: "AK",
|
|
759
|
+
style: "ROA",
|
|
760
|
+
reqBodyType: "formData",
|
|
761
|
+
bodyType: "json",
|
|
762
|
+
});
|
|
763
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateImageCacheResponse({}));
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Creates an image cache.
|
|
767
|
+
*
|
|
768
|
+
* @remarks
|
|
769
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
770
|
+
*
|
|
771
|
+
* @param request - CreateImageCacheRequest
|
|
772
|
+
* @returns CreateImageCacheResponse
|
|
773
|
+
*/
|
|
774
|
+
async createImageCache(request) {
|
|
775
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
776
|
+
let headers = {};
|
|
777
|
+
return await this.createImageCacheWithOptions(request, headers, runtime);
|
|
778
|
+
}
|
|
715
779
|
/**
|
|
716
780
|
* Creates a managed agent in a specified workspace.
|
|
717
781
|
*
|
|
@@ -1568,6 +1632,57 @@ class Client extends openapi_core_1.default {
|
|
|
1568
1632
|
let headers = {};
|
|
1569
1633
|
return await this.deleteIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
1570
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Deletes an image cache.
|
|
1637
|
+
*
|
|
1638
|
+
* @remarks
|
|
1639
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1640
|
+
*
|
|
1641
|
+
* @param request - DeleteImageCacheRequest
|
|
1642
|
+
* @param headers - map
|
|
1643
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1644
|
+
* @returns DeleteImageCacheResponse
|
|
1645
|
+
*/
|
|
1646
|
+
async deleteImageCacheWithOptions(imageId, request, headers, runtime) {
|
|
1647
|
+
request.validate();
|
|
1648
|
+
let query = {};
|
|
1649
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1650
|
+
query["regionId"] = request.regionId;
|
|
1651
|
+
}
|
|
1652
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
1653
|
+
query["workspaceId"] = request.workspaceId;
|
|
1654
|
+
}
|
|
1655
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1656
|
+
headers: headers,
|
|
1657
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1658
|
+
});
|
|
1659
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1660
|
+
action: "DeleteImageCache",
|
|
1661
|
+
version: "2026-08-04",
|
|
1662
|
+
protocol: "HTTPS",
|
|
1663
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
1664
|
+
method: "DELETE",
|
|
1665
|
+
authType: "AK",
|
|
1666
|
+
style: "ROA",
|
|
1667
|
+
reqBodyType: "json",
|
|
1668
|
+
bodyType: "json",
|
|
1669
|
+
});
|
|
1670
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageCacheResponse({}));
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Deletes an image cache.
|
|
1674
|
+
*
|
|
1675
|
+
* @remarks
|
|
1676
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1677
|
+
*
|
|
1678
|
+
* @param request - DeleteImageCacheRequest
|
|
1679
|
+
* @returns DeleteImageCacheResponse
|
|
1680
|
+
*/
|
|
1681
|
+
async deleteImageCache(imageId, request) {
|
|
1682
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1683
|
+
let headers = {};
|
|
1684
|
+
return await this.deleteImageCacheWithOptions(imageId, request, headers, runtime);
|
|
1685
|
+
}
|
|
1571
1686
|
/**
|
|
1572
1687
|
* Deletes a specified managed agent.
|
|
1573
1688
|
*
|
|
@@ -2555,12 +2670,12 @@ class Client extends openapi_core_1.default {
|
|
|
2555
2670
|
return await this.getCredentialWithOptions(workspaceId, credentialId, request, headers, runtime);
|
|
2556
2671
|
}
|
|
2557
2672
|
/**
|
|
2558
|
-
* Queries the details of a custom agent in a specified workspace, including
|
|
2673
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2559
2674
|
*
|
|
2560
2675
|
* @remarks
|
|
2561
|
-
* After
|
|
2562
|
-
* The returned configuration is the
|
|
2563
|
-
* If
|
|
2676
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2677
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2678
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2564
2679
|
*
|
|
2565
2680
|
* @param request - GetCustomAgentRequest
|
|
2566
2681
|
* @param headers - map
|
|
@@ -2586,12 +2701,12 @@ class Client extends openapi_core_1.default {
|
|
|
2586
2701
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomAgentResponse({}));
|
|
2587
2702
|
}
|
|
2588
2703
|
/**
|
|
2589
|
-
* Queries the details of a custom agent in a specified workspace, including
|
|
2704
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2590
2705
|
*
|
|
2591
2706
|
* @remarks
|
|
2592
|
-
* After
|
|
2593
|
-
* The returned configuration is the
|
|
2594
|
-
* If
|
|
2707
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2708
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2709
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2595
2710
|
*
|
|
2596
2711
|
* @param request - GetCustomAgentRequest
|
|
2597
2712
|
* @returns GetCustomAgentResponse
|
|
@@ -2724,6 +2839,57 @@ class Client extends openapi_core_1.default {
|
|
|
2724
2839
|
let headers = {};
|
|
2725
2840
|
return await this.getIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
2726
2841
|
}
|
|
2842
|
+
/**
|
|
2843
|
+
* Queries the details of an image cache.
|
|
2844
|
+
*
|
|
2845
|
+
* @remarks
|
|
2846
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
2847
|
+
*
|
|
2848
|
+
* @param request - GetImageCacheRequest
|
|
2849
|
+
* @param headers - map
|
|
2850
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2851
|
+
* @returns GetImageCacheResponse
|
|
2852
|
+
*/
|
|
2853
|
+
async getImageCacheWithOptions(imageId, request, headers, runtime) {
|
|
2854
|
+
request.validate();
|
|
2855
|
+
let query = {};
|
|
2856
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2857
|
+
query["regionId"] = request.regionId;
|
|
2858
|
+
}
|
|
2859
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2860
|
+
query["workspaceId"] = request.workspaceId;
|
|
2861
|
+
}
|
|
2862
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2863
|
+
headers: headers,
|
|
2864
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2865
|
+
});
|
|
2866
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2867
|
+
action: "GetImageCache",
|
|
2868
|
+
version: "2026-08-04",
|
|
2869
|
+
protocol: "HTTPS",
|
|
2870
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
2871
|
+
method: "GET",
|
|
2872
|
+
authType: "AK",
|
|
2873
|
+
style: "ROA",
|
|
2874
|
+
reqBodyType: "json",
|
|
2875
|
+
bodyType: "json",
|
|
2876
|
+
});
|
|
2877
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetImageCacheResponse({}));
|
|
2878
|
+
}
|
|
2879
|
+
/**
|
|
2880
|
+
* Queries the details of an image cache.
|
|
2881
|
+
*
|
|
2882
|
+
* @remarks
|
|
2883
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
2884
|
+
*
|
|
2885
|
+
* @param request - GetImageCacheRequest
|
|
2886
|
+
* @returns GetImageCacheResponse
|
|
2887
|
+
*/
|
|
2888
|
+
async getImageCache(imageId, request) {
|
|
2889
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2890
|
+
let headers = {};
|
|
2891
|
+
return await this.getImageCacheWithOptions(imageId, request, headers, runtime);
|
|
2892
|
+
}
|
|
2727
2893
|
/**
|
|
2728
2894
|
* Queries the details of a specified managed agent.
|
|
2729
2895
|
*
|
|
@@ -3396,10 +3562,10 @@ class Client extends openapi_core_1.default {
|
|
|
3396
3562
|
return await this.getWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
3397
3563
|
}
|
|
3398
3564
|
/**
|
|
3399
|
-
* Queries the RAM authorization URL
|
|
3565
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3400
3566
|
*
|
|
3401
3567
|
* @remarks
|
|
3402
|
-
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is
|
|
3568
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3403
3569
|
*
|
|
3404
3570
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3405
3571
|
* @param headers - map
|
|
@@ -3436,10 +3602,10 @@ class Client extends openapi_core_1.default {
|
|
|
3436
3602
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceAcrRamAuthorizeUrlResponse({}));
|
|
3437
3603
|
}
|
|
3438
3604
|
/**
|
|
3439
|
-
* Queries the RAM authorization URL
|
|
3605
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3440
3606
|
*
|
|
3441
3607
|
* @remarks
|
|
3442
|
-
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is
|
|
3608
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3443
3609
|
*
|
|
3444
3610
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3445
3611
|
* @returns GetWorkspaceAcrRamAuthorizeUrlResponse
|
|
@@ -4159,6 +4325,87 @@ class Client extends openapi_core_1.default {
|
|
|
4159
4325
|
let headers = {};
|
|
4160
4326
|
return await this.listIdentityProvidersWithOptions(workspaceId, request, headers, runtime);
|
|
4161
4327
|
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Queries image caches.
|
|
4330
|
+
*
|
|
4331
|
+
* @remarks
|
|
4332
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4333
|
+
*
|
|
4334
|
+
* @param request - ListImageCachesRequest
|
|
4335
|
+
* @param headers - map
|
|
4336
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4337
|
+
* @returns ListImageCachesResponse
|
|
4338
|
+
*/
|
|
4339
|
+
async listImageCachesWithOptions(request, headers, runtime) {
|
|
4340
|
+
request.validate();
|
|
4341
|
+
let query = {};
|
|
4342
|
+
if (!$dara.isNull(request.acrInstanceId)) {
|
|
4343
|
+
query["acrInstanceId"] = request.acrInstanceId;
|
|
4344
|
+
}
|
|
4345
|
+
if (!$dara.isNull(request.digest)) {
|
|
4346
|
+
query["digest"] = request.digest;
|
|
4347
|
+
}
|
|
4348
|
+
if (!$dara.isNull(request.imageRefContains)) {
|
|
4349
|
+
query["imageRefContains"] = request.imageRefContains;
|
|
4350
|
+
}
|
|
4351
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4352
|
+
query["maxResults"] = request.maxResults;
|
|
4353
|
+
}
|
|
4354
|
+
if (!$dara.isNull(request.namespace)) {
|
|
4355
|
+
query["namespace"] = request.namespace;
|
|
4356
|
+
}
|
|
4357
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4358
|
+
query["nextToken"] = request.nextToken;
|
|
4359
|
+
}
|
|
4360
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4361
|
+
query["regionId"] = request.regionId;
|
|
4362
|
+
}
|
|
4363
|
+
if (!$dara.isNull(request.registry)) {
|
|
4364
|
+
query["registry"] = request.registry;
|
|
4365
|
+
}
|
|
4366
|
+
if (!$dara.isNull(request.repository)) {
|
|
4367
|
+
query["repository"] = request.repository;
|
|
4368
|
+
}
|
|
4369
|
+
if (!$dara.isNull(request.status)) {
|
|
4370
|
+
query["status"] = request.status;
|
|
4371
|
+
}
|
|
4372
|
+
if (!$dara.isNull(request.tag)) {
|
|
4373
|
+
query["tag"] = request.tag;
|
|
4374
|
+
}
|
|
4375
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
4376
|
+
query["workspaceId"] = request.workspaceId;
|
|
4377
|
+
}
|
|
4378
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4379
|
+
headers: headers,
|
|
4380
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4381
|
+
});
|
|
4382
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4383
|
+
action: "ListImageCaches",
|
|
4384
|
+
version: "2026-08-04",
|
|
4385
|
+
protocol: "HTTPS",
|
|
4386
|
+
pathname: `/image-caches`,
|
|
4387
|
+
method: "GET",
|
|
4388
|
+
authType: "AK",
|
|
4389
|
+
style: "ROA",
|
|
4390
|
+
reqBodyType: "json",
|
|
4391
|
+
bodyType: "json",
|
|
4392
|
+
});
|
|
4393
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListImageCachesResponse({}));
|
|
4394
|
+
}
|
|
4395
|
+
/**
|
|
4396
|
+
* Queries image caches.
|
|
4397
|
+
*
|
|
4398
|
+
* @remarks
|
|
4399
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4400
|
+
*
|
|
4401
|
+
* @param request - ListImageCachesRequest
|
|
4402
|
+
* @returns ListImageCachesResponse
|
|
4403
|
+
*/
|
|
4404
|
+
async listImageCaches(request) {
|
|
4405
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4406
|
+
let headers = {};
|
|
4407
|
+
return await this.listImageCachesWithOptions(request, headers, runtime);
|
|
4408
|
+
}
|
|
4162
4409
|
/**
|
|
4163
4410
|
* Queries the list of managed agents in a specified workspace.
|
|
4164
4411
|
*
|
|
@@ -5590,6 +5837,70 @@ class Client extends openapi_core_1.default {
|
|
|
5590
5837
|
let headers = {};
|
|
5591
5838
|
return await this.resetUserPasswordWithOptions(workspaceId, request, headers, runtime);
|
|
5592
5839
|
}
|
|
5840
|
+
/**
|
|
5841
|
+
* Retries the image cache.
|
|
5842
|
+
*
|
|
5843
|
+
* @remarks
|
|
5844
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
5845
|
+
*
|
|
5846
|
+
* @param tmpReq - RetryImageCacheRequest
|
|
5847
|
+
* @param headers - map
|
|
5848
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5849
|
+
* @returns RetryImageCacheResponse
|
|
5850
|
+
*/
|
|
5851
|
+
async retryImageCacheWithOptions(imageId, tmpReq, headers, runtime) {
|
|
5852
|
+
tmpReq.validate();
|
|
5853
|
+
let request = new $_model.RetryImageCacheShrinkRequest({});
|
|
5854
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5855
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5856
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5857
|
+
}
|
|
5858
|
+
let query = {};
|
|
5859
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5860
|
+
query["clientToken"] = request.clientToken;
|
|
5861
|
+
}
|
|
5862
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5863
|
+
query["regionId"] = request.regionId;
|
|
5864
|
+
}
|
|
5865
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
5866
|
+
query["workspaceId"] = request.workspaceId;
|
|
5867
|
+
}
|
|
5868
|
+
let body = {};
|
|
5869
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5870
|
+
body["body"] = request.bodyShrink;
|
|
5871
|
+
}
|
|
5872
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5873
|
+
headers: headers,
|
|
5874
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5875
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5876
|
+
});
|
|
5877
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5878
|
+
action: "RetryImageCache",
|
|
5879
|
+
version: "2026-08-04",
|
|
5880
|
+
protocol: "HTTPS",
|
|
5881
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}/retry`,
|
|
5882
|
+
method: "POST",
|
|
5883
|
+
authType: "AK",
|
|
5884
|
+
style: "ROA",
|
|
5885
|
+
reqBodyType: "formData",
|
|
5886
|
+
bodyType: "json",
|
|
5887
|
+
});
|
|
5888
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryImageCacheResponse({}));
|
|
5889
|
+
}
|
|
5890
|
+
/**
|
|
5891
|
+
* Retries the image cache.
|
|
5892
|
+
*
|
|
5893
|
+
* @remarks
|
|
5894
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
5895
|
+
*
|
|
5896
|
+
* @param request - RetryImageCacheRequest
|
|
5897
|
+
* @returns RetryImageCacheResponse
|
|
5898
|
+
*/
|
|
5899
|
+
async retryImageCache(imageId, request) {
|
|
5900
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5901
|
+
let headers = {};
|
|
5902
|
+
return await this.retryImageCacheWithOptions(imageId, request, headers, runtime);
|
|
5903
|
+
}
|
|
5593
5904
|
/**
|
|
5594
5905
|
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5595
5906
|
*
|
|
@@ -6039,9 +6350,9 @@ class Client extends openapi_core_1.default {
|
|
|
6039
6350
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
6040
6351
|
*
|
|
6041
6352
|
* @remarks
|
|
6042
|
-
*
|
|
6043
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
6044
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or
|
|
6353
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6354
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6355
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6045
6356
|
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
6046
6357
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
6047
6358
|
*
|
|
@@ -6087,9 +6398,9 @@ class Client extends openapi_core_1.default {
|
|
|
6087
6398
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
6088
6399
|
*
|
|
6089
6400
|
* @remarks
|
|
6090
|
-
*
|
|
6091
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
6092
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or
|
|
6401
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6402
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6403
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6093
6404
|
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
6094
6405
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
6095
6406
|
*
|
|
@@ -7098,7 +7409,7 @@ class Client extends openapi_core_1.default {
|
|
|
7098
7409
|
* Verifies the ACR RAM authorization for a workspace.
|
|
7099
7410
|
*
|
|
7100
7411
|
* @remarks
|
|
7101
|
-
* ACR and user OSS mounts share the workspace role. If no existing role is
|
|
7412
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to 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 prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be 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.
|
|
7102
7413
|
*
|
|
7103
7414
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
7104
7415
|
* @param headers - map
|
|
@@ -7138,7 +7449,7 @@ class Client extends openapi_core_1.default {
|
|
|
7138
7449
|
* Verifies the ACR RAM authorization for a workspace.
|
|
7139
7450
|
*
|
|
7140
7451
|
* @remarks
|
|
7141
|
-
* ACR and user OSS mounts share the workspace role. If no existing role is
|
|
7452
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to 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 prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be 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.
|
|
7142
7453
|
*
|
|
7143
7454
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
7144
7455
|
* @returns VerifyWorkspaceAcrRamAuthorizationResponse
|