Instance
- Implements: AlibabaCloud.SDK.ROS.CDK.Redis.datasource.IInstance
This class encapsulates and extends the ROS resource type DATASOURCE::REDIS::Instance.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Redis;
new Instance(Construct Scope, string Id, InstanceProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description |
|---|---|---|
Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. |
Id | string | No description. |
Props | InstanceProps | No description. |
EnableResourcePropertyConstraint | bool | No description. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: InstanceProps
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.Redis;
Instance.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. |
AttrArchitectureType | object | Attribute ArchitectureType: Architecture type. |
AttrBandwidth | object | Attribute Bandwidth: Bandwidth. |
AttrCapacity | object | Attribute Capacity: Capacity. |
AttrCloudType | object | Attribute CloudType: Cloud category. |
AttrConfig | object | Attribute Config: Config. |
AttrConnectionDomain | object | Attribute ConnectionDomain: Connection domain. |
AttrCreateTime | object | Attribute CreateTime: Create time. |
AttrDbInstanceId | object | Attribute DBInstanceId: Database instance id. |
AttrDbInstanceName | object | Attribute DBInstanceName: Instance name. |
AttrEndTime | object | Attribute EndTime: End time. |
AttrEngineVersion | object | Attribute EngineVersion: Engine version. |
AttrHasRenewChangeOrder | object | Attribute HasRenewChangeOrder: Has renew change order. |
AttrInstanceClass | object | Attribute InstanceClass: Instance class. |
AttrInstanceReleaseProtection | object | Attribute InstanceReleaseProtection: Instance release protection. |
AttrInstanceType | object | Attribute InstanceType: Instance type. |
AttrIsRds | object | Attribute IsRds: is RDS. |
AttrMaintainEndTime | object | Attribute MaintainEndTime: Maintain end time. |
AttrMaintainStartTime | object | Attribute MaintainStartTime: Maintain start time. |
AttrNetworkType | object | Attribute NetworkType: Network type. |
AttrPackageType | object | Attribute PackageType: Package type. |
AttrPaymentType | object | Attribute PaymentType: Payment type. |
AttrPort | object | Attribute Port: Port. |
AttrPrivateIp | object | Attribute PrivateIp: Private IP. |
AttrQps | object | Attribute Qps: QPS. |
AttrReadOnlyCount | object | Attribute ReadOnlyCount: The number of read-only nodes. |
AttrReplacateId | object | Attribute ReplacateId: Replacate id. |
AttrResourceGroupId | object | Attribute ResourceGroupId: Resource group id. |
AttrSecondaryZoneId | object | Attribute SecondaryZoneId: The ID of the standby zone. |
AttrSecurityGroupId | object | Attribute SecurityGroupId: Security group id. |
AttrSecurityIpGroupAttribute | object | Attribute SecurityIpGroupAttribute: Security IP group attribute. |
AttrSecurityIpGroupName | object | Attribute SecurityIpGroupName: Security IP group name. |
AttrSecurityIps | object | Attribute SecurityIps: Security IPs. |
AttrShardCount | object | Attribute ShardCount: The number of slices. |
AttrTags | object | Attribute Tags: Tags. |
AttrVpcAuthMode | object | Attribute VpcAuthMode: Vpc auth mode. |
AttrVpcCloudInstanceId | object | Attribute VpcCloudInstanceId: Vpc cloud instance id. |
AttrVpcId | object | Attribute VpcId: Vpc id. |
AttrVSwitchId | object | Attribute VSwitchId: Vswitch id. |
AttrZoneId | object | Attribute ZoneId: Zone id. |
Props | InstanceProps | 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
AttrArchitectureTypeRequired
public object AttrArchitectureType { get; }
- Type: object
Attribute ArchitectureType: Architecture type.
AttrBandwidthRequired
public object AttrBandwidth { get; }
- Type: object
Attribute Bandwidth: Bandwidth.
AttrCapacityRequired
public object AttrCapacity { get; }
- Type: object
Attribute Capacity: Capacity.
AttrCloudTypeRequired
public object AttrCloudType { get; }
- Type: object
Attribute CloudType: Cloud category.
AttrConfigRequired
public object AttrConfig { get; }
- Type: object
Attribute Config: Config.
AttrConnectionDomainRequired
public object AttrConnectionDomain { get; }
- Type: object
Attribute ConnectionDomain: Connection domain.
AttrCreateTimeRequired
public object AttrCreateTime { get; }
- Type: object
Attribute CreateTime: Create time.
AttrDbInstanceIdRequired
public object AttrDbInstanceId { get; }
- Type: object
Attribute DBInstanceId: Database instance id.
AttrDbInstanceNameRequired
public object AttrDbInstanceName { get; }
- Type: object
Attribute DBInstanceName: Instance name.
AttrEndTimeRequired
public object AttrEndTime { get; }
- Type: object
Attribute EndTime: End time.
AttrEngineVersionRequired
public object AttrEngineVersion { get; }
- Type: object
Attribute EngineVersion: Engine version.
AttrHasRenewChangeOrderRequired
public object AttrHasRenewChangeOrder { get; }
- Type: object
Attribute HasRenewChangeOrder: Has renew change order.
AttrInstanceClassRequired
public object AttrInstanceClass { get; }
- Type: object
Attribute InstanceClass: Instance class.
AttrInstanceReleaseProtectionRequired
public object AttrInstanceReleaseProtection { get; }
- Type: object
Attribute InstanceReleaseProtection: Instance release protection.
AttrInstanceTypeRequired
public object AttrInstanceType { get; }
- Type: object
Attribute InstanceType: Instance type.
AttrIsRdsRequired
public object AttrIsRds { get; }
- Type: object
Attribute IsRds: is RDS.
AttrMaintainEndTimeRequired
public object AttrMaintainEndTime { get; }
- Type: object
Attribute MaintainEndTime: Maintain end time.
AttrMaintainStartTimeRequired
public object AttrMaintainStartTime { get; }
- Type: object
Attribute MaintainStartTime: Maintain start time.
AttrNetworkTypeRequired
public object AttrNetworkType { get; }
- Type: object
Attribute NetworkType: Network type.
AttrPackageTypeRequired
public object AttrPackageType { get; }
- Type: object
Attribute PackageType: Package type.
AttrPaymentTypeRequired
public object AttrPaymentType { get; }
- Type: object
Attribute PaymentType: Payment type.
AttrPortRequired
public object AttrPort { get; }
- Type: object
Attribute Port: Port.
AttrPrivateIpRequired
public object AttrPrivateIp { get; }
- Type: object
Attribute PrivateIp: Private IP.
AttrQpsRequired
public object AttrQps { get; }
- Type: object
Attribute Qps: QPS.
AttrReadOnlyCountRequired
public object AttrReadOnlyCount { get; }
- Type: object
Attribute ReadOnlyCount: The number of read-only nodes.
This parameter is only applicable to the creation of read-write splitting instances in the cloud disk version. You can use this parameter to customize the number of read-only nodes. Valid values: 1 to 5.
AttrReplacateIdRequired
public object AttrReplacateId { get; }
- Type: object
Attribute ReplacateId: Replacate id.
AttrResourceGroupIdRequired
public object AttrResourceGroupId { get; }
- Type: object
Attribute ResourceGroupId: Resource group id.
AttrSecondaryZoneIdRequired
public object AttrSecondaryZoneId { get; }
- Type: object
Attribute SecondaryZoneId: The ID of the standby zone.
AttrSecurityGroupIdRequired
public object AttrSecurityGroupId { get; }
- Type: object
Attribute SecurityGroupId: Security group id.
AttrSecurityIpGroupAttributeRequired
public object AttrSecurityIpGroupAttribute { get; }
- Type: object
Attribute SecurityIpGroupAttribute: Security IP group attribute.
AttrSecurityIpGroupNameRequired
public object AttrSecurityIpGroupName { get; }
- Type: object
Attribute SecurityIpGroupName: Security IP group name.
AttrSecurityIpsRequired
public object AttrSecurityIps { get; }
- Type: object
Attribute SecurityIps: Security IPs.
AttrShardCountRequired
public object AttrShardCount { get; }
- Type: object
Attribute ShardCount: The number of slices.
This parameter is only applicable to creating a cloud disk cluster architecture instance. You can use this parameter to customize the number of slices.
AttrTagsRequired
public object AttrTags { get; }
- Type: object
Attribute Tags: Tags.
AttrVpcAuthModeRequired
public object AttrVpcAuthMode { get; }
- Type: object
Attribute VpcAuthMode: Vpc auth mode.
AttrVpcCloudInstanceIdRequired
public object AttrVpcCloudInstanceId { get; }
- Type: object
Attribute VpcCloudInstanceId: Vpc cloud instance id.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: Vpc id.
AttrVSwitchIdRequired
public object AttrVSwitchId { get; }
- Type: object
Attribute VSwitchId: Vswitch id.
AttrZoneIdRequired
public object AttrZoneId { get; }
- Type: object
Attribute ZoneId: Zone id.
PropsRequired
public InstanceProps Props { get; }
- Type: InstanceProps