Class ListZonesRequest
Implements
Inherited Members
Namespace: Oci.DnsService.Requests
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class ListZonesRequest : IOciRequestExamples
Click here to see an example of how to use ListZones request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment the resource belongs to. | 
Remarks
Required
DnssecState
Declaration
[HttpConverter(TargetEnum.Query, "dnssecState")]
public ZoneDnssecState? DnssecState { get; set; }Property Value
| Type | Description | 
|---|---|
| ZoneDnssecState? | Search for zones that have the given  | 
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public ListZonesRequest.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| ListZonesRequest.LifecycleStateEnum? | The state of a resource. | 
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. | 
Name
Declaration
[HttpConverter(TargetEnum.Query, "name")]
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value. | 
NameContains
Declaration
[HttpConverter(TargetEnum.Query, "nameContains")]
public string NameContains { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value. | 
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  | 
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 ListZonesRequest.SortByEnum? SortBy { get; set; }Property Value
| Type | Description | 
|---|---|
| ListZonesRequest.SortByEnum? | The field by which to sort zones. | 
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }Property Value
| Type | Description | 
|---|---|
| SortOrder? | The order to sort the resources. | 
TimeCreatedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | An RFC 3339 timestamp that states all returned resources were created on or after the indicated time. | 
TimeCreatedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | An RFC 3339 timestamp that states all returned resources were created before the indicated time. | 
TsigKeyId
Declaration
[HttpConverter(TargetEnum.Query, "tsigKeyId")]
public string TsigKeyId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Search for zones that are associated with a TSIG key. | 
ViewId
Declaration
[HttpConverter(TargetEnum.Query, "viewId")]
public string ViewId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the view the resource is associated with. | 
ZoneType
Declaration
[HttpConverter(TargetEnum.Query, "zoneType")]
public ListZonesRequest.ZoneTypeEnum? ZoneType { get; set; }Property Value
| Type | Description | 
|---|---|
| ListZonesRequest.ZoneTypeEnum? | Search by zone type,  |