Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Koo Command Line Interface/ User Guide/ Options/ Calling APIs Using an Agency in Non-configuration Mode

Calling APIs Using an Agency in Non-configuration Mode

Updated on 2023-02-27 GMT+08:00

After a delegating party creates an agency to delegate another account to manage its resources, the delegated party can add --cli-agency-domain-id/--cli-agency-domain-name, --cli-agency-name, and --cli-source-profile to a command to call cloud service APIs using an agency in non-configuration mode, and manage resources of the delegating party.

hcloud VPC ListAddressGroup/v3 --cli-region="eu-west-101" --project_id="2cc60****************caefa5019ef" --cli-agency-domain-id=13534326******************5cf67b --cli-agency-name=****** --cli-source-profile=test
{
  "request_id": "29ec21****************6d6b4cdd82",
  "address_groups": [],
  "page_info": {
  "current_count": 0
   }
}
NOTE:

Among the preceding parameters, use --cli-agency-domain-id/--cli-agency-domain-name and --cli-agency-name at the same time. Use --cli-source-profile to specify the profile that stores the authentication information of the delegated party. The value of --cli-source-profile cannot be the current profile.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback