Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::PAIDLC::Tensorboard

Última atualização: Jun 27, 2026

Cria uma instância do TensorBoard.

Sintaxe

{
  "Type": "ALIYUN::PAIDLC::Tensorboard",
  "Properties": {
    "MaxRunningTimeMinutes": Integer,
    "Options": String,
    "Memory": Integer,
    "SummaryPath": String,
    "SourceId": String,
    "SourceType": String,
    "WorkspaceId": String,
    "Cpu": Integer,
    "Uri": String,
    "DataSources": List,
    "SummaryRelativePath": String,
    "DataSourceType": String,
    "DisplayName": String,
    "JobId": String,
    "DataSourceId": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

MaxRunningTimeMinutes

Integer

Não

Sim

Duração máxima de execução.

Unidade: minutos.

Options

String

Não

Não

Campos estendidos do conjunto de dados em formato JSON.

Defina como MountPath para especifique o caminho de montagem do conjunto de dados. Exemplo:

{"mountpath":"/root/data/"}

Memory

Integer

Não

Não

Tamanho da memória.

Unidade: GB.

SummaryPath

String

Não

Não

Caminho do resumo.

Nenhuma.

SourceId

String

Não

Não

ID da source.

Nenhuma.

SourceType

String

Não

Não

Tipo da source.

Exemplo: job.

WorkspaceId

String

Sim

Não

ID do workspace.

Nenhuma.

Cpu

Integer

Não

Não

Número de núcleos de CPU.

Nenhuma.

Uri

String

Não

Não

URI do conjunto de dados.

Formatos de valor:

  • Quando DataSourceType for OSS: oss://[oss-bucket].[endpoint]/[path].

  • Quando DataSourceType for NAS: nas://[nas-filesystem-id].[region]/[path].

DataSources

List

Não

Não

Configurações das origens de dados.

Nenhuma.

SummaryRelativePath

String

Não

Não

Caminho relativo do resumo.

Nenhuma.

DataSourceType

String

Não

Não

Tipo do conjunto de dados.

Valores válidos:

  • OSS

  • NAS

DisplayName

String

Sim

Não

Nome da instância do TensorBoard.

Nenhuma.

JobId

String

Não

Não

ID do job.

Nenhuma.

DataSourceId

String

Sim

Não

ID do conjunto de dados.

Nenhuma.

Valores de retorno

Fn::GetAtt

  • TensorboardId: ID da instância do TensorBoard.

  • TensorboardUrl: URL da instância do TensorBoard.

Exemplos

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      Cpu:
        Description: CPU nuclear number.
        Type: Number
      DataSourceId:
        Description: For dataset ID, see the data set ID, see ListDataSets.
        Type: String
      DataSourceType:
        AllowedValues:
        - OSS
        - NAS
        Description: 'The type of dataset. Values: OSS,NAS'
        Type: String
      DataSources:
        Description: Data source configuration.
        Type: CommaDelimitedList
      DisplayName:
        Description: Tensorboard name.
        Type: String
      JobId:
        Description: Task ID.How to get the task ID, see Listjobs.
        Type: String
      MaxRunningTimeMinutes:
        Description: 'The longest running time, the unit is: minutes.'
        Type: Number
      Memory:
        Description: 'Memory size, the unit is: GB.'
        Type: Number
      Options:
        Description: 'The expansion field of the dataset is JSON format, which currently
          supports Mountpath: the path of custom dataset mounting.'
        Type: String
      SourceId:
        Description: Source ID.
        Type: String
      SourceType:
        Description: Source type.
        Type: String
      SummaryPath:
        Description: Summary directory.
        Type: String
      SummaryRelativePath:
        Description: Summary relative directory. Summary relative directory and Summary
          directory are mutually exclusive
        Type: String
      Uri:
        Description: 'URI of a dataset:
    
          When DataSourceType is OSS, the format is: OSS: // [OSS-BUCET]. [Endpoint]/[Path].
    
          When the DataSourceType is NAS, the format is: nas:// [nas-filesystem-id]. [Region]/[PATH].'
        Type: String
      WorkspaceId:
        Description: Work space ID.How to get working space ID, see ListworkSpaces.
        Type: String
    Resources:
      Tensorboard:
        Properties:
          Cpu:
            Ref: Cpu
          DataSourceId:
            Ref: DataSourceId
          DataSourceType:
            Ref: DataSourceType
          DataSources:
            Ref: DataSources
          DisplayName:
            Ref: DisplayName
          JobId:
            Ref: JobId
          MaxRunningTimeMinutes:
            Ref: MaxRunningTimeMinutes
          Memory:
            Ref: Memory
          Options:
            Ref: Options
          SourceId:
            Ref: SourceId
          SourceType:
            Ref: SourceType
          SummaryPath:
            Ref: SummaryPath
          SummaryRelativePath:
            Ref: SummaryRelativePath
          Uri:
            Ref: Uri
          WorkspaceId:
            Ref: WorkspaceId
        Type: ALIYUN::PAIDLC::Tensorboard
    Outputs:
      TensorboardId:
        Description: Tensorboard id.
        Value:
          Fn::GetAtt:
          - Tensorboard
          - TensorboardId
      TensorboardUrl:
        Description: Tensorboard url.
        Value:
          Fn::GetAtt:
          - Tensorboard
          - TensorboardUrl
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "MaxRunningTimeMinutes": {
          "Type": "Number",
          "Description": "The longest running time, the unit is: minutes."
        },
        "Options": {
          "Type": "String",
          "Description": "The expansion field of the dataset is JSON format, which currently supports Mountpath: the path of custom dataset mounting."
        },
        "Memory": {
          "Type": "Number",
          "Description": "Memory size, the unit is: GB."
        },
        "SummaryPath": {
          "Type": "String",
          "Description": "Summary directory."
        },
        "SourceId": {
          "Type": "String",
          "Description": "Source ID."
        },
        "SourceType": {
          "Type": "String",
          "Description": "Source type."
        },
        "WorkspaceId": {
          "Type": "String",
          "Description": "Work space ID.How to get working space ID, see ListworkSpaces."
        },
        "Cpu": {
          "Type": "Number",
          "Description": "CPU nuclear number."
        },
        "Uri": {
          "Type": "String",
          "Description": "URI of a dataset:\nWhen DataSourceType is OSS, the format is: OSS: // [OSS-BUCET]. [Endpoint]/[Path].\nWhen the DataSourceType is NAS, the format is: nas:// [nas-filesystem-id]. [Region]/[PATH]."
        },
        "DataSources": {
          "Type": "CommaDelimitedList",
          "Description": "Data source configuration."
        },
        "SummaryRelativePath": {
          "Type": "String",
          "Description": "Summary relative directory. Summary relative directory and Summary directory are mutually exclusive"
        },
        "DataSourceType": {
          "Type": "String",
          "Description": "The type of dataset. Values: OSS,NAS",
          "AllowedValues": [
            "OSS",
            "NAS"
          ]
        },
        "DisplayName": {
          "Type": "String",
          "Description": "Tensorboard name."
        },
        "JobId": {
          "Type": "String",
          "Description": "Task ID.How to get the task ID, see Listjobs."
        },
        "DataSourceId": {
          "Type": "String",
          "Description": "For dataset ID, see the data set ID, see ListDataSets."
        }
      },
      "Resources": {
        "Tensorboard": {
          "Type": "ALIYUN::PAIDLC::Tensorboard",
          "Properties": {
            "MaxRunningTimeMinutes": {
              "Ref": "MaxRunningTimeMinutes"
            },
            "Options": {
              "Ref": "Options"
            },
            "Memory": {
              "Ref": "Memory"
            },
            "SummaryPath": {
              "Ref": "SummaryPath"
            },
            "SourceId": {
              "Ref": "SourceId"
            },
            "SourceType": {
              "Ref": "SourceType"
            },
            "WorkspaceId": {
              "Ref": "WorkspaceId"
            },
            "Cpu": {
              "Ref": "Cpu"
            },
            "Uri": {
              "Ref": "Uri"
            },
            "DataSources": {
              "Ref": "DataSources"
            },
            "SummaryRelativePath": {
              "Ref": "SummaryRelativePath"
            },
            "DataSourceType": {
              "Ref": "DataSourceType"
            },
            "DisplayName": {
              "Ref": "DisplayName"
            },
            "JobId": {
              "Ref": "JobId"
            },
            "DataSourceId": {
              "Ref": "DataSourceId"
            }
          }
        }
      },
      "Outputs": {
        "TensorboardId": {
          "Description": "Tensorboard id.",
          "Value": {
            "Fn::GetAtt": [
              "Tensorboard",
              "TensorboardId"
            ]
          }
        },
        "TensorboardUrl": {
          "Description": "Tensorboard url.",
          "Value": {
            "Fn::GetAtt": [
              "Tensorboard",
              "TensorboardUrl"
            ]
          }
        }
      }
    }