Skip to content

Tensorboard

This class encapsulates and extends the ROS resource type ALIYUN::PAIDLC::Tensorboard, which is used to create a TensorBoard instance.

Initializers

import com.aliyun.ros.cdk.paidlc.Tensorboard;
Tensorboard.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .dataSourceId(java.lang.String)
    .dataSourceId(IResolvable)
    .displayName(java.lang.String)
    .displayName(IResolvable)
    .workspaceId(java.lang.String)
    .workspaceId(IResolvable)
//  .cpu(java.lang.Number)
//  .cpu(IResolvable)
//  .dataSources(java.util.List<java.lang.Object>)
//  .dataSources(IResolvable)
//  .dataSourceType(java.lang.String)
//  .dataSourceType(IResolvable)
//  .jobId(java.lang.String)
//  .jobId(IResolvable)
//  .maxRunningTimeMinutes(java.lang.Number)
//  .maxRunningTimeMinutes(IResolvable)
//  .memory(java.lang.Number)
//  .memory(IResolvable)
//  .options(java.lang.String)
//  .options(IResolvable)
//  .sourceId(java.lang.String)
//  .sourceId(IResolvable)
//  .sourceType(java.lang.String)
//  .sourceType(IResolvable)
//  .summaryPath(java.lang.String)
//  .summaryPath(IResolvable)
//  .summaryRelativePath(java.lang.String)
//  .summaryRelativePath(IResolvable)
//  .uri(java.lang.String)
//  .uri(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
dataSourceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataSourceId: For dataset ID, see the data set ID, see ListDataSets.
displayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property displayName: Tensorboard name.
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: Work space ID.How to get working space ID, see ListworkSpaces.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property cpu: CPU nuclear number.
dataSources java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property dataSources: Data source configuration.
dataSourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataSourceType: The type of dataset.
jobId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property jobId: Task ID.How to get the task ID, see Listjobs.
maxRunningTimeMinutes java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxRunningTimeMinutes: The longest running time, the unit is: minutes.
memory java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property memory: Memory size, the unit is: GB.
options java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property options: The expansion field of the dataset is JSON format, which currently supports Mountpath: the path of custom dataset mounting.
sourceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceId: Source ID.
sourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceType: Source type.
summaryPath java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property summaryPath: Summary directory.
summaryRelativePath java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property summaryRelativePath: Summary relative directory.
uri java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property uri: URI of a dataset: When DataSourceType is OSS, the format is: OSS: \/\/ [OSS-BUCET].

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

dataSourceIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dataSourceId: For dataset ID, see the data set ID, see ListDataSets.


displayNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property displayName: Tensorboard name.


workspaceIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property workspaceId: Work space ID.How to get working space ID, see ListworkSpaces.


cpuOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property cpu: CPU nuclear number.


dataSourcesOptional

  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property dataSources: Data source configuration.


dataSourceTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dataSourceType: The type of dataset.

Values: OSS,NAS


jobIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property jobId: Task ID.How to get the task ID, see Listjobs.


maxRunningTimeMinutesOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property maxRunningTimeMinutes: The longest running time, the unit is: minutes.


memoryOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property memory: Memory size, the unit is: GB.


optionsOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property options: The expansion field of the dataset is JSON format, which currently supports Mountpath: the path of custom dataset mounting.


sourceIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceId: Source ID.


sourceTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceType: Source type.


summaryPathOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property summaryPath: Summary directory.


summaryRelativePathOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property summaryRelativePath: Summary relative directory.

Summary relative directory and Summary directory are mutually exclusive


uriOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property uri: 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].


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.paidlc.Tensorboard;
Tensorboard.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrTensorboardId com.aliyun.ros.cdk.core.IResolvable Attribute TensorboardId: Tensorboard id.
attrTensorboardUrl com.aliyun.ros.cdk.core.IResolvable Attribute TensorboardUrl: Tensorboard url.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrTensorboardIdRequired

public IResolvable getAttrTensorboardId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute TensorboardId: Tensorboard id.


attrTensorboardUrlRequired

public IResolvable getAttrTensorboardUrl();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute TensorboardUrl: Tensorboard url.


Structs