Class GetZoneRecordsRequest
Implements
Inherited Members
Namespace: Oci.DnsService.Requests
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class GetZoneRecordsRequest : IOciRequest
Examples
Click here to see an example of how to use GetZoneRecords 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.
|
Domain
Declaration
[HttpConverter(TargetEnum.Query, "domain")]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
string | Search by domain. Will match any record whose domain (case-insensitive) equals the provided value. |
DomainContains
Declaration
[HttpConverter(TargetEnum.Query, "domainContains")]
public string DomainContains { get; set; }
Property Value
Type | Description |
---|---|
string | Search by domain. Will match any record whose domain (case-insensitive) contains the provided value. |
IfModifiedSince
Declaration
[HttpConverter(TargetEnum.Header, "If-Modified-Since")]
public string IfModifiedSince { get; set; }
Property Value
Type | Description |
---|---|
string | The |
IfNoneMatch
Declaration
[HttpConverter(TargetEnum.Header, "If-None-Match")]
public string IfNoneMatch { get; set; }
Property Value
Type | Description |
---|---|
string | The |
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 |
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 GetZoneRecordsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
GetZoneRecordsRequest.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. |