Show / Hide Table of Contents

Class SteeringPolicyAttachment

An attachment between a steering policy and a domain. An attachment constructs DNS responses using its steering policy instead of the records at its defined domain. Only records of the policy's covered rtype are blocked at the domain. A domain can have a maximum of one attachment covering any given rtype.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

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

Properties

CompartmentId

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

The OCID of the compartment containing the steering policy attachment.

Remarks

Required

DisplayName

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

A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.

Remarks

Required

DomainName

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

The attached domain within the attached zone.

Remarks

Required

Id

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

The OCID of the resource.

Remarks

Required

LifecycleState

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

The current state of the resource.

Remarks

Required

Rtypes

Declaration
[Required(ErrorMessage = "Rtypes is required.")]
[JsonProperty(PropertyName = "rtypes")]
public List<string> Rtypes { get; set; }
Property Value
Type Description
List<string>

The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.

Remarks

Required

Self

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

The canonical absolute URL of the resource.

Remarks

Required

SteeringPolicyId

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

The OCID of the attached steering policy.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the resource was created, expressed in RFC 3339 timestamp format.
**Example: ** 2016-07-22T17:23:59:60Z

Remarks

Required

ZoneId

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

The OCID of the attached zone.

Remarks

Required

In this article
Back to top