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.

A complex type that contains information about the specified service.

Inheritance Hierarchy

System.Object
  Amazon.ServiceDiscovery.Model.Service

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

Syntax

C#
public class Service

The Service type exposes the following members

Constructors

NameDescription
Public Method Service()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.

Public Property CreateDate System.DateTime

Gets and sets the property CreateDate.

The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property CreatorRequestId System.String

Gets and sets the property CreatorRequestId.

A unique string that identifies the request and that allows failed requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

Public Property Description System.String

Gets and sets the property Description.

The description of the service.

Public Property DnsConfig Amazon.ServiceDiscovery.Model.DnsConfig

Gets and sets the property DnsConfig.

A complex type that contains information about the records that you want Route 53 to create when you register an instance.

Public Property HealthCheckConfig Amazon.ServiceDiscovery.Model.HealthCheckConfig

Gets and sets the property HealthCheckConfig.

Public DNS namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Route 53 associates the health check with all the records that you specify in DnsConfig.

For information about the charges for health checks, see Route 53 Pricing.

Public Property HealthCheckCustomConfig Amazon.ServiceDiscovery.Model.HealthCheckCustomConfig

Gets and sets the property HealthCheckCustomConfig.

Public Property Id System.String

Gets and sets the property Id.

The ID that Route 53 assigned to the service when you created it.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.

Public Property Name System.String

Gets and sets the property Name.

The name of the service.

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