Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateDiskRequest

import type { CreateDiskRequest } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
interface CreateDiskRequest {
addOns?: AddOnRequest[] | null;
availabilityZone: string;
diskName: string;
sizeInGb: number;
tags?: Tag[] | null;
}

§Properties

§
addOns?: AddOnRequest[] | null
[src]

An array of objects that represent the add-ons to enable for the new disk.

§
availabilityZone: string
[src]

The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk.

Use the get regions operation to list the Availability Zones where Lightsail is currently available.

§
diskName: string
[src]

The unique Lightsail disk name (e.g., my-disk).

§
sizeInGb: number
[src]

The size of the disk in GB (e.g., 32).

§
tags?: Tag[] | null
[src]

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.