Skip to main content

Class ServiceIdentity

Namespace: Consul
Assembly: Consul.dll

ServiceIdentity represents a service identity in Consul

public class ServiceIdentity

Inheritance

objectServiceIdentity

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Constructors

ServiceIdentity()

public ServiceIdentity()

ServiceIdentity(string, string[])

public ServiceIdentity(string serviceName, string[] datacenters)

Parameters

serviceName string

datacenters string []

Properties

Datacenters

public string[] Datacenters { get; set; }

Property Value

string []

ServiceName

public string ServiceName { get; set; }

Property Value

string