Struct rusoto_lightsail::Instance [] [src]

pub struct Instance {
    pub arn: Option<NonEmptyString>,
    pub blueprint_id: Option<NonEmptyString>,
    pub blueprint_name: Option<NonEmptyString>,
    pub bundle_id: Option<NonEmptyString>,
    pub created_at: Option<IsoDate>,
    pub hardware: Option<InstanceHardware>,
    pub ipv_6_address: Option<IpV6Address>,
    pub is_static_ip: Option<Boolean>,
    pub location: Option<ResourceLocation>,
    pub name: Option<ResourceName>,
    pub networking: Option<InstanceNetworking>,
    pub private_ip_address: Option<IpAddress>,
    pub public_ip_address: Option<IpAddress>,
    pub resource_type: Option<ResourceType>,
    pub ssh_key_name: Option<ResourceName>,
    pub state: Option<InstanceState>,
    pub support_code: Option<String>,
    pub username: Option<NonEmptyString>,
}

Describes an instance (a virtual private server).

Fields

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

The blueprint ID (e.g., os_amlinux_2016_03).

The friendly name of the blueprint (e.g., Amazon Linux).

The bundle for the instance (e.g., micro_1_0).

The timestamp when the instance was created (e.g., 1479734909.17).

The size of the vCPU and the amount of RAM for the instance.

The IPv6 address of the instance.

A Boolean value indicating whether this instance has a static IP assigned to it.

The region name and availability zone where the instance is located.

The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1).

Information about the public ports and monthly data transfer rates for the instance.

The private IP address of the instance.

The public IP address of the instance.

The type of resource (usually Instance).

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

The status code and the state (e.g., running) for the instance.

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

The user name for connecting to the instance (e.g., ec2-user).

Trait Implementations

impl Default for Instance
[src]

Returns the "default value" for a type. Read more

impl Debug for Instance
[src]

Formats the value using the given formatter.

impl Clone for Instance
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more