Show / Hide Table of Contents

Class CreatePeerDetails

The Peer details to be added

Inheritance
object
CreatePeerDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.BlockchainService.Models
Assembly: OCI.DotNetSDK.Blockchain.dll
Syntax
public class CreatePeerDetails

Properties

Ad

Declaration
[Required(ErrorMessage = "Ad is required.")]
[JsonProperty(PropertyName = "ad")]
[JsonConverter(typeof(StringEnumConverter))]
public AvailabilityDomain.AdsEnum? Ad { get; set; }
Property Value
Type Description
AvailabilityDomain.AdsEnum?

Availability Domain to place new peer

Remarks

Required

Alias

Declaration
[JsonProperty(PropertyName = "alias")]
public string Alias { get; set; }
Property Value
Type Description
string

peer alias

OcpuAllocationParam

Declaration
[Required(ErrorMessage = "OcpuAllocationParam is required.")]
[JsonProperty(PropertyName = "ocpuAllocationParam")]
public OcpuAllocationNumberParam OcpuAllocationParam { get; set; }
Property Value
Type Description
OcpuAllocationNumberParam
Remarks

Required

Role

Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(StringEnumConverter))]
public PeerRole.RoleEnum? Role { get; set; }
Property Value
Type Description
PeerRole.RoleEnum?

Peer role

Remarks

Required

In this article
Back to top