Show / Hide Table of Contents

Class Blocklist

The blocklist record to prevent a target resource from certain operation with reason.

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

Properties

Key

Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type Description
string

The unique identifier of this blocklist record.

Remarks

Required

Operation

Declaration
[Required(ErrorMessage = "Operation is required.")]
[JsonProperty(PropertyName = "operation")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OperationType? Operation { get; set; }
Property Value
Type Description
OperationType?

The operation type

Remarks

Required

Reason

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

The reason why the operation is blocklisted.

Target

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

Required

In this article
Back to top