AWS SDK Version 4 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 Amazon EC2 instance that is enabled for SQL Server High Availability standby detection monitoring.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.RegisteredInstance

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

Syntax

C#
public class RegisteredInstance

The RegisteredInstance type exposes the following members

Constructors

NameDescription
Public Method RegisteredInstance()

Properties

NameTypeDescription
Public Property HaStatus Amazon.EC2.HaStatus

Gets and sets the property HaStatus.

The SQL Server High Availability status of the instance. Valid values are:

  • processing - The SQL Server High Availability status for the SQL Server High Availability instance is being updated.

  • active - The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.

  • standby - The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.

  • invalid - An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the SQL Server High Availability instance.

Public Property LastUpdatedTime System.Nullable<System.DateTime>

Gets and sets the property LastUpdatedTime.

The date and time when the instance's SQL Server High Availability status was last updated, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

Public Property ProcessingStatus System.String

Gets and sets the property ProcessingStatus.

A brief description of the SQL Server High Availability status. If the instance is in the invalid High Availability status, this parameter includes the error message.

Public Property SqlServerCredentials System.String

Gets and sets the property SqlServerCredentials.

The ARN of the Secrets Manager secret containing the SQL Server access credentials for the SQL Server High Availability instance. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent.

Public Property SqlServerLicenseUsage Amazon.EC2.SqlServerLicenseUsage

Gets and sets the property SqlServerLicenseUsage.

The license type for the SQL Server license. Valid values include:

  • full - The SQL Server High Availability instance is using a full SQL Server license.

  • waived - The SQL Server High Availability instance is waived from the SQL Server license.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags assigned to the SQL Server High Availability instance.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer