• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Authpb
    • AuthReflection
    • Permission
    • Permission.Types
    • Permission.Types.Type
    • Role
    • User
  • ETCD.V3
    • AuthCallInvoker
    • AuthExtensions
    • Client
    • ClusterExtensions
    • Constants
    • KVExtensions
    • LeaseExtensions
    • MaintenanceExtensions
    • WatchExtensions
  • Etcdserverpb
    • AlarmMember
    • AlarmRequest
    • AlarmRequest.Types
    • AlarmRequest.Types.AlarmAction
    • AlarmResponse
    • AlarmType
    • Auth
    • Auth.AuthBase
    • Auth.AuthClient
    • AuthDisableRequest
    • AuthDisableResponse
    • AuthEnableRequest
    • AuthEnableResponse
    • AuthenticateRequest
    • AuthenticateResponse
    • AuthRoleAddRequest
    • AuthRoleAddResponse
    • AuthRoleDeleteRequest
    • AuthRoleDeleteResponse
    • AuthRoleGetRequest
    • AuthRoleGetResponse
    • AuthRoleGrantPermissionRequest
    • AuthRoleGrantPermissionResponse
    • AuthRoleListRequest
    • AuthRoleListResponse
    • AuthRoleRevokePermissionRequest
    • AuthRoleRevokePermissionResponse
    • AuthUserAddRequest
    • AuthUserAddResponse
    • AuthUserChangePasswordRequest
    • AuthUserChangePasswordResponse
    • AuthUserDeleteRequest
    • AuthUserDeleteResponse
    • AuthUserGetRequest
    • AuthUserGetResponse
    • AuthUserGrantRoleRequest
    • AuthUserGrantRoleResponse
    • AuthUserListRequest
    • AuthUserListResponse
    • AuthUserRevokeRoleRequest
    • AuthUserRevokeRoleResponse
    • Cluster
    • Cluster.ClusterBase
    • Cluster.ClusterClient
    • CompactionRequest
    • CompactionResponse
    • Compare
    • Compare.TargetUnionOneofCase
    • Compare.Types
    • Compare.Types.CompareResult
    • Compare.Types.CompareTarget
    • DefragmentRequest
    • DefragmentResponse
    • DeleteRangeRequest
    • DeleteRangeResponse
    • HashRequest
    • HashResponse
    • KV
    • KV.KVBase
    • KV.KVClient
    • Lease
    • Lease.LeaseBase
    • Lease.LeaseClient
    • LeaseGrantRequest
    • LeaseGrantResponse
    • LeaseKeepAliveRequest
    • LeaseKeepAliveResponse
    • LeaseRevokeRequest
    • LeaseRevokeResponse
    • LeaseTimeToLiveRequest
    • LeaseTimeToLiveResponse
    • Maintenance
    • Maintenance.MaintenanceBase
    • Maintenance.MaintenanceClient
    • Member
    • MemberAddRequest
    • MemberAddResponse
    • MemberListRequest
    • MemberListResponse
    • MemberRemoveRequest
    • MemberRemoveResponse
    • MemberUpdateRequest
    • MemberUpdateResponse
    • PutRequest
    • PutResponse
    • RangeRequest
    • RangeRequest.Types
    • RangeRequest.Types.SortOrder
    • RangeRequest.Types.SortTarget
    • RangeResponse
    • RequestOp
    • RequestOp.RequestOneofCase
    • ResponseHeader
    • ResponseOp
    • ResponseOp.ResponseOneofCase
    • RpcReflection
    • SnapshotRequest
    • SnapshotResponse
    • StatusRequest
    • StatusResponse
    • TxnRequest
    • TxnResponse
    • Watch
    • Watch.WatchBase
    • Watch.WatchClient
    • WatchCancelRequest
    • WatchCreateRequest
    • WatchCreateRequest.Types
    • WatchCreateRequest.Types.FilterType
    • WatchRequest
    • WatchRequest.RequestUnionOneofCase
    • WatchResponse
  • Mvccpb
    • Event
    • Event.Types
    • Event.Types.EventType
    • KeyValue
    • KvReflection

Class ClusterExtensions

Inheritance
System.Object
ClusterExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ETCD.V3
Assembly: cs.temp.dll.dll
Syntax
public static class ClusterExtensions

Methods

CreateMemberAddRequest(Client, String[])

Create MemberAddRequest.

Declaration
public static MemberAddRequest CreateMemberAddRequest(this Client client, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.String[] peerURLs

peerURLs is the list of URLs the added member will use to communicate with the cluster.

Returns
Type Description
MemberAddRequest

MemberAddRequest.

CreateMemberRemoveRequest(Client, UInt64)

Create MemberRemoveRequest.

Declaration
public static MemberRemoveRequest CreateMemberRemoveRequest(this Client client, ulong id)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to remove.

Returns
Type Description
MemberRemoveRequest

MemberRemoveRequest.

CreateMemberUpdateRequest(Client, UInt64, String[])

Create MemberUpdateRequest.

Declaration
public static MemberUpdateRequest CreateMemberUpdateRequest(this Client client, ulong id, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to update.

System.String[] peerURLs

peerURLs is the new list of URLs the member will use to communicate with the cluster.

Returns
Type Description
MemberUpdateRequest

MemberUpdateRequest.

MemberAdd(Client, String[])

MemberAdd adds a member into the cluster.

Declaration
public static MemberAddResponse MemberAdd(this Client client, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.String[] peerURLs

peerURLs is the list of URLs the added member will use to communicate with the cluster.

Returns
Type Description
MemberAddResponse

The response received from the server.

MemberAddAsync(Client, String[])

MemberAdd adds a member into the cluster.

Declaration
public static AsyncUnaryCall<MemberAddResponse> MemberAddAsync(this Client client, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.String[] peerURLs

peerURLs is the list of URLs the added member will use to communicate with the cluster.

Returns
Type Description
AsyncUnaryCall<MemberAddResponse>

The call object.

MemberList(Client)

MemberList lists all the members in the cluster.

Declaration
public static MemberListResponse MemberList(this Client client)
Parameters
Type Name Description
Client client
Returns
Type Description
MemberListResponse

The response received from the server.

MemberListAsync(Client)

MemberList lists all the members in the cluster.

Declaration
public static AsyncUnaryCall<MemberListResponse> MemberListAsync(this Client client)
Parameters
Type Name Description
Client client
Returns
Type Description
AsyncUnaryCall<MemberListResponse>

The call object.

MemberRemove(Client, UInt64)

MemberRemove removes an existing member from the cluster.

Declaration
public static MemberRemoveResponse MemberRemove(this Client client, ulong id)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to remove.

Returns
Type Description
MemberRemoveResponse

The response received from the server.

MemberRemoveAsync(Client, UInt64)

MemberRemove removes an existing member from the cluster.

Declaration
public static AsyncUnaryCall<MemberRemoveResponse> MemberRemoveAsync(this Client client, ulong id)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to remove.

Returns
Type Description
AsyncUnaryCall<MemberRemoveResponse>

The call object.

MemberUpdate(Client, UInt64, String[])

MemberUpdate updates the member configuration.

Declaration
public static MemberUpdateResponse MemberUpdate(this Client client, ulong id, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to update.

System.String[] peerURLs

peerURLs is the new list of URLs the member will use to communicate with the cluster.

Returns
Type Description
MemberUpdateResponse

The response received from the server.

MemberUpdateAsync(Client, UInt64, String[])

MemberUpdate updates the member configuration.

Declaration
public static AsyncUnaryCall<MemberUpdateResponse> MemberUpdateAsync(this Client client, ulong id, params string[] peerURLs)
Parameters
Type Name Description
Client client
System.UInt64 id

ID is the member ID of the member to update.

System.String[] peerURLs

peerURLs is the new list of URLs the member will use to communicate with the cluster.

Returns
Type Description
AsyncUnaryCall<MemberUpdateResponse>

The call object.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX