Storage Capacity Unit
Provides a ECS Storage Capacity Unit resource. For information about ECS Storage Capacity Unit and how to use it, see What is Storage Capacity Unit.
NOTE: Available in v1.155.0+.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.StorageCapacityUnit;
import com.pulumi.alicloud.ecs.StorageCapacityUnitArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new StorageCapacityUnit("default", StorageCapacityUnitArgs.builder()
.capacity(20)
.description("tftestdescription")
.storageCapacityUnitName("tftestname")
.build());
}
}
Content copied to clipboard
Import
ECS Storage Capacity Unit can be imported using the id, e.g.
$ pulumi import alicloud:ecs/storageCapacityUnit:StorageCapacityUnit example <id>
Content copied to clipboard
Properties
Link copied to clipboard
The time when the Storage Capacity Unit takes effect. It cannot be earlier than or more than six months later than the time when the Storage Capacity Unit is created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time must be in UTC. NOTE: This parameter is empty by default. The Storage Capacity Unit immediately takes effect after it is created.
Link copied to clipboard