AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an instance (a virtual private server).

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.Instance

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class Instance

The Instance type exposes the following members

Constructors

NameDescription
Public Method Instance()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

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

Public Property BlueprintId System.String

Gets and sets the property BlueprintId.

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

Public Property BlueprintName System.String

Gets and sets the property BlueprintName.

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

Public Property BundleId System.String

Gets and sets the property BundleId.

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

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

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

Public Property Hardware Amazon.Lightsail.Model.InstanceHardware

Gets and sets the property Hardware.

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

Public Property Ipv6Address System.String

Gets and sets the property Ipv6Address.

The IPv6 address of the instance.

Public Property IsStaticIp System.Boolean

Gets and sets the property IsStaticIp.

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

Public Property Location Amazon.Lightsail.Model.ResourceLocation

Gets and sets the property Location.

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

Public Property Name System.String

Gets and sets the property Name.

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

Public Property Networking Amazon.Lightsail.Model.InstanceNetworking

Gets and sets the property Networking.

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

Public Property PrivateIpAddress System.String

Gets and sets the property PrivateIpAddress.

The private IP address of the instance.

Public Property PublicIpAddress System.String

Gets and sets the property PublicIpAddress.

The public IP address of the instance.

Public Property ResourceType Amazon.Lightsail.ResourceType

Gets and sets the property ResourceType.

The type of resource (usually Instance).

Public Property SshKeyName System.String

Gets and sets the property SshKeyName.

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

Public Property State Amazon.Lightsail.Model.InstanceState

Gets and sets the property State.

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

Public Property SupportCode System.String

Gets and sets the property SupportCode.

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.

Public Property Username System.String

Gets and sets the property Username.

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

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms