Class CreatePeerDetails
The Peer details to be added
Inherited Members
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