summaryrefslogtreecommitdiff
path: root/data/zh_cn/resourcemanager/2016-11-11/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/resourcemanager/2016-11-11/api-docs.php')
-rw-r--r--data/zh_cn/resourcemanager/2016-11-11/api-docs.php3225
1 files changed, 689 insertions, 2536 deletions
diff --git a/data/zh_cn/resourcemanager/2016-11-11/api-docs.php b/data/zh_cn/resourcemanager/2016-11-11/api-docs.php
index fbaa6c8..c5fc98e 100644
--- a/data/zh_cn/resourcemanager/2016-11-11/api-docs.php
+++ b/data/zh_cn/resourcemanager/2016-11-11/api-docs.php
@@ -1,70 +1,15 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'ResourceManager',
- 'version' => '2016-11-11',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'ResourceManager', 'version' => '2016-11-11'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => [
- 'AttachPolicy',
- 'CancelCreateCloudAccount',
- 'CancelPromoteResourceAccount',
- 'CreateFolder',
- 'CreateCloudAccount',
- 'CreatePolicy',
- 'CreatePolicyVersion',
- 'CreateResourceAccount',
- 'CreateResourceGroup',
- 'CreateRole',
- 'CreateServiceLinkedRole',
- 'DeleteFolder',
- 'DeleteInvalidCloudAccountRecord',
- 'DeletePolicy',
- 'DeletePolicyVersion',
- 'DeleteResourceGroup',
- 'DeleteRole',
- 'DeleteServiceLinkedRole',
- 'DestroyResourceDirectory',
- 'DetachPolicy',
- 'GetAccountSummary',
- 'GetFolder',
- 'GetPolicy',
- 'GetPolicyVersion',
- 'GetResourceDirectory',
- 'GetResourceDirectoryAccount',
- 'GetResourceGroup',
- 'GetRole',
- 'GetServiceLinkedRoleDeletionStatus',
- 'GetServiceLinkedRoleTemplate',
- 'InitResourceDirectory',
- 'ListAccountRecordsForParent',
- 'ListAccounts',
- 'ListAccountsForParent',
- 'ListAncestors',
- 'ListFoldersForParent',
- 'ListParents',
- 'ListPolicies',
- 'ListPolicyAttachments',
- 'ListPolicyVersions',
- 'ListResourceGroups',
- 'ListRoles',
- 'ListRolesForService',
- 'ListTrustedServiceStatus',
- 'MoveAccount',
- 'PromoteResourceAccount',
- 'QueryResource',
- 'RemoveCloudAccount',
- 'ResendCreateCloudAccountEmail',
- 'ResendPromoteResourceAccountEmail',
- 'SetDefaultPolicyVersion',
- 'UpdateFolder',
- 'UpdateResourceGroup',
- 'UpdateRole',
+ 'AttachPolicy', 'CancelCreateCloudAccount', 'CancelPromoteResourceAccount', 'CreateFolder', 'CreateCloudAccount', 'CreatePolicy', 'CreatePolicyVersion', 'CreateResourceAccount', 'CreateResourceGroup', 'CreateRole', 'CreateServiceLinkedRole', 'DeleteFolder', 'DeleteInvalidCloudAccountRecord', 'DeletePolicy', 'DeletePolicyVersion', 'DeleteResourceGroup', 'DeleteRole', 'DeleteServiceLinkedRole', 'DestroyResourceDirectory', 'DetachPolicy',
+ 'GetAccountSummary', 'GetFolder', 'GetPolicy', 'GetPolicyVersion', 'GetResourceDirectory', 'GetResourceDirectoryAccount', 'GetResourceGroup', 'GetRole', 'GetServiceLinkedRoleDeletionStatus', 'GetServiceLinkedRoleTemplate', 'InitResourceDirectory', 'ListAccountRecordsForParent', 'ListAccounts', 'ListAccountsForParent', 'ListAncestors', 'ListFoldersForParent', 'ListParents', 'ListPolicies', 'ListPolicyAttachments', 'ListPolicyVersions',
+ 'ListResourceGroups', 'ListRoles', 'ListRolesForService', 'ListTrustedServiceStatus', 'MoveAccount', 'PromoteResourceAccount', 'QueryResource', 'RemoveCloudAccount', 'ResendCreateCloudAccountEmail', 'ResendPromoteResourceAccountEmail', 'SetDefaultPolicyVersion', 'UpdateFolder', 'UpdateResourceGroup', 'UpdateRole',
],
],
],
@@ -74,72 +19,45 @@
'apis' => [
'AttachPolicy' => [
'summary' => '为RAM身份授权',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -147,9 +65,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -158,32 +74,20 @@
],
'CancelCreateCloudAccount' => [
'summary' => '取消创建云账号类型的成员',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -191,9 +95,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -202,32 +104,20 @@
],
'CancelPromoteResourceAccount' => [
'summary' => '取消升级资源账号为云账号',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -235,9 +125,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -246,13 +134,8 @@
],
'CreateFolder' => [
'summary' => '创建资源夹',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -260,27 +143,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -291,46 +164,28 @@
'Folder' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'ParentFolderId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'ParentFolderId' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidParameter.Folder.Name.AlreadyUsed',
- 'errorMessage' => 'The name already exists under the same parent. Please change to another name.',
- ],
+ ['errorCode' => 'InvalidParameter.Folder.Name.AlreadyUsed', 'errorMessage' => 'The name already exists under the same parent. Please change to another name.'],
],
],
'responseDemo' => '',
],
'CreateCloudAccount' => [
'summary' => '创建云账号',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -338,51 +193,32 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EnableConsolidatedBilling',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PayerAccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -393,146 +229,68 @@
'Account' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'RecordId' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'RecordId' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'PaymentAccountEnterpriseVerifyError',
- 'errorMessage' => 'The type of the payment account is not enterprise verified.',
- ],
- [
- 'errorCode' => 'PaymentAccountFinancialRelationshipVerifyError',
- 'errorMessage' => 'The payment account must not be the beneficiary account from other financial relationships.',
- ],
- [
- 'errorCode' => 'PaymentAccountEnterpriseTypeError',
- 'errorMessage' => 'The type of the payment account is not enterprise.',
- ],
- [
- 'errorCode' => 'PaymentAccountFinancialRelationshipsChangeFrequencyVerifyError',
- 'errorMessage' => 'The financial relationship of payment account changes too frequently. Please try again later.',
- ],
- [
- 'errorCode' => 'MemberAccountVirtualCloudOperatorVerifyError',
- 'errorMessage' => 'The type of the member account must not be virtual operator.',
- ],
- [
- 'errorCode' => 'MemberAccountResellerVerifyError',
- 'errorMessage' => 'The type of the member account must not be reseller.',
- ],
- [
- 'errorCode' => 'PaymentAccountVirtualCloudOperatorVerifyError',
- 'errorMessage' => 'The type of the payment account must not be virtual operator.',
- ],
- [
- 'errorCode' => 'PaymentAccountResellerVerifyError',
- 'errorMessage' => 'The type of the payment account must not be reseller.',
- ],
- [
- 'errorCode' => 'PaymentAccountCreditIdentityTypeError',
- 'errorMessage' => 'The identity of the payment account is not credit.',
- ],
- [
- 'errorCode' => 'InconsistentEnterpriseNameError',
- 'errorMessage' => 'The enterprise name of the payment account and the member account must be consistent.',
- ],
- [
- 'errorCode' => 'PaymentAccountEnterpriseInvoiceError',
- 'errorMessage' => 'No enterprise invoice header information is set for the payment account.',
- ],
- [
- 'errorCode' => 'UnknownFinancialError',
- 'errorMessage' => 'An unknown financial error occurred.',
- ],
+ ['errorCode' => 'PaymentAccountEnterpriseVerifyError', 'errorMessage' => 'The type of the payment account is not enterprise verified.'],
+ ['errorCode' => 'PaymentAccountFinancialRelationshipVerifyError', 'errorMessage' => 'The payment account must not be the beneficiary account from other financial relationships.'],
+ ['errorCode' => 'PaymentAccountEnterpriseTypeError', 'errorMessage' => 'The type of the payment account is not enterprise.'],
+ ['errorCode' => 'PaymentAccountFinancialRelationshipsChangeFrequencyVerifyError', 'errorMessage' => 'The financial relationship of payment account changes too frequently. Please try again later.'],
+ ['errorCode' => 'MemberAccountVirtualCloudOperatorVerifyError', 'errorMessage' => 'The type of the member account must not be virtual operator.'],
+ ['errorCode' => 'MemberAccountResellerVerifyError', 'errorMessage' => 'The type of the member account must not be reseller.'],
+ ['errorCode' => 'PaymentAccountVirtualCloudOperatorVerifyError', 'errorMessage' => 'The type of the payment account must not be virtual operator.'],
+ ['errorCode' => 'PaymentAccountResellerVerifyError', 'errorMessage' => 'The type of the payment account must not be reseller.'],
+ ['errorCode' => 'PaymentAccountCreditIdentityTypeError', 'errorMessage' => 'The identity of the payment account is not credit.'],
+ ['errorCode' => 'InconsistentEnterpriseNameError', 'errorMessage' => 'The enterprise name of the payment account and the member account must be consistent.'],
+ ['errorCode' => 'PaymentAccountEnterpriseInvoiceError', 'errorMessage' => 'No enterprise invoice header information is set for the payment account.'],
+ ['errorCode' => 'UnknownFinancialError', 'errorMessage' => 'An unknown financial error occurred.'],
],
],
'responseDemo' => '',
],
'CreatePolicy' => [
'summary' => '创建权限策略',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyDocument',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -543,26 +301,14 @@
'Policy' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DefaultVersion' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'PolicyName' => [
- 'type' => 'string',
- ],
- 'PolicyType' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'DefaultVersion' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'PolicyName' => ['type' => 'string'],
+ 'PolicyType' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -571,48 +317,30 @@
],
'CreatePolicyVersion' => [
'summary' => '创建权限策略版本',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyDocument',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SetAsDefault',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
'responses' => [
@@ -623,20 +351,12 @@
'PolicyVersion' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'IsDefaultVersion' => [
- 'type' => 'boolean',
- ],
- 'VersionId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'IsDefaultVersion' => ['type' => 'boolean'],
+ 'VersionId' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -645,13 +365,8 @@
],
'CreateResourceAccount' => [
'summary' => '创建资源账号',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -659,43 +374,27 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableConsolidatedBilling',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PayerAccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -706,108 +405,45 @@
'Account' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'PaymentAccountEnterpriseVerifyError',
- 'errorMessage' => 'The type of the payment account is not enterprise verified.',
- ],
- [
- 'errorCode' => 'PaymentAccountFinancialRelationshipVerifyError',
- 'errorMessage' => 'The payment account must not be the beneficiary account from other financial relationships.',
- ],
- [
- 'errorCode' => 'PaymentAccountEnterpriseTypeError',
- 'errorMessage' => 'The type of the payment account is not enterprise.',
- ],
- [
- 'errorCode' => 'PaymentAccountFinancialRelationshipsChangeFrequencyVerifyError',
- 'errorMessage' => 'The financial relationship of payment account changes too frequently. Please try again later.',
- ],
- [
- 'errorCode' => 'MemberAccountVirtualCloudOperatorVerifyError',
- 'errorMessage' => 'The type of the member account must not be virtual operator.',
- ],
- [
- 'errorCode' => 'MemberAccountResellerVerifyError',
- 'errorMessage' => 'The type of the member account must not be reseller.',
- ],
- [
- 'errorCode' => 'PaymentAccountVirtualCloudOperatorVerifyError',
- 'errorMessage' => 'The type of the payment account must not be virtual operator.',
- ],
- [
- 'errorCode' => 'PaymentAccountResellerVerifyError',
- 'errorMessage' => 'The type of the payment account must not be reseller.',
- ],
- [
- 'errorCode' => 'PaymentAccountCreditIdentityTypeError',
- 'errorMessage' => 'The identity of the payment account is not credit.',
- ],
- [
- 'errorCode' => 'InconsistentEnterpriseNameError',
- 'errorMessage' => 'The enterprise name of the payment account and the member account must be consistent.',
- ],
- [
- 'errorCode' => 'PaymentAccountEnterpriseInvoiceError',
- 'errorMessage' => 'No enterprise invoice header information is set for the payment account.',
- ],
- [
- 'errorCode' => 'UnknownFinancialError',
- 'errorMessage' => 'An unknown financial error occurred.',
- ],
+ ['errorCode' => 'PaymentAccountEnterpriseVerifyError', 'errorMessage' => 'The type of the payment account is not enterprise verified.'],
+ ['errorCode' => 'PaymentAccountFinancialRelationshipVerifyError', 'errorMessage' => 'The payment account must not be the beneficiary account from other financial relationships.'],
+ ['errorCode' => 'PaymentAccountEnterpriseTypeError', 'errorMessage' => 'The type of the payment account is not enterprise.'],
+ ['errorCode' => 'PaymentAccountFinancialRelationshipsChangeFrequencyVerifyError', 'errorMessage' => 'The financial relationship of payment account changes too frequently. Please try again later.'],
+ ['errorCode' => 'MemberAccountVirtualCloudOperatorVerifyError', 'errorMessage' => 'The type of the member account must not be virtual operator.'],
+ ['errorCode' => 'MemberAccountResellerVerifyError', 'errorMessage' => 'The type of the member account must not be reseller.'],
+ ['errorCode' => 'PaymentAccountVirtualCloudOperatorVerifyError', 'errorMessage' => 'The type of the payment account must not be virtual operator.'],
+ ['errorCode' => 'PaymentAccountResellerVerifyError', 'errorMessage' => 'The type of the payment account must not be reseller.'],
+ ['errorCode' => 'PaymentAccountCreditIdentityTypeError', 'errorMessage' => 'The identity of the payment account is not credit.'],
+ ['errorCode' => 'InconsistentEnterpriseNameError', 'errorMessage' => 'The enterprise name of the payment account and the member account must be consistent.'],
+ ['errorCode' => 'PaymentAccountEnterpriseInvoiceError', 'errorMessage' => 'No enterprise invoice header information is set for the payment account.'],
+ ['errorCode' => 'UnknownFinancialError', 'errorMessage' => 'An unknown financial error occurred.'],
],
],
'responseDemo' => '',
],
'CreateResourceGroup' => [
'summary' => '创建资源组',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -815,35 +451,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -851,27 +474,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceGroup' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
'RegionStatuses' => [
'type' => 'object',
'itemNode' => true,
@@ -881,20 +492,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'RegionId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
],
],
],
],
],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
],
],
],
@@ -905,57 +510,35 @@
],
'CreateRole' => [
'summary' => '创建角色',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RoleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AssumeRolePolicyDocument',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MaxSessionDuration',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -963,37 +546,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Role' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'AssumeRolePolicyDocument' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'MaxSessionDuration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'AssumeRolePolicyDocument' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'MaxSessionDuration' => ['type' => 'integer', 'format' => 'int64'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
],
],
],
@@ -1004,14 +568,8 @@
],
'CreateServiceLinkedRole' => [
'summary' => '创建服务关联角色',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1019,35 +577,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CustomSuffix',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1055,36 +600,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Role' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'AssumeRolePolicyDocument' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'IsServiceLinkedRole' => [
- 'type' => 'boolean',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'AssumeRolePolicyDocument' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'IsServiceLinkedRole' => ['type' => 'boolean'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
],
],
],
@@ -1095,32 +622,20 @@
],
'DeleteFolder' => [
'summary' => '删除资源夹',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1128,9 +643,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1139,32 +652,20 @@
],
'DeleteInvalidCloudAccountRecord' => [
'summary' => '删除账号记录',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1172,9 +673,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1183,32 +682,20 @@
],
'DeletePolicy' => [
'summary' => '删除指定权限策略',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1216,9 +703,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1227,40 +712,25 @@
],
'DeletePolicyVersion' => [
'summary' => '删除权限策略版本',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VersionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1268,9 +738,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1279,13 +747,8 @@
],
'DeleteResourceGroup' => [
'summary' => '删除资源组',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1293,27 +756,17 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1321,27 +774,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceGroup' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
'RegionStatuses' => [
'type' => 'object',
'itemNode' => true,
@@ -1351,20 +792,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'RegionId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
],
],
],
],
],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
],
],
],
@@ -1375,32 +810,20 @@
],
'DeleteRole' => [
'summary' => '删除角色',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RoleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1408,9 +831,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1419,14 +840,8 @@
],
'DeleteServiceLinkedRole' => [
'summary' => '删除服务关联角色',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1434,19 +849,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RoleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1454,12 +862,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DeletionTaskId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'DeletionTaskId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1468,33 +872,22 @@
],
'DestroyResourceDirectory' => [
'summary' => '关闭资源目录',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1503,72 +896,45 @@
],
'DetachPolicy' => [
'summary' => '为RAM身份移除权限',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1576,9 +942,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1587,32 +951,20 @@
],
'GetAccountSummary' => [
'summary' => '查询账号的概览信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1620,68 +972,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'SummaryMap' => [
'type' => 'object',
'properties' => [
- 'AttachedPoliciesPerGroupQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AttachedPoliciesPerRoleQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AttachedPoliciesPerUserQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AttachedSystemPoliciesPerGroupQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AttachedSystemPoliciesPerRoleQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AttachedSystemPoliciesPerUserQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Policies' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PoliciesQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PolicySizeQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ResourceGroups' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ResourceGroupsQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Roles' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RolesQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'VersionsPerPolicyQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'AttachedPoliciesPerGroupQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'AttachedPoliciesPerRoleQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'AttachedPoliciesPerUserQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'AttachedSystemPoliciesPerGroupQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'AttachedSystemPoliciesPerRoleQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'AttachedSystemPoliciesPerUserQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'Policies' => ['type' => 'integer', 'format' => 'int32'],
+ 'PoliciesQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'PolicySizeQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'ResourceGroups' => ['type' => 'integer', 'format' => 'int32'],
+ 'ResourceGroupsQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'Roles' => ['type' => 'integer', 'format' => 'int32'],
+ 'RolesQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'VersionsPerPolicyQuota' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -1692,32 +1000,20 @@
],
'GetFolder' => [
'summary' => '获取资源夹',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1728,23 +1024,13 @@
'Folder' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'ParentFolderId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'ParentFolderId' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1753,48 +1039,30 @@
],
'GetPolicy' => [
'summary' => '获取指定的权限策略信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1805,36 +1073,17 @@
'Policy' => [
'type' => 'object',
'properties' => [
- 'AttachmentCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DefaultVersion' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'PolicyDocument' => [
- 'type' => 'string',
- ],
- 'PolicyName' => [
- 'type' => 'string',
- ],
- 'PolicyType' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'AttachmentCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DefaultVersion' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'PolicyDocument' => ['type' => 'string'],
+ 'PolicyName' => ['type' => 'string'],
+ 'PolicyType' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1843,48 +1092,30 @@
],
'GetPolicyVersion' => [
'summary' => '获取指定权限策略的版本',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VersionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1895,23 +1126,13 @@
'PolicyVersion' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'IsDefaultVersion' => [
- 'type' => 'boolean',
- ],
- 'PolicyDocument' => [
- 'type' => 'string',
- ],
- 'VersionId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'IsDefaultVersion' => ['type' => 'boolean'],
+ 'PolicyDocument' => ['type' => 'string'],
+ 'VersionId' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1920,51 +1141,30 @@
],
'GetResourceDirectory' => [
'summary' => '获取资源目录信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceDirectory' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'MasterAccountId' => [
- 'type' => 'string',
- ],
- 'MasterAccountName' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'RootFolderId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'MasterAccountId' => ['type' => 'string'],
+ 'MasterAccountName' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'RootFolderId' => ['type' => 'string'],
],
],
],
@@ -1975,32 +1175,20 @@
],
'GetResourceDirectoryAccount' => [
'summary' => '获取账号信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -2011,44 +1199,20 @@
'Account' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'IdentityInformation' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'IdentityInformation' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -2057,13 +1221,8 @@
],
'GetResourceGroup' => [
'summary' => '查询资源组信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2071,27 +1230,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -2099,27 +1248,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceGroup' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
'RegionStatuses' => [
'type' => 'object',
'itemNode' => true,
@@ -2129,20 +1266,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'RegionId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
],
],
],
],
],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
],
],
],
@@ -2153,40 +1284,25 @@
],
'GetRole' => [
'summary' => '获取角色信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RoleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -2194,54 +1310,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Role' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'AssumeRolePolicyDocument' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'IsServiceLinkedRole' => [
- 'type' => 'boolean',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'AssumeRolePolicyDocument' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'IsServiceLinkedRole' => ['type' => 'boolean'],
'LatestDeletionTask' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DeletionTaskId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'DeletionTaskId' => ['type' => 'string'],
],
],
- 'MaxSessionDuration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'MaxSessionDuration' => ['type' => 'integer', 'format' => 'int64'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
],
@@ -2252,14 +1341,8 @@
],
'GetServiceLinkedRoleDeletionStatus' => [
'summary' => '获取服务关联角色的删除任务状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2267,19 +1350,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeletionTaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -2290,9 +1366,7 @@
'Reason' => [
'type' => 'object',
'properties' => [
- 'Message' => [
- 'type' => 'string',
- ],
+ 'Message' => ['type' => 'string'],
'RoleUsages' => [
'type' => 'object',
'itemNode' => true,
@@ -2302,18 +1376,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'type' => 'string',
- ],
+ 'Region' => ['type' => 'string'],
'Resources' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Resource' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2324,12 +1394,8 @@
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
],
],
],
@@ -2338,14 +1404,8 @@
],
'GetServiceLinkedRoleTemplate' => [
'summary' => '获取服务关联角色模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2353,19 +1413,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -2373,15 +1426,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ServiceLinkedRoleTemplate' => [
'type' => 'object',
'properties' => [
- 'MultipleRolesAllowed' => [
- 'type' => 'boolean',
- ],
+ 'MultipleRolesAllowed' => ['type' => 'boolean'],
'RoleDescriptions' => [
'type' => 'object',
'itemNode' => true,
@@ -2391,26 +1440,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'Language' => [
- 'type' => 'string',
- ],
+ 'Description' => ['type' => 'string'],
+ 'Language' => ['type' => 'string'],
],
],
],
],
],
- 'RoleNamePrefix' => [
- 'type' => 'string',
- ],
- 'ServiceName' => [
- 'type' => 'string',
- ],
- 'SystemPolicyName' => [
- 'type' => 'string',
- ],
+ 'RoleNamePrefix' => ['type' => 'string'],
+ 'ServiceName' => ['type' => 'string'],
+ 'SystemPolicyName' => ['type' => 'string'],
],
],
],
@@ -2421,51 +1460,30 @@
],
'InitResourceDirectory' => [
'summary' => '开通资源目录',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceDirectory' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'MasterAccountId' => [
- 'type' => 'string',
- ],
- 'MasterAccountName' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'RootFolderId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'MasterAccountId' => ['type' => 'string'],
+ 'MasterAccountName' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'RootFolderId' => ['type' => 'string'],
],
],
],
@@ -2476,58 +1494,35 @@
],
'ListAccountRecordsForParent' => [
'summary' => '查询资源夹下的账号记录',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryKeyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -2535,14 +1530,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
'Records' => [
'type' => 'object',
'itemNode' => true,
@@ -2552,51 +1541,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'RecordId' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'RecordId' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -2605,13 +1567,8 @@
],
'ListAccounts' => [
'summary' => '查询账号列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2619,29 +1576,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -2658,53 +1603,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
],
],
],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -2713,58 +1629,35 @@
],
'ListAccountsForParent' => [
'summary' => '查询节点下的账号列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryKeyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -2781,53 +1674,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'JoinMethod' => [
- 'type' => 'string',
- ],
- 'JoinTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'ResourceDirectoryId' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'JoinMethod' => ['type' => 'string'],
+ 'JoinTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'ResourceDirectoryId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
],
],
],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -2836,32 +1700,20 @@
],
'ListAncestors' => [
'summary' => '查看指定资源夹的所有父资源夹信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ChildId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -2878,23 +1730,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -2903,58 +1747,35 @@
],
'ListFoldersForParent' => [
'summary' => '查询节点下的资源夹信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ParentFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryKeyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -2971,35 +1792,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
],
],
],
],
],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -3008,32 +1812,20 @@
],
'ListParents' => [
'summary' => '列出所有的父级资源夹',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ChildId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -3050,23 +1842,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'FolderId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'FolderId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -3075,58 +1859,35 @@
],
'ListPolicies' => [
'summary' => '查看权限策略列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3134,14 +1895,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
'Policies' => [
'type' => 'object',
'itemNode' => true,
@@ -3151,40 +1906,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AttachmentCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DefaultVersion' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'PolicyName' => [
- 'type' => 'string',
- ],
- 'PolicyType' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'AttachmentCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DefaultVersion' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'PolicyName' => ['type' => 'string'],
+ 'PolicyType' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -3193,98 +1928,60 @@
],
'ListPolicyAttachments' => [
'summary' => '查看授权列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PrincipalName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3292,14 +1989,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
'PolicyAttachments' => [
'type' => 'object',
'itemNode' => true,
@@ -3309,39 +2000,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AttachDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'PolicyName' => [
- 'type' => 'string',
- ],
- 'PolicyType' => [
- 'type' => 'string',
- ],
- 'PrincipalName' => [
- 'type' => 'string',
- ],
- 'PrincipalType' => [
- 'type' => 'string',
- ],
- 'ResourceGroupId' => [
- 'type' => 'string',
- ],
+ 'AttachDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'PolicyName' => ['type' => 'string'],
+ 'PolicyType' => ['type' => 'string'],
+ 'PrincipalName' => ['type' => 'string'],
+ 'PrincipalType' => ['type' => 'string'],
+ 'ResourceGroupId' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -3350,40 +2022,25 @@
],
'ListPolicyVersions' => [
'summary' => '查看权限策略版本列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3400,23 +2057,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'IsDefaultVersion' => [
- 'type' => 'boolean',
- ],
- 'VersionId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'IsDefaultVersion' => ['type' => 'boolean'],
+ 'VersionId' => ['type' => 'string'],
],
],
],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -3425,59 +2074,35 @@
],
'ListResourceGroups' => [
'summary' => '查询资源组列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -3485,17 +2110,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
'ResourceGroups' => [
'type' => 'object',
'itemNode' => true,
@@ -3505,33 +2122,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
],
],
],
],
],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -3540,50 +2142,30 @@
],
'ListRoles' => [
'summary' => '查看角色列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3591,17 +2173,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -3611,54 +2185,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'IsServiceLinkedRole' => [
- 'type' => 'boolean',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'IsServiceLinkedRole' => ['type' => 'boolean'],
'LatestDeletionTask' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DeletionTaskId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'DeletionTaskId' => ['type' => 'string'],
],
],
- 'MaxSessionDuration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'MaxSessionDuration' => ['type' => 'integer', 'format' => 'int64'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
],
],
],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -3667,40 +2215,25 @@
],
'ListRolesForService' => [
'summary' => '为服务获取角色列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Service',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3708,9 +2241,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -3720,45 +2251,22 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'IsServiceLinkedRole' => [
- 'type' => 'boolean',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'IsServiceLinkedRole' => ['type' => 'boolean'],
'LatestDeletionTask' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DeletionTaskId' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'DeletionTaskId' => ['type' => 'string'],
],
],
- 'MaxSessionDuration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'MaxSessionDuration' => ['type' => 'integer', 'format' => 'int64'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
],
@@ -3772,13 +2280,8 @@
],
'ListTrustedServiceStatus' => [
'summary' => '查询企业管理账号或委派管理员账号已启用的可信服务列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3786,29 +2289,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -3825,82 +2316,49 @@
'items' => [
'type' => 'object',
'properties' => [
- 'EnableTime' => [
- 'type' => 'string',
- ],
- 'ServicePrincipal' => [
- 'type' => 'string',
- ],
+ 'EnableTime' => ['type' => 'string'],
+ 'ServicePrincipal' => ['type' => 'string'],
],
],
],
],
],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'EntityNotExists.ResourceDir',
- 'errorMessage' => 'The account has not initialized resource directory.',
- ],
+ ['errorCode' => 'EntityNotExists.ResourceDir', 'errorMessage' => 'The account has not initialized resource directory.'],
],
],
'responseDemo' => '',
],
'MoveAccount' => [
'summary' => '移动成员',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DestinationFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -3908,9 +2366,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -3919,40 +2375,25 @@
],
'PromoteResourceAccount' => [
'summary' => '将资源账号升级为云账号',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -3960,12 +2401,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RecordId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -3974,13 +2411,8 @@
],
'QueryResource' => [
'summary' => '查询当前账号可以访问的资源组中的资源列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3988,77 +2420,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Service',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -4066,17 +2468,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
'Resources' => [
'type' => 'object',
'itemNode' => true,
@@ -4086,33 +2480,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
- 'ResourceGroupId' => [
- 'type' => 'string',
- ],
- 'ResourceId' => [
- 'type' => 'string',
- ],
- 'ResourceType' => [
- 'type' => 'string',
- ],
- 'Service' => [
- 'type' => 'string',
- ],
+ 'CreateDate' => ['type' => 'string'],
+ 'RegionId' => ['type' => 'string'],
+ 'ResourceGroupId' => ['type' => 'string'],
+ 'ResourceId' => ['type' => 'string'],
+ 'ResourceType' => ['type' => 'string'],
+ 'Service' => ['type' => 'string'],
],
],
],
],
],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -4121,13 +2500,8 @@
],
'RemoveCloudAccount' => [
'summary' => '移除云账号类型的成员',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4135,19 +2509,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -4155,47 +2522,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'ResendCreateCloudAccountEmail' => [
'summary' => '重新发送创建云账号的邮件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -4203,12 +2554,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RecordId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -4217,32 +2564,20 @@
],
'ResendPromoteResourceAccountEmail' => [
'summary' => '重新发送资源账号升级云账号邮件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -4250,12 +2585,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RecordId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -4264,40 +2595,25 @@
],
'SetDefaultPolicyVersion' => [
'summary' => '设置权限策略默认版本',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'PolicyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VersionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -4305,9 +2621,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -4316,40 +2630,25 @@
],
'UpdateFolder' => [
'summary' => '修改资源夹',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -4357,32 +2656,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidParameter.Folder.Name.AlreadyUsed',
- 'errorMessage' => 'The name already exists under the same parent. Please change to another name.',
- ],
+ ['errorCode' => 'InvalidParameter.Folder.Name.AlreadyUsed', 'errorMessage' => 'The name already exists under the same parent. Please change to another name.'],
],
],
'responseDemo' => '',
],
'UpdateResourceGroup' => [
'summary' => '更新资源组',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4390,35 +2679,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'NewDisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -4426,27 +2702,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'ResourceGroup' => [
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'AccountId' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
],
],
],
@@ -4457,56 +2721,35 @@
],
'UpdateRole' => [
'summary' => '更新角色信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RoleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NewAssumeRolePolicyDocument',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NewMaxSessionDuration',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'NewDescription',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4514,40 +2757,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Role' => [
'type' => 'object',
'properties' => [
- 'Arn' => [
- 'type' => 'string',
- ],
- 'AssumeRolePolicyDocument' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'MaxSessionDuration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- 'RoleName' => [
- 'type' => 'string',
- ],
- 'RolePrincipalName' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
+ 'Arn' => ['type' => 'string'],
+ 'AssumeRolePolicyDocument' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'MaxSessionDuration' => ['type' => 'integer', 'format' => 'int64'],
+ 'RoleId' => ['type' => 'string'],
+ 'RoleName' => ['type' => 'string'],
+ 'RolePrincipalName' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
],
],
],
@@ -4558,97 +2780,28 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'resourcemanager.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'resourcemanager.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'resourcemanager.aliyuncs.com'],
],
];