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 |
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]. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
dataSourceId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataSourceId: For dataset ID, see the data set ID, see ListDataSets.
displayName
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property displayName: Tensorboard name.
workspaceId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property workspaceId: Work space ID.How to get working space ID, see ListworkSpaces.
cpu
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cpu: CPU nuclear number.
dataSources
Optional
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property dataSources: Data source configuration.
dataSourceType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataSourceType: The type of dataset.
Values: OSS,NAS
jobId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property jobId: Task ID.How to get the task ID, see Listjobs.
maxRunningTimeMinutes
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property maxRunningTimeMinutes: The longest running time, the unit is: minutes.
memory
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property memory: Memory size, the unit is: GB.
options
Optional
- 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.
sourceId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceId: Source ID.
sourceType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceType: Source type.
summaryPath
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property summaryPath: Summary directory.
summaryRelativePath
Optional
- 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
uri
Optional
- 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.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- 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.
- 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. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrTensorboardId
Required
public IResolvable getAttrTensorboardId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute TensorboardId: Tensorboard id.
attrTensorboardUrl
Required
public IResolvable getAttrTensorboardUrl();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute TensorboardUrl: Tensorboard url.