Class InstanceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.databasefilesystem.InstanceArgs
-
public final class InstanceArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static InstanceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
advancedFeatures()
static InstanceArgs.Builder
builder()
static InstanceArgs.Builder
builder(InstanceArgs defaults)
com.pulumi.core.Output<java.lang.String>
category()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
deleteSnapshot()
java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceEcsListArgs>>>
ecsLists()
Deprecated.Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version.java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
enableRaid()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
encryption()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
fsName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
instanceName()
Deprecated.Field 'instance_name' has been deprecated since provider version 1.212.0.java.util.Optional<com.pulumi.core.Output<java.lang.String>>
instanceType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
kmsKeyId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
performanceLevel()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
raidStripeUnitNumber()
com.pulumi.core.Output<java.lang.Integer>
size()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
snapshotId()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
tags()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
usedScene()
com.pulumi.core.Output<java.lang.String>
zoneId()
-
-
-
Field Detail
-
Empty
public static final InstanceArgs Empty
-
-
Method Detail
-
advancedFeatures
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> advancedFeatures()
- Returns:
- The number of CPU cores and the upper limit of memory used by the database file storage instance.
-
category
public com.pulumi.core.Output<java.lang.String> category()
- Returns:
- Category of database file system.
-
deleteSnapshot
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deleteSnapshot()
- Returns:
- Whether to delete the original snapshot after creating DBFS using the snapshot.
-
ecsLists
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceEcsListArgs>>> ecsLists()
Deprecated.Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS.- Returns:
- The collection of ECS instances mounted to the Database file system. See `ecs_list` below. **NOTE:** Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. See `ecs_list` below.
-
enableRaid
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableRaid()
- Returns:
- Whether to create DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
-
encryption
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> encryption()
- Returns:
- Whether to encrypt DBFS.Valid values: true or false. Default value: false.
-
fsName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fsName()
- Returns:
- Database file system name.
-
instanceName
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceName()
Deprecated.Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.- Returns:
- . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
-
instanceType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceType()
- Returns:
- Instance type. Value range: - dbfs.small - dbfs.medium - dbfs.large (default)
-
kmsKeyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
- Returns:
- The ID of the KMS key used by DBFS.
-
performanceLevel
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> performanceLevel()
- Returns:
- When you create a DBFS instance, set the performance level of the DBFS instance. Value range: - PL0: single disk maximum random read-write IOPS 10000 - PL1: highest random read-write IOPS 50000 per disk (default) - PL2: single disk maximum random read-write IOPS 100000 - PL3: single disk maximum random read-write IOPS 1 million.
-
raidStripeUnitNumber
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> raidStripeUnitNumber()
- Returns:
- Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.
-
size
public com.pulumi.core.Output<java.lang.Integer> size()
- Returns:
- Size of database file system, unit GiB.
-
snapshotId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> snapshotId()
- Returns:
- The ID of the snapshot used to create the DBFS instance.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> tags()
- Returns:
- A mapping of tags to assign to the resource.
-
usedScene
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> usedScene()
- Returns:
- The usage scenario of DBFS. Value range: - MySQL 5.7 - PostgreSQL - MongoDB.
-
zoneId
public com.pulumi.core.Output<java.lang.String> zoneId()
- Returns:
- The ID of the zone to which the database file system belongs.
-
builder
public static InstanceArgs.Builder builder()
-
builder
public static InstanceArgs.Builder builder(InstanceArgs defaults)
-
-