'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'hsm', 'version' => '2023-11-13', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ConfigAuditLog' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AuditOssBucket', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AuditAction', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'disable', 'enable', ], ], ], ], ], 'GetAuditLogStatus' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'GetOssBucket', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], ], ], 'InitializeAuditLog' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'GetImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListImages' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'Mode', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'MANUAL', 'PERIODIC', ], ], ], ], ], 'ConfigImageRemark' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CopyImage' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUid', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'TargetRegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ExportImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'EnableBackup' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetBackup' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBackups' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ConfigBackupTask' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'BackupPeriod', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '30', 'enum' => [ '1', '3', '7', '30', ], ], ], [ 'name' => 'BackupHourInDay', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '23', 'enum' => [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', ], ], ], [ 'name' => 'Manual2PeriodicList', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], [ 'name' => 'Periodic2ManualList', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'ResetBackup' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ConfigBackupRemark' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'JoinCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ConfigClusterSubnet' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'VpcId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'VSwitchIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'SyncCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'InitializeCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SwitchClusterMaster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ConfigClusterName' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ClusterName', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'LeaveCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CreateCluster' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterName', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'MasterInstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListClusters' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CurrentPage', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], ], ], 'ConfigClusterCertificate' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'IssuerCertificate', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ClusterCertificate', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetCluster' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ConfigClusterWhitelist' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Whitelist', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'QuickDeployCluster' => [ 'path' => '', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'VSwitchIdList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'WhiteList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], [ 'name' => 'InstanceList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], [ 'name' => 'ClusterName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CertManaged', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], ], ], 'RotateClusterManagedCert' => [ 'path' => '/', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'DownloadClusterManagedCert' => [ 'path' => '/', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ConfigInstanceIpAddress' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'VpcId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'VSwitchId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Ip', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RestoreInstance' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ResetInstance' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'QuickInitInstance' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ConfigInstanceWhitelist' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Whitelist', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ResumeInstance' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'PauseInstance' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListInstances' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CurrentPage', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'TenantIsolationType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ConfigInstanceRemark' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Remark', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetJob' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'MoveResourceGroup' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'DescribeRegions' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'AcceptLanguage', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-beijing', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-heyuan', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-3', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'me-east-1', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'hsm.aliyuncs.com', ], [ 'regionId' => 'me-central-1', 'endpoint' => 'hsm.aliyuncs.com', ], ], ];