All Products
Search
Document Center

Cloud Governance Center:ListAccountFactoryBaselineItems

Last Updated:Oct 25, 2024

Queries a list of baseline items that are supported by the account factory of Cloud Governance Center (CGC).

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
governance:ListAccountFactoryBaselineItemslist
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TypestringNo

The type of the baseline items.

AccountFactory
NamesarrayNo

The names of the baseline items.

NamestringNo

The name of the baseline item.

ACS-BP_ACCOUNT_FACTORY_VPC
VersionsarrayNo

The versions of the baseline items.

VersionstringNo

The version of the baseline item.

1.0
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.

AAAAACDGQdAEX3m42z3sQ+f3VTK2Xr2DzYbz/SAfc/zJRqod
MaxResultsintegerNo

The number of entries per page.

Valid values: 1 to 100. Default value: 10

10
RegionIdstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The result returned.

BaselineItemsarray<object>

The baseline items.

BaselineItemobject

The configurations of the baseline item.

DependsOnarray<object>

The dependency of the baseline item.

DependsOnobject

The dependency configuration.

Namestring

The name of the baseline item.

ACS-BP_ACCOUNT_FACTORY_VPC
Typestring

The type of the baseline item.

AccountFactory
Versionstring

The version of the baseline item.

1.0
Descriptionstring

The description of the baseline item.

Notification.
Namestring

The name of the baseline item.

ACS-BP_ACCOUNT_FACTORY_ACCOUNT_NOTIFICATION
Typestring

The type of the baseline item.

AccountFactory
Versionstring

The version of the baseline item.

1.0
NextTokenstring

The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.

AAAAACDGQdAEX3m42z3sQ+f3VTK2Xr2DzYbz/SAfc/zJRqod
RequestIdstring

The request ID.

B40D73D8-76AC-5D3C-AC63-4FC8AFCE6671

Examples

Sample success responses

JSONformat

{
  "BaselineItems": [
    {
      "DependsOn": [
        {
          "Name": "ACS-BP_ACCOUNT_FACTORY_VPC",
          "Type": "AccountFactory",
          "Version": "1.0"
        }
      ],
      "Description": "Notification.",
      "Name": "ACS-BP_ACCOUNT_FACTORY_ACCOUNT_NOTIFICATION",
      "Type": "AccountFactory",
      "Version": "1.0"
    }
  ],
  "NextToken": "AAAAACDGQdAEX3m42z3sQ+f3VTK2Xr2DzYbz/SAfc/zJRqod",
  "RequestId": "B40D73D8-76AC-5D3C-AC63-4FC8AFCE6671"
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidEnterpriseRealName.NotFoundThe specified account has not passed enterprise real name verification. Please complete the verification for the account first.The specified account has not passed enterprise real-name verification. Please complete the verification for the account first.
500InternalErrorA system error occurred.A system error occurred.

For a list of error codes, visit the Service error codes.