Tensorboard
- Implements: ITensorboard
This class encapsulates and extends the ROS resource type ALIYUN::PAIDLC::Tensorboard.
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]. |
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. |
fetchCondition | No description. |
fetchDependency | No description. |
fetchResourceDesc | 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
fetchCondition
public RosCondition fetchCondition()
fetchDependency
public java.util.List<java.lang.String> fetchDependency()
fetchResourceDesc
public java.lang.String fetchResourceDesc()
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. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TensorboardId: Tensorboard id. |
attrTensorboardUrl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TensorboardUrl: Tensorboard url. |
props | TensorboardProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
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 java.lang.Object getAttrTensorboardId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TensorboardId: Tensorboard id.
attrTensorboardUrlRequired
public java.lang.Object getAttrTensorboardUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TensorboardUrl: Tensorboard url.
propsRequired
public TensorboardProps getProps();
- Type: TensorboardProps