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.
Namespace: Amazon.ServiceDiscovery.Model
Assembly: AWSSDK.ServiceDiscovery.dll
Version: 3.x.y.z
public class Service
The Service type exposes the following members
Name | Description | |
---|---|---|
Service() |
Name | Type | Description | |
---|---|---|---|
Arn | System.String |
Gets and sets the property Arn. The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it. |
|
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 |
|
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 running the operation twice. |
|
Description | System.String |
Gets and sets the property Description. The description of the service. |
|
DnsConfig | Amazon.ServiceDiscovery.Model.DnsConfig |
Gets and sets the property DnsConfig. A complex type that contains information about the RouteĀ 53 DNS records that you want Cloud Map to create when you register an instance.
The record types of a service can only be changed by deleting the service and recreating
it with a new |
|
HealthCheckConfig | Amazon.ServiceDiscovery.Model.HealthCheckConfig |
Gets and sets the property HealthCheckConfig. Public DNS and HTTP namespaces only. A complex type that contains settings
for an optional health check. If you specify settings for a health check, Cloud Map
associates the health check with the records that you specify in For information about the charges for health checks, see Amazon RouteĀ 53 Pricing. |
|
HealthCheckCustomConfig | Amazon.ServiceDiscovery.Model.HealthCheckCustomConfig |
Gets and sets the property HealthCheckCustomConfig. A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either |
|
Id | System.String |
Gets and sets the property Id. The ID that Cloud Map assigned to the service when you created it. |
|
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 are deleted aren't included in the count. The count might not reflect pending registrations and deregistrations. |
|
Name | System.String |
Gets and sets the property Name. The name of the service. |
|
NamespaceId | System.String |
Gets and sets the property NamespaceId. The ID of the namespace that was used to create the service. |
|
Type | Amazon.ServiceDiscovery.ServiceType |
Gets and sets the property Type. Describes the systems that can be used to discover the service instances.
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5