Documentation ¶
Overview ¶
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
Index ¶
- func DiskReplicaGroup_IsConstruct(x interface{}) *bool
- func DiskReplicaPairAddition_IsConstruct(x interface{}) *bool
- func DiskReplicaPair_IsConstruct(x interface{}) *bool
- func NewDiskReplicaGroup_Override(d DiskReplicaGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewDiskReplicaPairAddition_Override(d DiskReplicaPairAddition, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewDiskReplicaPair_Override(d DiskReplicaPair, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDiskReplicaGroup_Override(r RosDiskReplicaGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDiskReplicaPairAddition_Override(r RosDiskReplicaPairAddition, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDiskReplicaPair_Override(r RosDiskReplicaPair, scope alicloudroscdkcore.Construct, id *string, ...)
- func RosDiskReplicaGroup_IsConstruct(x interface{}) *bool
- func RosDiskReplicaGroup_IsRosElement(x interface{}) *bool
- func RosDiskReplicaGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDiskReplicaGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosDiskReplicaPairAddition_IsConstruct(x interface{}) *bool
- func RosDiskReplicaPairAddition_IsRosElement(x interface{}) *bool
- func RosDiskReplicaPairAddition_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDiskReplicaPairAddition_ROS_RESOURCE_TYPE_NAME() *string
- func RosDiskReplicaPair_IsConstruct(x interface{}) *bool
- func RosDiskReplicaPair_IsRosElement(x interface{}) *bool
- func RosDiskReplicaPair_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDiskReplicaPair_ROS_RESOURCE_TYPE_NAME() *string
- type DiskReplicaGroup
- type DiskReplicaGroupProps
- type DiskReplicaPair
- type DiskReplicaPairAddition
- type DiskReplicaPairAdditionProps
- type DiskReplicaPairProps
- type RosDiskReplicaGroup
- type RosDiskReplicaGroupProps
- type RosDiskReplicaGroup_TagsProperty
- type RosDiskReplicaPair
- type RosDiskReplicaPairAddition
- type RosDiskReplicaPairAdditionProps
- type RosDiskReplicaPairProps
- type RosDiskReplicaPair_TagsProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskReplicaGroup_IsConstruct ¶
func DiskReplicaGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func DiskReplicaPairAddition_IsConstruct ¶
func DiskReplicaPairAddition_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func DiskReplicaPair_IsConstruct ¶
func DiskReplicaPair_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewDiskReplicaGroup_Override ¶
func NewDiskReplicaGroup_Override(d DiskReplicaGroup, scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewDiskReplicaPairAddition_Override ¶
func NewDiskReplicaPairAddition_Override(d DiskReplicaPairAddition, scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaPairAdditionProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewDiskReplicaPair_Override ¶
func NewDiskReplicaPair_Override(d DiskReplicaPair, scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaPairProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosDiskReplicaGroup_Override ¶
func NewRosDiskReplicaGroup_Override(r RosDiskReplicaGroup, scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaGroupProps, enableResourcePropertyConstraint *bool)
func NewRosDiskReplicaPairAddition_Override ¶
func NewRosDiskReplicaPairAddition_Override(r RosDiskReplicaPairAddition, scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaPairAdditionProps, enableResourcePropertyConstraint *bool)
func NewRosDiskReplicaPair_Override ¶
func NewRosDiskReplicaPair_Override(r RosDiskReplicaPair, scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaPairProps, enableResourcePropertyConstraint *bool)
func RosDiskReplicaGroup_IsConstruct ¶
func RosDiskReplicaGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDiskReplicaGroup_IsRosElement ¶
func RosDiskReplicaGroup_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosDiskReplicaGroup_IsRosResource ¶
func RosDiskReplicaGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDiskReplicaGroup_ROS_RESOURCE_TYPE_NAME ¶
func RosDiskReplicaGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosDiskReplicaPairAddition_IsConstruct ¶
func RosDiskReplicaPairAddition_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDiskReplicaPairAddition_IsRosElement ¶
func RosDiskReplicaPairAddition_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosDiskReplicaPairAddition_IsRosResource ¶
func RosDiskReplicaPairAddition_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDiskReplicaPairAddition_ROS_RESOURCE_TYPE_NAME ¶
func RosDiskReplicaPairAddition_ROS_RESOURCE_TYPE_NAME() *string
func RosDiskReplicaPair_IsConstruct ¶
func RosDiskReplicaPair_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDiskReplicaPair_IsRosElement ¶
func RosDiskReplicaPair_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosDiskReplicaPair_IsRosResource ¶
func RosDiskReplicaPair_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDiskReplicaPair_ROS_RESOURCE_TYPE_NAME ¶
func RosDiskReplicaPair_ROS_RESOURCE_TYPE_NAME() *string
Types ¶
type DiskReplicaGroup ¶
type DiskReplicaGroup interface { alicloudroscdkcore.Resource // Attribute Description: The description of the consistent replication group. AttrDescription() alicloudroscdkcore.IResolvable // Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs. AttrDestinationRegionId() alicloudroscdkcore.IResolvable // Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs. AttrDestinationZoneId() alicloudroscdkcore.IResolvable // Attribute DiskReplicaGroupName: Consistent replication group name. AttrDiskReplicaGroupName() alicloudroscdkcore.IResolvable // Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed. // // This parameter provides the return value as a timestamp. Unit: seconds. AttrLastRecoverPoint() alicloudroscdkcore.IResolvable // Attribute PairIds: List of replication pair IDs contained in a consistent replication group. AttrPairIds() alicloudroscdkcore.IResolvable // Attribute PairNumber: The number of replication pairs contained in a consistent replication group. AttrPairNumber() alicloudroscdkcore.IResolvable // Attribute PrimaryRegion: The initial source region of the replication group. AttrPrimaryRegion() alicloudroscdkcore.IResolvable // Attribute PrimaryZone: The initial source available area of the replication group. AttrPrimaryZone() alicloudroscdkcore.IResolvable // Attribute ReplicaGroupId: The ID of the consistent replication group. AttrReplicaGroupId() alicloudroscdkcore.IResolvable // Attribute ResourceGroupId: resource group ID of enterprise. AttrResourceGroupId() alicloudroscdkcore.IResolvable // Attribute RPO: The RPO value set by the consistency group in seconds. AttrRpo() alicloudroscdkcore.IResolvable // Attribute Site: Site information sources for replication pairs and consistent replication groups. // // Possible values:. AttrSite() alicloudroscdkcore.IResolvable // Attribute SourceRegionId: The ID of the region to which the production site belongs. AttrSourceRegionId() alicloudroscdkcore.IResolvable // Attribute SourceZoneId: The ID of the zone to which the production site belongs. AttrSourceZoneId() alicloudroscdkcore.IResolvable // Attribute StandbyRegion: The initial destination region of the replication group. AttrStandbyRegion() alicloudroscdkcore.IResolvable // Attribute StandbyZone: The initial destination zone of the replication group. AttrStandbyZone() alicloudroscdkcore.IResolvable // Attribute Tags: The tags of the disk replica group. AttrTags() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *DiskReplicaGroupProps SetProps(val *DiskReplicaGroupProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EBS::DiskReplicaGroup`, which is used to create a replication pair-consistent group.
func NewDiskReplicaGroup ¶
func NewDiskReplicaGroup(scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaGroupProps, enableResourcePropertyConstraint *bool) DiskReplicaGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DiskReplicaGroupProps ¶
type DiskReplicaGroupProps struct { // Property destinationRegionId: The ID of the region to which the disaster recovery site belongs. DestinationRegionId interface{} `field:"required" json:"destinationRegionId" yaml:"destinationRegionId"` // Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs. DestinationZoneId interface{} `field:"required" json:"destinationZoneId" yaml:"destinationZoneId"` // Property sourceRegionId: The ID of the region to which the production site belongs. SourceRegionId interface{} `field:"required" json:"sourceRegionId" yaml:"sourceRegionId"` // Property sourceZoneId: The ID of the zone to which the production site belongs. SourceZoneId interface{} `field:"required" json:"sourceZoneId" yaml:"sourceZoneId"` // Property description: The description of the consistent replication group. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property diskReplicaGroupName: Consistent replication group name. DiskReplicaGroupName interface{} `field:"optional" json:"diskReplicaGroupName" yaml:"diskReplicaGroupName"` // Property resourceGroupId: The ID of resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property rpo: The RPO value set by the consistency group in seconds. Rpo interface{} `field:"optional" json:"rpo" yaml:"rpo"` // Property tags: Tags of disk replica group. Tags *[]*RosDiskReplicaGroup_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `DiskReplicaGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicagroup
type DiskReplicaPair ¶
type DiskReplicaPair interface { alicloudroscdkcore.Resource // Attribute Bandwidth: The bandwidth for asynchronous data replication between cloud disks. AttrBandwidth() alicloudroscdkcore.IResolvable // Attribute CreateTime: The creation time of the resource. AttrCreateTime() alicloudroscdkcore.IResolvable // Attribute Description: The description of the asynchronous replication relationship. AttrDescription() alicloudroscdkcore.IResolvable // Attribute DestinationDiskId: The ID of the standby disk. AttrDestinationDiskId() alicloudroscdkcore.IResolvable // Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs. AttrDestinationRegionId() alicloudroscdkcore.IResolvable // Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs. AttrDestinationZoneId() alicloudroscdkcore.IResolvable // Attribute DiskId: The ID of the primary disk. AttrDiskId() alicloudroscdkcore.IResolvable // Attribute DiskReplicaPairName: The name of the asynchronous replication relationship. AttrDiskReplicaPairName() alicloudroscdkcore.IResolvable // Attribute PaymentType: The payment type of the resource. AttrPaymentType() alicloudroscdkcore.IResolvable // Attribute ReplicaPairId: The ID of the disk replica pair. AttrReplicaPairId() alicloudroscdkcore.IResolvable // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() alicloudroscdkcore.IResolvable // Attribute RPO: The RPO value set by the consistency group in seconds. AttrRpo() alicloudroscdkcore.IResolvable // Attribute SourceZoneId: The ID of the zone to which the production site belongs. AttrSourceZoneId() alicloudroscdkcore.IResolvable // Attribute Tags: The tags of the disk replica pair. AttrTags() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *DiskReplicaPairProps SetProps(val *DiskReplicaPairProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EBS::DiskReplicaPair`, which is used to create a replication pair.
func NewDiskReplicaPair ¶
func NewDiskReplicaPair(scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaPairProps, enableResourcePropertyConstraint *bool) DiskReplicaPair
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DiskReplicaPairAddition ¶
type DiskReplicaPairAddition interface { alicloudroscdkcore.Resource // Attribute ReplicaGroupId: The ID of the replication pair-consistent group. AttrReplicaGroupId() alicloudroscdkcore.IResolvable // Attribute ReplicaPairId: The ID of the replication pair. AttrReplicaPairId() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *DiskReplicaPairAdditionProps SetProps(val *DiskReplicaPairAdditionProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EBS::DiskReplicaPairAddition`, which is used to add a replication pair to a replication pair-consistent group.
func NewDiskReplicaPairAddition ¶
func NewDiskReplicaPairAddition(scope alicloudroscdkcore.Construct, id *string, props *DiskReplicaPairAdditionProps, enableResourcePropertyConstraint *bool) DiskReplicaPairAddition
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DiskReplicaPairAdditionProps ¶
type DiskReplicaPairAdditionProps struct { // Property replicaGroupId: The ID of the replication pair-consistent group. ReplicaGroupId interface{} `field:"required" json:"replicaGroupId" yaml:"replicaGroupId"` // Property replicaPairId: The ID of the replication pair. // // You can call the DescribeDiskReplicaPairs operation to query the IDs of existing replication pairs. ReplicaPairId interface{} `field:"required" json:"replicaPairId" yaml:"replicaPairId"` }
Properties for defining a `DiskReplicaPairAddition`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicapairaddition
type DiskReplicaPairProps ¶
type DiskReplicaPairProps struct { // Property destinationDiskId: The ID of the standby disk. DestinationDiskId interface{} `field:"required" json:"destinationDiskId" yaml:"destinationDiskId"` // Property destinationRegionId: The ID of the region to which the disaster recovery site belongs. DestinationRegionId interface{} `field:"required" json:"destinationRegionId" yaml:"destinationRegionId"` // Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs. DestinationZoneId interface{} `field:"required" json:"destinationZoneId" yaml:"destinationZoneId"` // Property diskId: The ID of the primary disk. DiskId interface{} `field:"required" json:"diskId" yaml:"diskId"` // Property sourceZoneId: The ID of the zone to which the production site belongs. SourceZoneId interface{} `field:"required" json:"sourceZoneId" yaml:"sourceZoneId"` // Property bandwidth: The bandwidth for asynchronous data replication between cloud disks. // // The unit is Kbps. Value range: // - 10240 Kbps: equal to 10 Mbps. // - 20480 Kbps: equal to 20 Mbps. // - 51200 Kbps: equal to 50 Mbps. // - 102400 Kbps: equal to 100 Mbps. // Default value: 10240. // This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication. Bandwidth interface{} `field:"optional" json:"bandwidth" yaml:"bandwidth"` // Property description: The description of the asynchronous replication relationship. // // 2 to 256 English or Chinese characters in length and cannot start with' http:\/\/ 'or' https. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property diskReplicaPairName: The name of the asynchronous replication relationship. // // The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:\/\/ or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). DiskReplicaPairName interface{} `field:"optional" json:"diskReplicaPairName" yaml:"diskReplicaPairName"` // Property paymentType: The payment type of the resource. PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` // Property period: The purchase duration of the asynchronous replication relationship. // // This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is: // - When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 6, 12, 24, 36, 60. Period interface{} `field:"optional" json:"period" yaml:"period"` // Property periodUnit: The unit of the purchase time of the asynchronous replication relationship. // // Value range: // - Month.Default value: Month. PeriodUnit interface{} `field:"optional" json:"periodUnit" yaml:"periodUnit"` // Property resourceGroupId: The ID of the resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property rpo: The RPO value set by the consistency group in seconds. // // Currently only 900 seconds are supported. Rpo interface{} `field:"optional" json:"rpo" yaml:"rpo"` // Property tags: Tags of disk replica pair. Tags *[]*RosDiskReplicaPair_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `DiskReplicaPair`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicapair
type RosDiskReplicaGroup ¶
type RosDiskReplicaGroup interface { alicloudroscdkcore.RosResource AttrDescription() alicloudroscdkcore.IResolvable AttrDestinationRegionId() alicloudroscdkcore.IResolvable AttrDestinationZoneId() alicloudroscdkcore.IResolvable AttrDiskReplicaGroupName() alicloudroscdkcore.IResolvable AttrLastRecoverPoint() alicloudroscdkcore.IResolvable AttrPairIds() alicloudroscdkcore.IResolvable AttrPairNumber() alicloudroscdkcore.IResolvable AttrPrimaryRegion() alicloudroscdkcore.IResolvable AttrPrimaryZone() alicloudroscdkcore.IResolvable AttrReplicaGroupId() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrRpo() alicloudroscdkcore.IResolvable AttrSite() alicloudroscdkcore.IResolvable AttrSourceRegionId() alicloudroscdkcore.IResolvable AttrSourceZoneId() alicloudroscdkcore.IResolvable AttrStandbyRegion() alicloudroscdkcore.IResolvable AttrStandbyZone() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string Description() interface{} SetDescription(val interface{}) DestinationRegionId() interface{} SetDestinationRegionId(val interface{}) DestinationZoneId() interface{} SetDestinationZoneId(val interface{}) DiskReplicaGroupName() interface{} SetDiskReplicaGroupName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string Rpo() interface{} SetRpo(val interface{}) SourceRegionId() interface{} SetSourceRegionId(val interface{}) SourceZoneId() interface{} SetSourceZoneId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Tags() *[]*RosDiskReplicaGroup_TagsProperty SetTags(val *[]*RosDiskReplicaGroup_TagsProperty) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EBS::DiskReplicaGroup`, which is used to create a replication pair-consistent group.
func NewRosDiskReplicaGroup ¶
func NewRosDiskReplicaGroup(scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaGroupProps, enableResourcePropertyConstraint *bool) RosDiskReplicaGroup
type RosDiskReplicaGroupProps ¶
type RosDiskReplicaGroupProps struct { DestinationRegionId interface{} `field:"required" json:"destinationRegionId" yaml:"destinationRegionId"` DestinationZoneId interface{} `field:"required" json:"destinationZoneId" yaml:"destinationZoneId"` SourceRegionId interface{} `field:"required" json:"sourceRegionId" yaml:"sourceRegionId"` SourceZoneId interface{} `field:"required" json:"sourceZoneId" yaml:"sourceZoneId"` Description interface{} `field:"optional" json:"description" yaml:"description"` DiskReplicaGroupName interface{} `field:"optional" json:"diskReplicaGroupName" yaml:"diskReplicaGroupName"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` Rpo interface{} `field:"optional" json:"rpo" yaml:"rpo"` Tags *[]*RosDiskReplicaGroup_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `RosDiskReplicaGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicagroup
type RosDiskReplicaGroup_TagsProperty ¶
type RosDiskReplicaGroup_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosDiskReplicaPair ¶
type RosDiskReplicaPair interface { alicloudroscdkcore.RosResource AttrBandwidth() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrDestinationDiskId() alicloudroscdkcore.IResolvable AttrDestinationRegionId() alicloudroscdkcore.IResolvable AttrDestinationZoneId() alicloudroscdkcore.IResolvable AttrDiskId() alicloudroscdkcore.IResolvable AttrDiskReplicaPairName() alicloudroscdkcore.IResolvable AttrPaymentType() alicloudroscdkcore.IResolvable AttrReplicaPairId() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrRpo() alicloudroscdkcore.IResolvable AttrSourceZoneId() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable Bandwidth() interface{} SetBandwidth(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string Description() interface{} SetDescription(val interface{}) DestinationDiskId() interface{} SetDestinationDiskId(val interface{}) DestinationRegionId() interface{} SetDestinationRegionId(val interface{}) DestinationZoneId() interface{} SetDestinationZoneId(val interface{}) DiskId() interface{} SetDiskId(val interface{}) DiskReplicaPairName() interface{} SetDiskReplicaPairName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PaymentType() interface{} SetPaymentType(val interface{}) Period() interface{} SetPeriod(val interface{}) PeriodUnit() interface{} SetPeriodUnit(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string Rpo() interface{} SetRpo(val interface{}) SourceZoneId() interface{} SetSourceZoneId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Tags() *[]*RosDiskReplicaPair_TagsProperty SetTags(val *[]*RosDiskReplicaPair_TagsProperty) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EBS::DiskReplicaPair`, which is used to create a replication pair.
func NewRosDiskReplicaPair ¶
func NewRosDiskReplicaPair(scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaPairProps, enableResourcePropertyConstraint *bool) RosDiskReplicaPair
type RosDiskReplicaPairAddition ¶
type RosDiskReplicaPairAddition interface { alicloudroscdkcore.RosResource AttrReplicaGroupId() alicloudroscdkcore.IResolvable AttrReplicaPairId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string ReplicaGroupId() interface{} SetReplicaGroupId(val interface{}) ReplicaPairId() interface{} SetReplicaPairId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // 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. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // 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. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EBS::DiskReplicaPairAddition`, which is used to add a replication pair to a replication pair-consistent group.
func NewRosDiskReplicaPairAddition ¶
func NewRosDiskReplicaPairAddition(scope alicloudroscdkcore.Construct, id *string, props *RosDiskReplicaPairAdditionProps, enableResourcePropertyConstraint *bool) RosDiskReplicaPairAddition
type RosDiskReplicaPairAdditionProps ¶
type RosDiskReplicaPairAdditionProps struct { ReplicaGroupId interface{} `field:"required" json:"replicaGroupId" yaml:"replicaGroupId"` ReplicaPairId interface{} `field:"required" json:"replicaPairId" yaml:"replicaPairId"` }
Properties for defining a `RosDiskReplicaPairAddition`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicapairaddition
type RosDiskReplicaPairProps ¶
type RosDiskReplicaPairProps struct { DestinationDiskId interface{} `field:"required" json:"destinationDiskId" yaml:"destinationDiskId"` DestinationRegionId interface{} `field:"required" json:"destinationRegionId" yaml:"destinationRegionId"` DestinationZoneId interface{} `field:"required" json:"destinationZoneId" yaml:"destinationZoneId"` DiskId interface{} `field:"required" json:"diskId" yaml:"diskId"` SourceZoneId interface{} `field:"required" json:"sourceZoneId" yaml:"sourceZoneId"` Bandwidth interface{} `field:"optional" json:"bandwidth" yaml:"bandwidth"` Description interface{} `field:"optional" json:"description" yaml:"description"` DiskReplicaPairName interface{} `field:"optional" json:"diskReplicaPairName" yaml:"diskReplicaPairName"` PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` Period interface{} `field:"optional" json:"period" yaml:"period"` PeriodUnit interface{} `field:"optional" json:"periodUnit" yaml:"periodUnit"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` Rpo interface{} `field:"optional" json:"rpo" yaml:"rpo"` Tags *[]*RosDiskReplicaPair_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `RosDiskReplicaPair`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicapair
type RosDiskReplicaPair_TagsProperty ¶
type RosDiskReplicaPair_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
Source Files ¶
- DiskReplicaGroup.go
- DiskReplicaGroupProps.go
- DiskReplicaGroup__checks.go
- DiskReplicaPair.go
- DiskReplicaPairAddition.go
- DiskReplicaPairAdditionProps.go
- DiskReplicaPairAddition__checks.go
- DiskReplicaPairProps.go
- DiskReplicaPair__checks.go
- RosDiskReplicaGroup.go
- RosDiskReplicaGroupProps.go
- RosDiskReplicaGroup_TagsProperty.go
- RosDiskReplicaGroup__checks.go
- RosDiskReplicaPair.go
- RosDiskReplicaPairAddition.go
- RosDiskReplicaPairAdditionProps.go
- RosDiskReplicaPairAddition__checks.go
- RosDiskReplicaPairProps.go
- RosDiskReplicaPair_TagsProperty.go
- RosDiskReplicaPair__checks.go
- main.go
Directories ¶
Path | Synopsis |
---|---|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves. |