C# Класс Amazon.RDS.Model.CreateDBInstanceRequest

Container for the parameters to the CreateDBInstance operation.

Creates a new DB instance.

Наследование: AmazonRDSRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateDBInstanceRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateDBInstanceRequest ( string dbInstanceIdentifier, int allocatedStorage, string dbInstanceClass, string engine, string masterUsername, string masterUserPassword ) : System

Instantiates CreateDBInstanceRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetAllocatedStorage ( ) : bool
IsSetAutoMinorVersionUpgrade ( ) : bool
IsSetAvailabilityZone ( ) : bool
IsSetBackupRetentionPeriod ( ) : bool
IsSetCharacterSetName ( ) : bool
IsSetCopyTagsToSnapshot ( ) : bool
IsSetDBClusterIdentifier ( ) : bool
IsSetDBInstanceClass ( ) : bool
IsSetDBInstanceIdentifier ( ) : bool
IsSetDBName ( ) : bool
IsSetDBParameterGroupName ( ) : bool
IsSetDBSecurityGroups ( ) : bool
IsSetDBSubnetGroupName ( ) : bool
IsSetDomain ( ) : bool
IsSetDomainIAMRoleName ( ) : bool
IsSetEngine ( ) : bool
IsSetEngineVersion ( ) : bool
IsSetIops ( ) : bool
IsSetKmsKeyId ( ) : bool
IsSetLicenseModel ( ) : bool
IsSetMasterUserPassword ( ) : bool
IsSetMasterUsername ( ) : bool
IsSetMonitoringInterval ( ) : bool
IsSetMonitoringRoleArn ( ) : bool
IsSetMultiAZ ( ) : bool
IsSetOptionGroupName ( ) : bool
IsSetPort ( ) : bool
IsSetPreferredBackupWindow ( ) : bool
IsSetPreferredMaintenanceWindow ( ) : bool
IsSetPromotionTier ( ) : bool
IsSetPubliclyAccessible ( ) : bool
IsSetStorageEncrypted ( ) : bool
IsSetStorageType ( ) : bool
IsSetTags ( ) : bool
IsSetTdeCredentialArn ( ) : bool
IsSetTdeCredentialPassword ( ) : bool
IsSetTimezone ( ) : bool
IsSetVpcSecurityGroupIds ( ) : bool

Описание методов

CreateDBInstanceRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public CreateDBInstanceRequest ( ) : System
Результат System

CreateDBInstanceRequest() публичный Метод

Instantiates CreateDBInstanceRequest with the parameterized properties
public CreateDBInstanceRequest ( string dbInstanceIdentifier, int allocatedStorage, string dbInstanceClass, string engine, string masterUsername, string masterUserPassword ) : System
dbInstanceIdentifier string The DB instance identifier. This parameter is stored as a lowercase string. Constraints:
  • Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for SQL Server).
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
allocatedStorage int The amount of storage (in gigabytes) to be initially allocated for the database instance. Type: Integer MySQL Constraints: Must be an integer from 5 to 6144. MariaDB Constraints: Must be an integer from 5 to 6144. PostgreSQL Constraints: Must be an integer from 5 to 6144. Oracle Constraints: Must be an integer from 10 to 6144. SQL Server Constraints: Must be an integer from 200 to 4096 (Standard Edition and Enterprise Edition) or from 20 to 4096 (Express Edition and Web Edition)
dbInstanceClass string The compute and memory capacity of the DB instance. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
engine string The name of the database engine to be used for this instance. Valid Values: mysql | mariadb | oracle-se1 | oracle-se2 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora Not every database engine is available for every AWS region.
masterUsername string The name of master user for the client DB instance. MySQL Constraints:
  • Must be 1 to 16 alphanumeric characters.
  • First character must be a letter.
  • Cannot be a reserved word for the chosen database engine.
MariaDB Constraints:
  • Must be 1 to 16 alphanumeric characters.
  • Cannot be a reserved word for the chosen database engine.
Type: String Oracle Constraints:
  • Must be 1 to 30 alphanumeric characters.
  • First character must be a letter.
  • Cannot be a reserved word for the chosen database engine.
SQL Server Constraints:
  • Must be 1 to 128 alphanumeric characters.
  • First character must be a letter.
  • Cannot be a reserved word for the chosen database engine.
PostgreSQL Constraints:
  • Must be 1 to 63 alphanumeric characters.
  • First character must be a letter.
  • Cannot be a reserved word for the chosen database engine.
masterUserPassword string The password for the master database user. Can be any printable ASCII character except "/", """, or "@". Type: String MySQL Constraints: Must contain from 8 to 41 characters. MariaDB Constraints: Must contain from 8 to 41 characters. Oracle Constraints: Must contain from 8 to 30 characters. SQL Server Constraints: Must contain from 8 to 128 characters. PostgreSQL Constraints: Must contain from 8 to 128 characters. Amazon Aurora Constraints: Must contain from 8 to 41 characters.
Результат System