Show / Hide Table of Contents

Class InstanceArgs

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Rds
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class InstanceArgs : ResourceArgs

Constructors

View Source

InstanceArgs()

Declaration
public InstanceArgs()

Properties

View Source

AutoRenew

Whether to renewal a DB instance automatically or not. It is valid when instance_charge_type is PrePaid. Default to false.

Declaration
public Input<bool> AutoRenew { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AutoRenewPeriod

Auto-renewal period of an instance, in the unit of the month. It is valid when instance_charge_type is PrePaid. Valid value:[1~12], Default to 1.

Declaration
public Input<int> AutoRenewPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

AutoUpgradeMinorVersion

The upgrade method to use. Valid values:

  • Auto: Instances are automatically upgraded to a higher minor version.
  • Manual: Instances are forcibly upgraded to a higher minor version when the current version is unpublished.
Declaration
public Input<string> AutoUpgradeMinorVersion { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DbInstanceStorageType

The storage type of the instance. Valid values:

  • local_ssd: specifies to use local SSDs. This value is recommended.
  • cloud_ssd: specifies to use standard SSDs.
  • cloud_essd: specifies to use enhanced SSDs (ESSDs).
  • cloud_essd2: specifies to use enhanced SSDs (ESSDs).
  • cloud_essd3: specifies to use enhanced SSDs (ESSDs).
Declaration
public Input<string> DbInstanceStorageType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Engine

Database type. Value options: MySQL, SQLServer, PostgreSQL, and PPAS.

Declaration
public Input<string> Engine { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EngineVersion

Database version. Value options can refer to the latest docs CreateDBInstance EngineVersion.

Declaration
public Input<string> EngineVersion { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ForceRestart

Set it to true to make some parameter efficient when modifying them. Default to false.

Declaration
public Input<bool> ForceRestart { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

InstanceChargeType

Valid values are Prepaid, Postpaid, Default to Postpaid. Currently, the resource only supports PostPaid to PrePaid.

Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceName

The name of DB instance. It a string of 2 to 256 characters.

Declaration
public Input<string> InstanceName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceStorage

User-defined DB instance storage space. Value range:

  • [5, 2000] for MySQL/PostgreSQL/PPAS HA dual node edition;
  • [20,1000] for MySQL 5.7 basic single node edition;
  • [10, 2000] for SQL Server 2008R2;
  • [20,2000] for SQL Server 2012 basic single node edition Increase progressively at a rate of 5 GB. For details, see Instance type table. Note: There is extra 5 GB storage for SQL Server Instance and it is not in specified instance_storage.
Declaration
public Input<int> InstanceStorage { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

InstanceType

DB Instance type. For details, see Instance type table.

Declaration
public Input<string> InstanceType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MaintainTime

Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)

Declaration
public Input<string> MaintainTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MonitoringPeriod

The monitoring frequency in seconds. Valid values are 5, 60, 300. Defaults to 300.

Declaration
public Input<int> MonitoringPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Parameters

Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs View database parameter templates .

Declaration
public InputList<InstanceParameterArgs> Parameters { get; set; }
Property Value
Type Description
InputList<InstanceParameterArgs>
View Source

Period

The duration that you will buy DB instance (in month). It is valid when instance_charge_type is PrePaid. Valid values: [1~9], 12, 24, 36. Default to 1.

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

SecurityGroupId

It has been deprecated from 1.69.0 and use security_group_ids instead.

Declaration
public Input<string> SecurityGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SecurityGroupIds

, Available in 1.69.0+) The list IDs to join ECS Security Group. At most supports three security groups.

Declaration
public InputList<string> SecurityGroupIds { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

SecurityIpMode

Valid values are normal, safety, Default to normal. support safety switch to high security access mode

Declaration
public Input<string> SecurityIpMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SecurityIps

List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).

Declaration
public InputList<string> SecurityIps { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

SqlCollectorConfigValue

The sql collector keep time of the instance. Valid values are 30, 180, 365, 1095, 1825, Default to 30.

Declaration
public Input<int> SqlCollectorConfigValue { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

SqlCollectorStatus

The sql collector status of the instance. Valid values are Enabled, Disabled, Default to Disabled.

Declaration
public Input<string> SqlCollectorStatus { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

VswitchId

The virtual switch ID to launch DB instances in one VPC.

Declaration
public Input<string> VswitchId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ZoneId

The Zone to launch the DB instance. From version 1.8.1, it supports multiple zone. If it is a multi-zone and vswitch_id is specified, the vswitch must in the one of them. The multiple zone ID can be retrieved by setting multi to "true" in the data source alicloud..getZones.

Declaration
public Input<string> ZoneId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.