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 a static IP.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.StaticIp

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

Syntax

C#
public class StaticIp

The StaticIp type exposes the following members

Constructors

NameDescription
Public Method StaticIp()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the static IP (arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

Public Property AttachedTo System.String

Gets and sets the property AttachedTo.

The instance where the static IP is attached (Amazon_Linux-1GB-Ohio-1).

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The timestamp when the static IP was created (1479735304.222).

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The static IP address.

Public Property IsAttached System.Boolean

Gets and sets the property IsAttached.

A Boolean value indicating whether the static IP is attached.

Public Property Location Amazon.Lightsail.Model.ResourceLocation

Gets and sets the property Location.

The region and Availability Zone where the static IP was created.

Public Property Name System.String

Gets and sets the property Name.

The name of the static IP (StaticIP-Ohio-EXAMPLE).

Public Property ResourceType Amazon.Lightsail.ResourceType

Gets and sets the property ResourceType.

The resource type (usually StaticIp).

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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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