Show / Hide Table of Contents

Class GetDomainRecordsRequest

Inheritance
object
GetDomainRecordsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DnsService.Requests
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class GetDomainRecordsRequest : IOciRequest
Examples

Click here to see an example of how to use GetDomainRecords request.

Properties

CompartmentId

Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment the zone belongs to.
This parameter is deprecated and should be omitted.

Domain

Declaration
[Required(ErrorMessage = "Domain is required.")]
[HttpConverter(TargetEnum.Path, "domain")]
public string Domain { get; set; }
Property Value
Type Description
string

The target fully-qualified domain name (FQDN) within the target zone.

Remarks

Required

IfModifiedSince

Declaration
[HttpConverter(TargetEnum.Header, "If-Modified-Since")]
public string IfModifiedSince { get; set; }
Property Value
Type Description
string

The If-Modified-Since header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed.

IfNoneMatch

Declaration
[HttpConverter(TargetEnum.Header, "If-None-Match")]
public string IfNoneMatch { get; set; }
Property Value
Type Description
string

The If-None-Match header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is *, or having a selected representation with an entity-tag that does not match any of those listed in the field-value.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public long? Limit { get; set; }
Property Value
Type Description
long?

The maximum number of items to return in a page of the collection.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The value of the opc-next-page response header from the previous "List" call.

Rtype

Declaration
[HttpConverter(TargetEnum.Query, "rtype")]
public string Rtype { get; set; }
Property Value
Type Description
string

Search by record type. Will match any record whose type (case-insensitive) equals the provided value.

Scope

Declaration
[HttpConverter(TargetEnum.Query, "scope")]
public Scope? Scope { get; set; }
Property Value
Type Description
Scope?

Specifies to operate only on resources that have a matching DNS scope.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public GetDomainRecordsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
GetDomainRecordsRequest.SortByEnum?

The field by which to sort records.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type Description
SortOrder?

The order to sort the resources.

ViewId

Declaration
[HttpConverter(TargetEnum.Query, "viewId")]
public string ViewId { get; set; }
Property Value
Type Description
string

The OCID of the view the zone is associated with. Required when accessing a private zone by name.

ZoneNameOrId

Declaration
[Required(ErrorMessage = "ZoneNameOrId is required.")]
[HttpConverter(TargetEnum.Path, "zoneNameOrId")]
public string ZoneNameOrId { get; set; }
Property Value
Type Description
string

The name or OCID of the target zone.

Remarks

Required

ZoneVersion

Declaration
[HttpConverter(TargetEnum.Query, "zoneVersion")]
public string ZoneVersion { get; set; }
Property Value
Type Description
string

The version of the zone for which data is requested.

Implements

IOciRequest
In this article
Back to top