@taiyi-io/api-connector-ts
    Preparing search index...

    Interface ControlCommandResponse

    interface ControlCommandResponse {
        address_pool_configs?: AddressPoolConfigView[];
        address_pool_detail?: AddressPoolDetailView;
        alert?: number;
        bearer_token?: string;
        cluster_node?: ClusterNodeData;
        cluster_nodes?: ClusterNodeData[];
        cluster_snapshot?: ClusterResourceSnapshotRecord;
        cluster_status?: ClusterStatus;
        compute_pool?: ComputePoolStatus;
        compute_pools?: ComputePoolStatus[];
        config?: NodeConfigStatus;
        critical?: number;
        file?: FileStatus;
        files?: FileView[];
        guest?: GuestView;
        guest_security_policy?: GuestSecurityPolicy;
        guests?: GuestView[];
        id?: string;
        import_sources?: ImportSource[];
        import_targets?: ImportTarget[];
        license?: License;
        licenses?: LicenseRecord[];
        logs?: ConsoleEvent[];
        monitor_rules?: ResourceMonitorConfig;
        network_graph?: NetworkGraphNode[];
        node_snapshots?: NodeResourceSnapshotRecord[];
        password?: string;
        pool_snapshots?: PoolResourceSnapshotRecord[];
        profile?: GuestProfile;
        profiles?: GuestProfile[];
        resource_permissions?: ResourcePermissions;
        resource_pools?: DataStore[];
        resource_statistic?: ResourceStatisticUnitRecord[];
        resource_usages?: GuestResourceUsageRecord[];
        security_interfaces?: SecurityIfaceInfo[];
        security_policies?: SecurityPolicyRecord[];
        security_policy?: SecurityPolicyGroup;
        snapshot?: SnapshotRecord;
        snapshots?: SnapshotTreeNode[];
        ssh_keys?: SSHKeyView[];
        storage_pool?: StoragePool;
        storage_pools?: StoragePoolListRecord[];
        system?: GuestSystemView;
        system_status?: SystemStatus;
        systems?: GuestSystemView[];
        task?: TaskData;
        tasks?: TaskData[];
        total?: number;
        traffic_info?: GuestTrafficInfo;
        user_accesses?: UserAccessRecord[];
        user_credentials?: UserCredentialRecord[];
        user_group_members?: string[];
        user_groups?: UserGroupRecord[];
        user_roles?: UserRole[];
        user_token?: UserToken;
        user_tokens?: UserToken[];
        warning?: number;
        warnings?: WarningRecord[];
        white_list?: string[];
    }
    Index

    Properties

    address_pool_configs?: AddressPoolConfigView[]
    address_pool_detail?: AddressPoolDetailView
    alert?: number
    bearer_token?: string

    服务端签发的不透明 API Token 明文(tyat_*),仅在 generate_user_token 命令的本次响应中返回。 客户端必须在此处取出后立即交给调用方安全保管,明文不会再以任何形式从服务端二次返回。

    cluster_node?: ClusterNodeData
    cluster_nodes?: ClusterNodeData[]
    cluster_status?: ClusterStatus
    compute_pool?: ComputePoolStatus
    compute_pools?: ComputePoolStatus[]
    critical?: number
    file?: FileStatus
    files?: FileView[]
    guest?: GuestView
    guest_security_policy?: GuestSecurityPolicy
    guests?: GuestView[]
    id?: string
    import_sources?: ImportSource[]
    import_targets?: ImportTarget[]
    license?: License
    licenses?: LicenseRecord[]
    logs?: ConsoleEvent[]
    monitor_rules?: ResourceMonitorConfig
    network_graph?: NetworkGraphNode[]
    node_snapshots?: NodeResourceSnapshotRecord[]
    password?: string
    pool_snapshots?: PoolResourceSnapshotRecord[]
    profile?: GuestProfile
    profiles?: GuestProfile[]
    resource_permissions?: ResourcePermissions
    resource_pools?: DataStore[]
    resource_statistic?: ResourceStatisticUnitRecord[]
    resource_usages?: GuestResourceUsageRecord[]
    security_interfaces?: SecurityIfaceInfo[]
    security_policies?: SecurityPolicyRecord[]
    security_policy?: SecurityPolicyGroup
    snapshot?: SnapshotRecord
    snapshots?: SnapshotTreeNode[]
    ssh_keys?: SSHKeyView[]
    storage_pool?: StoragePool
    storage_pools?: StoragePoolListRecord[]
    system_status?: SystemStatus
    systems?: GuestSystemView[]
    task?: TaskData
    tasks?: TaskData[]
    total?: number
    traffic_info?: GuestTrafficInfo
    user_accesses?: UserAccessRecord[]
    user_credentials?: UserCredentialRecord[]
    user_group_members?: string[]
    user_groups?: UserGroupRecord[]
    user_roles?: UserRole[]
    user_token?: UserToken

    bearer_token 同步返回的公开元数据(serial / not_before / not_after 等),可入库到本地令牌管理界面。

    user_tokens?: UserToken[]
    warning?: number
    warnings?: WarningRecord[]
    white_list?: string[]