Snapshot
This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Snapshot
, which is used to query the information about a snapshot.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new Snapshot(Construct Scope, string Id, SnapshotProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
SnapshotProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: SnapshotProps
EnableResourcePropertyConstraint
Optional
- 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. |
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
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.Ecs;
Snapshot.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. |
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. |
AttrCreateTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CreateTime: The create time. |
AttrDescription |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Description: The description. |
AttrDiskId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DiskId: The source disk id. |
AttrEncrypted |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Encrypted: Whether the snapshot is encrypted. |
AttrInstantAccess |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstantAccess: Whether snapshot speed availability is enabled. |
AttrInstantAccessRetentionDays |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstantAccessRetentionDays: InstantAccessRetentionDays. |
AttrProductCode |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ProductCode: The product number inherited from the mirror market. |
AttrProgress |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Progress: Snapshot creation progress, in percentage. |
AttrRemainTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RemainTime: Remaining completion time for the snapshot being created. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: The resource group id. |
AttrRetentionDays |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RetentionDays: Automatic snapshot retention days. |
AttrSnapshotId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SnapshotId: The snapshot id. |
AttrSnapshotName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SnapshotName: Snapshot Display Name. |
AttrSnapshotSn |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SnapshotSN: Snapshot serial number. |
AttrSnapshotType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SnapshotType: Snapshot creation type. |
AttrSourceDiskSize |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SourceDiskSize: Source disk capacity. |
AttrSourceDiskType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SourceDiskType: Source disk attributes. |
AttrSourceStorageType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SourceStorageType: Original disk type. |
AttrTags |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Tags: The tags. |
AttrUsage |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Usage: A resource type that has a reference relationship. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The create time.
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description.
AttrDiskId
Required
public IResolvable AttrDiskId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskId: The source disk id.
AttrEncrypted
Required
public IResolvable AttrEncrypted { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Encrypted: Whether the snapshot is encrypted.
AttrInstantAccess
Required
public IResolvable AttrInstantAccess { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstantAccess: Whether snapshot speed availability is enabled.
AttrInstantAccessRetentionDays
Required
public IResolvable AttrInstantAccessRetentionDays { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstantAccessRetentionDays: InstantAccessRetentionDays.
AttrProductCode
Required
public IResolvable AttrProductCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ProductCode: The product number inherited from the mirror market.
AttrProgress
Required
public IResolvable AttrProgress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Progress: Snapshot creation progress, in percentage.
AttrRemainTime
Required
public IResolvable AttrRemainTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RemainTime: Remaining completion time for the snapshot being created.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The resource group id.
AttrRetentionDays
Required
public IResolvable AttrRetentionDays { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RetentionDays: Automatic snapshot retention days.
AttrSnapshotId
Required
public IResolvable AttrSnapshotId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotId: The snapshot id.
AttrSnapshotName
Required
public IResolvable AttrSnapshotName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotName: Snapshot Display Name.
AttrSnapshotSn
Required
public IResolvable AttrSnapshotSn { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotSN: Snapshot serial number.
AttrSnapshotType
Required
public IResolvable AttrSnapshotType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotType: Snapshot creation type.
AttrSourceDiskSize
Required
public IResolvable AttrSourceDiskSize { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceDiskSize: Source disk capacity.
AttrSourceDiskType
Required
public IResolvable AttrSourceDiskType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceDiskType: Source disk attributes.
AttrSourceStorageType
Required
public IResolvable AttrSourceStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceStorageType: Original disk type.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags.
AttrUsage
Required
public IResolvable AttrUsage { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Usage: A resource type that has a reference relationship.