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).
Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z
public class Instance
The Instance type exposes the following members
Name | Description | |
---|---|---|
Instance() |
Name | Type | Description | |
---|---|---|---|
AddOns | System.Collections.Generic.List<Amazon.Lightsail.Model.AddOn> |
Gets and sets the property AddOns. An array of objects representing the add-ons enabled on the instance. |
|
Arn | System.String |
Gets and sets the property Arn.
The Amazon Resource Name (ARN) of the instance ( |
|
BlueprintId | System.String |
Gets and sets the property BlueprintId.
The blueprint ID ( |
|
BlueprintName | System.String |
Gets and sets the property BlueprintName.
The friendly name of the blueprint ( |
|
BundleId | System.String |
Gets and sets the property BundleId.
The bundle for the instance ( |
|
CreatedAt | System.DateTime |
Gets and sets the property CreatedAt.
The timestamp when the instance was created ( |
|
Hardware | Amazon.Lightsail.Model.InstanceHardware |
Gets and sets the property Hardware. The size of the vCPU and the amount of RAM for the instance. |
|
IpAddressType | Amazon.Lightsail.IpAddressType |
Gets and sets the property IpAddressType. The IP address type of the instance.
The possible values are |
|
Ipv6Addresses | System.Collections.Generic.List<System.String> |
Gets and sets the property Ipv6Addresses. The IPv6 addresses of the instance. |
|
IsStaticIp | System.Boolean |
Gets and sets the property IsStaticIp. A Boolean value indicating whether this instance has a static IP assigned to it. |
|
Location | Amazon.Lightsail.Model.ResourceLocation |
Gets and sets the property Location. The region name and Availability Zone where the instance is located. |
|
MetadataOptions | Amazon.Lightsail.Model.InstanceMetadataOptions |
Gets and sets the property MetadataOptions. The metadata options for the Amazon Lightsail instance. |
|
Name | System.String |
Gets and sets the property Name.
The name the user gave the instance ( |
|
Networking | Amazon.Lightsail.Model.InstanceNetworking |
Gets and sets the property Networking. Information about the public ports and monthly data transfer rates for the instance. |
|
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress. The private IP address of the instance. |
|
PublicIpAddress | System.String |
Gets and sets the property PublicIpAddress. The public IP address of the instance. |
|
ResourceType | Amazon.Lightsail.ResourceType |
Gets and sets the property ResourceType.
The type of resource (usually |
|
SshKeyName | System.String |
Gets and sets the property SshKeyName.
The name of the SSH key being used to connect to the instance ( |
|
State | Amazon.Lightsail.Model.InstanceState |
Gets and sets the property State.
The status code and the state ( |
|
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. |
|
Tags | System.Collections.Generic.List<Amazon.Lightsail.Model.Tag> |
Gets and sets the property Tags. The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide. |
|
Username | System.String |
Gets and sets the property Username.
The user name for connecting to the instance ( |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5