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.

Container for the parameters to the GetRegions operation. Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lightsail.AmazonLightsailRequest
      Amazon.Lightsail.Model.GetRegionsRequest

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

Syntax

C#
public class GetRegionsRequest : AmazonLightsailRequest
         IAmazonWebServiceRequest

The GetRegionsRequest type exposes the following members

Constructors

NameDescription
Public Method GetRegionsRequest()

Properties

NameTypeDescription
Public Property IncludeAvailabilityZones System.Boolean

Gets and sets the property IncludeAvailabilityZones.

A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: us-east-2a.

Public Property IncludeRelationalDatabaseAvailabilityZones System.Boolean

Gets and sets the property IncludeRelationalDatabaseAvailabilityZones.

A Boolean value indicating whether to also include Availability Zones for databases in your get regions request. Availability Zones are indicated with a letter (us-east-2a).

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