Run
- Implements: IRun
This class encapsulates and extends the ROS resource type ALIYUN::PAI::Run.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Pai;
new Run(Construct Scope, string Id, RunProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description |
|---|---|---|
Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. |
Id | string | No description. |
Props | RunProps | No description. |
EnableResourcePropertyConstraint | bool | No description. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: RunProps
EnableResourcePropertyConstraintOptional
- Type: bool
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
private string ToString()
Returns a string representation of this construct.
Synthesize
private 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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Pai;
Run.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node associated with this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Ref | string | No description. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
Resource | AlibabaCloud.SDK.ROS.CDK.Core.RosResource | No description. |
AttrAccessibility | object | Attribute Accessibility: Resource attribute fields representing visibility. |
AttrCreateTime | object | Attribute CreateTime: The creation time of the Run. |
AttrExperimentId | object | Attribute ExperimentId: Resource attribute field of the experiment ID to which Run belongs. |
AttrGmtModifiedTime | object | Attribute GmtModifiedTime: Resource attribute fields representing edit time. |
AttrLabels | object | Attribute Labels: Run attribute field representing the run tag. |
AttrMetrics | object | Attribute Metrics: Resource attribute field representing the run metric. |
AttrOwnerId | object | Attribute OwnerId: Resource attribute field representing owner. |
AttrParams | object | Attribute Params: Resource attribute field representing the run parameter. |
AttrRunId | object | Attribute RunId: The ID of the Run. |
AttrRunName | object | Attribute RunName: The name of the Run. |
AttrSourceId | object | Attribute SourceId: Attribute Resource field representing the source task ID. |
AttrSourceType | object | Attribute SourceType: Run attribute fields representing the source type. |
AttrUserId | object | Attribute UserId: Run attribute field representing creator ID. |
AttrWorkspaceId | object | Attribute WorkspaceId: Resource attribute field of the workspace ID to which Run belongs. |
Props | RunProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.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 string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAccessibilityRequired
public object AttrAccessibility { get; }
- Type: object
Attribute Accessibility: Resource attribute fields representing visibility.
AttrCreateTimeRequired
public object AttrCreateTime { get; }
- Type: object
Attribute CreateTime: The creation time of the Run.
AttrExperimentIdRequired
public object AttrExperimentId { get; }
- Type: object
Attribute ExperimentId: Resource attribute field of the experiment ID to which Run belongs.
AttrGmtModifiedTimeRequired
public object AttrGmtModifiedTime { get; }
- Type: object
Attribute GmtModifiedTime: Resource attribute fields representing edit time.
AttrLabelsRequired
public object AttrLabels { get; }
- Type: object
Attribute Labels: Run attribute field representing the run tag.
AttrMetricsRequired
public object AttrMetrics { get; }
- Type: object
Attribute Metrics: Resource attribute field representing the run metric.
AttrOwnerIdRequired
public object AttrOwnerId { get; }
- Type: object
Attribute OwnerId: Resource attribute field representing owner.
AttrParamsRequired
public object AttrParams { get; }
- Type: object
Attribute Params: Resource attribute field representing the run parameter.
AttrRunIdRequired
public object AttrRunId { get; }
- Type: object
Attribute RunId: The ID of the Run.
AttrRunNameRequired
public object AttrRunName { get; }
- Type: object
Attribute RunName: The name of the Run.
AttrSourceIdRequired
public object AttrSourceId { get; }
- Type: object
Attribute SourceId: Attribute Resource field representing the source task ID.
AttrSourceTypeRequired
public object AttrSourceType { get; }
- Type: object
Attribute SourceType: Run attribute fields representing the source type.
AttrUserIdRequired
public object AttrUserId { get; }
- Type: object
Attribute UserId: Run attribute field representing creator ID.
AttrWorkspaceIdRequired
public object AttrWorkspaceId { get; }
- Type: object
Attribute WorkspaceId: Resource attribute field of the workspace ID to which Run belongs.
PropsRequired
public RunProps Props { get; }
- Type: RunProps