Class CreateResolverEndpointDetails
The body for defining a new resolver endpoint.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.DnsService.Models
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
[JsonConverter(typeof(CreateResolverEndpointDetailsModelConverter))]
public class CreateResolverEndpointDetails
Properties
ForwardingAddress
Declaration
[JsonProperty(PropertyName = "forwardingAddress")]
public string ForwardingAddress { get; set; }
Property Value
Type | Description |
---|---|
string | An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true. |
IsForwarding
Declaration
[Required(ErrorMessage = "IsForwarding is required.")]
[JsonProperty(PropertyName = "isForwarding")]
public bool? IsForwarding { get; set; }
Property Value
Type | Description |
---|---|
bool? | A Boolean flag indicating whether or not the resolver endpoint is for forwarding. |
Remarks
Required
IsListening
Declaration
[Required(ErrorMessage = "IsListening is required.")]
[JsonProperty(PropertyName = "isListening")]
public bool? IsListening { get; set; }
Property Value
Type | Description |
---|---|
bool? | A Boolean flag indicating whether or not the resolver endpoint is for listening. |
Remarks
Required
ListeningAddress
Declaration
[JsonProperty(PropertyName = "listeningAddress")]
public string ListeningAddress { get; set; }
Property Value
Type | Description |
---|---|
string | An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver. |
Remarks
Required