Class Peer
A Peer details
Inherited Members
Namespace: Oci.BlockchainService.Models
Assembly: OCI.DotNetSDK.Blockchain.dll
Syntax
public class Peer
Properties
Ad
Declaration
[Required(ErrorMessage = "Ad is required.")]
[JsonProperty(PropertyName = "ad")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AvailabilityDomain.AdsEnum? Ad { get; set; }
Property Value
Type | Description |
---|---|
AvailabilityDomain.AdsEnum? | Availability Domain of peer |
Remarks
Required
Alias
Declaration
[JsonProperty(PropertyName = "alias")]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
string | peer alias |
Host
Declaration
[Required(ErrorMessage = "Host is required.")]
[JsonProperty(PropertyName = "host")]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string | Host on which the Peer exists |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Peer.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Peer.LifecycleStateEnum? | The current state of the peer. |
OcpuAllocationParam
Declaration
[JsonProperty(PropertyName = "ocpuAllocationParam")]
public OcpuAllocationNumberParam OcpuAllocationParam { get; set; }
Property Value
Type | Description |
---|---|
OcpuAllocationNumberParam |
PeerKey
Declaration
[Required(ErrorMessage = "PeerKey is required.")]
[JsonProperty(PropertyName = "peerKey")]
public string PeerKey { get; set; }
Property Value
Type | Description |
---|---|
string | peer identifier |
Remarks
Required
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PeerRole.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
PeerRole.RoleEnum? | Peer role |
Remarks
Required