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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: SnapshotProps
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. |
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. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
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
AttrCreateTimeRequired
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The create time.
AttrDescriptionRequired
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description.
AttrDiskIdRequired
public IResolvable AttrDiskId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskId: The source disk id.
AttrEncryptedRequired
public IResolvable AttrEncrypted { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Encrypted: Whether the snapshot is encrypted.
AttrInstantAccessRequired
public IResolvable AttrInstantAccess { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstantAccess: Whether snapshot speed availability is enabled.
AttrInstantAccessRetentionDaysRequired
public IResolvable AttrInstantAccessRetentionDays { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstantAccessRetentionDays: InstantAccessRetentionDays.
AttrProductCodeRequired
public IResolvable AttrProductCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ProductCode: The product number inherited from the mirror market.
AttrProgressRequired
public IResolvable AttrProgress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Progress: Snapshot creation progress, in percentage.
AttrRemainTimeRequired
public IResolvable AttrRemainTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RemainTime: Remaining completion time for the snapshot being created.
AttrResourceGroupIdRequired
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The resource group id.
AttrRetentionDaysRequired
public IResolvable AttrRetentionDays { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RetentionDays: Automatic snapshot retention days.
AttrSnapshotIdRequired
public IResolvable AttrSnapshotId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotId: The snapshot id.
AttrSnapshotNameRequired
public IResolvable AttrSnapshotName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotName: Snapshot Display Name.
AttrSnapshotSnRequired
public IResolvable AttrSnapshotSn { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotSN: Snapshot serial number.
AttrSnapshotTypeRequired
public IResolvable AttrSnapshotType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SnapshotType: Snapshot creation type.
AttrSourceDiskSizeRequired
public IResolvable AttrSourceDiskSize { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceDiskSize: Source disk capacity.
AttrSourceDiskTypeRequired
public IResolvable AttrSourceDiskType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceDiskType: Source disk attributes.
AttrSourceStorageTypeRequired
public IResolvable AttrSourceStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceStorageType: Original disk type.
AttrTagsRequired
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags.
AttrUsageRequired
public IResolvable AttrUsage { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Usage: A resource type that has a reference relationship.