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 CreateService operation. Creates a service, which defines the configuration for the following entities:

After you create the service, you can submit a RegisterInstance request, and Amazon Route 53 uses the values in the configuration to create the specified entities.

For the current limit on the number of instances that you can register using the same namespace and using the same service, see Limits on Auto Naming in the Route 53 Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ServiceDiscovery.AmazonServiceDiscoveryRequest
      Amazon.ServiceDiscovery.Model.CreateServiceRequest

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

Syntax

C#
public class CreateServiceRequest : AmazonServiceDiscoveryRequest
         IAmazonWebServiceRequest

The CreateServiceRequest type exposes the following members

Constructors

NameDescription
Public Method CreateServiceRequest()

Properties

NameTypeDescription
Public Property CreatorRequestId System.String

Gets and sets the property CreatorRequestId.

A unique string that identifies the request and that allows failed CreateService 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.

A description for 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 Name System.String

Gets and sets the property Name.

The name that you want to assign to 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