Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Dns.getZones
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Zones in Oracle Cloud Infrastructure DNS service.
Gets a list of all zones in the specified compartment. The collection
can be filtered by name, time created, scope, associated view, and zone type.
Additionally, for Private DNS, the scope
query parameter is required when
listing private zones.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testZones = oci.Dns.getZones({
compartmentId: compartmentId,
name: zoneName,
nameContains: zoneNameContains,
scope: zoneScope,
state: zoneState,
timeCreatedGreaterThanOrEqualTo: zoneTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: zoneTimeCreatedLessThan,
tsigKeyId: testTsigKey.id,
viewId: testView.id,
zoneType: zoneZoneType,
});
import pulumi
import pulumi_oci as oci
test_zones = oci.Dns.get_zones(compartment_id=compartment_id,
name=zone_name,
name_contains=zone_name_contains,
scope=zone_scope,
state=zone_state,
time_created_greater_than_or_equal_to=zone_time_created_greater_than_or_equal_to,
time_created_less_than=zone_time_created_less_than,
tsig_key_id=test_tsig_key["id"],
view_id=test_view["id"],
zone_type=zone_zone_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Dns.GetZones(ctx, &dns.GetZonesArgs{
CompartmentId: compartmentId,
Name: pulumi.StringRef(zoneName),
NameContains: pulumi.StringRef(zoneNameContains),
Scope: pulumi.StringRef(zoneScope),
State: pulumi.StringRef(zoneState),
TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(zoneTimeCreatedGreaterThanOrEqualTo),
TimeCreatedLessThan: pulumi.StringRef(zoneTimeCreatedLessThan),
TsigKeyId: pulumi.StringRef(testTsigKey.Id),
ViewId: pulumi.StringRef(testView.Id),
ZoneType: pulumi.StringRef(zoneZoneType),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testZones = Oci.Dns.GetZones.Invoke(new()
{
CompartmentId = compartmentId,
Name = zoneName,
NameContains = zoneNameContains,
Scope = zoneScope,
State = zoneState,
TimeCreatedGreaterThanOrEqualTo = zoneTimeCreatedGreaterThanOrEqualTo,
TimeCreatedLessThan = zoneTimeCreatedLessThan,
TsigKeyId = testTsigKey.Id,
ViewId = testView.Id,
ZoneType = zoneZoneType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dns.DnsFunctions;
import com.pulumi.oci.Dns.inputs.GetZonesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testZones = DnsFunctions.getZones(GetZonesArgs.builder()
.compartmentId(compartmentId)
.name(zoneName)
.nameContains(zoneNameContains)
.scope(zoneScope)
.state(zoneState)
.timeCreatedGreaterThanOrEqualTo(zoneTimeCreatedGreaterThanOrEqualTo)
.timeCreatedLessThan(zoneTimeCreatedLessThan)
.tsigKeyId(testTsigKey.id())
.viewId(testView.id())
.zoneType(zoneZoneType)
.build());
}
}
variables:
testZones:
fn::invoke:
Function: oci:Dns:getZones
Arguments:
compartmentId: ${compartmentId}
name: ${zoneName}
nameContains: ${zoneNameContains}
scope: ${zoneScope}
state: ${zoneState}
timeCreatedGreaterThanOrEqualTo: ${zoneTimeCreatedGreaterThanOrEqualTo}
timeCreatedLessThan: ${zoneTimeCreatedLessThan}
tsigKeyId: ${testTsigKey.id}
viewId: ${testView.id}
zoneType: ${zoneZoneType}
Using getZones
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZones(args: GetZonesArgs, opts?: InvokeOptions): Promise<GetZonesResult>
function getZonesOutput(args: GetZonesOutputArgs, opts?: InvokeOptions): Output<GetZonesResult>
def get_zones(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_dns.GetZonesFilter]] = None,
name: Optional[str] = None,
name_contains: Optional[str] = None,
scope: Optional[str] = None,
sort_by: Optional[str] = None,
sort_order: Optional[str] = None,
state: Optional[str] = None,
time_created_greater_than_or_equal_to: Optional[str] = None,
time_created_less_than: Optional[str] = None,
tsig_key_id: Optional[str] = None,
view_id: Optional[str] = None,
zone_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZonesResult
def get_zones_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_dns.GetZonesFilterArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
name_contains: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
sort_by: Optional[pulumi.Input[str]] = None,
sort_order: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_created_less_than: Optional[pulumi.Input[str]] = None,
tsig_key_id: Optional[pulumi.Input[str]] = None,
view_id: Optional[pulumi.Input[str]] = None,
zone_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZonesResult]
func GetZones(ctx *Context, args *GetZonesArgs, opts ...InvokeOption) (*GetZonesResult, error)
func GetZonesOutput(ctx *Context, args *GetZonesOutputArgs, opts ...InvokeOption) GetZonesResultOutput
> Note: This function is named GetZones
in the Go SDK.
public static class GetZones
{
public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args, InvokeOptions? opts = null)
public static Output<GetZonesResult> Invoke(GetZonesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZonesResult> getZones(GetZonesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Dns/getZones:getZones
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Filters
List<Get
Zones Filter> - Name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- Name
Contains string - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - Sort
By string - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- Sort
Order string - The order to sort the resources. Allowed values are: ASC|DESC
- State string
- The state of a resource.
- Time
Created stringGreater Than Or Equal To - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- Time
Created stringLess Than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- Tsig
Key stringId - Search for zones that are associated with a TSIG key.
- View
Id string - The OCID of the view the resource is associated with.
- Zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Filters
[]Get
Zones Filter - Name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- Name
Contains string - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - Sort
By string - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- Sort
Order string - The order to sort the resources. Allowed values are: ASC|DESC
- State string
- The state of a resource.
- Time
Created stringGreater Than Or Equal To - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- Time
Created stringLess Than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- Tsig
Key stringId - Search for zones that are associated with a TSIG key.
- View
Id string - The OCID of the view the resource is associated with.
- Zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- filters
List<Get
Zones Filter> - name String
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- name
Contains String - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- scope String
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - sort
By String - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- sort
Order String - The order to sort the resources. Allowed values are: ASC|DESC
- state String
- The state of a resource.
- time
Created StringGreater Than Or Equal To - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- time
Created StringLess Than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- tsig
Key StringId - Search for zones that are associated with a TSIG key.
- view
Id String - The OCID of the view the resource is associated with.
- zone
Type String - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id string - The OCID of the compartment the resource belongs to.
- filters
Get
Zones Filter[] - name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- name
Contains string - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - sort
By string - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- sort
Order string - The order to sort the resources. Allowed values are: ASC|DESC
- state string
- The state of a resource.
- time
Created stringGreater Than Or Equal To - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- time
Created stringLess Than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- tsig
Key stringId - Search for zones that are associated with a TSIG key.
- view
Id string - The OCID of the view the resource is associated with.
- zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment_
id str - The OCID of the compartment the resource belongs to.
- filters
Sequence[dns.
Get Zones Filter] - name str
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- name_
contains str - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- scope str
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - sort_
by str - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- sort_
order str - The order to sort the resources. Allowed values are: ASC|DESC
- state str
- The state of a resource.
- time_
created_ strgreater_ than_ or_ equal_ to - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- time_
created_ strless_ than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- tsig_
key_ strid - Search for zones that are associated with a TSIG key.
- view_
id str - The OCID of the view the resource is associated with.
- zone_
type str - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- filters List<Property Map>
- name String
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- name
Contains String - Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
- scope String
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - sort
By String - The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
- sort
Order String - The order to sort the resources. Allowed values are: ASC|DESC
- state String
- The state of a resource.
- time
Created StringGreater Than Or Equal To - An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
- time
Created StringLess Than - An RFC 3339 timestamp that states all returned resources were created before the indicated time.
- tsig
Key StringId - Search for zones that are associated with a TSIG key.
- view
Id String - The OCID of the view the resource is associated with.
- zone
Type String - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
getZones Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the zone.
- Id string
- The provider-assigned unique ID for this managed resource.
- Zones
List<Get
Zones Zone> - The list of zones.
- Filters
List<Get
Zones Filter> - Name string
- The name of the zone.
- Name
Contains string - Scope string
- The scope of the zone.
- Sort
By string - Sort
Order string - State string
- The current state of the zone resource.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than - Tsig
Key stringId - The OCID of the TSIG key.
- View
Id string - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- Zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- Compartment
Id string - The OCID of the compartment containing the zone.
- Id string
- The provider-assigned unique ID for this managed resource.
- Zones
[]Get
Zones Zone - The list of zones.
- Filters
[]Get
Zones Filter - Name string
- The name of the zone.
- Name
Contains string - Scope string
- The scope of the zone.
- Sort
By string - Sort
Order string - State string
- The current state of the zone resource.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than - Tsig
Key stringId - The OCID of the TSIG key.
- View
Id string - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- Zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- compartment
Id String - The OCID of the compartment containing the zone.
- id String
- The provider-assigned unique ID for this managed resource.
- zones
List<Get
Zones Zone> - The list of zones.
- filters
List<Get
Zones Filter> - name String
- The name of the zone.
- name
Contains String - scope String
- The scope of the zone.
- sort
By String - sort
Order String - state String
- The current state of the zone resource.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than - tsig
Key StringId - The OCID of the TSIG key.
- view
Id String - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- zone
Type String - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- compartment
Id string - The OCID of the compartment containing the zone.
- id string
- The provider-assigned unique ID for this managed resource.
- zones
Get
Zones Zone[] - The list of zones.
- filters
Get
Zones Filter[] - name string
- The name of the zone.
- name
Contains string - scope string
- The scope of the zone.
- sort
By string - sort
Order string - state string
- The current state of the zone resource.
- time
Created stringGreater Than Or Equal To - time
Created stringLess Than - tsig
Key stringId - The OCID of the TSIG key.
- view
Id string - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- compartment_
id str - The OCID of the compartment containing the zone.
- id str
- The provider-assigned unique ID for this managed resource.
- zones
Sequence[dns.
Get Zones Zone] - The list of zones.
- filters
Sequence[dns.
Get Zones Filter] - name str
- The name of the zone.
- name_
contains str - scope str
- The scope of the zone.
- sort_
by str - sort_
order str - state str
- The current state of the zone resource.
- time_
created_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than - tsig_
key_ strid - The OCID of the TSIG key.
- view_
id str - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- zone_
type str - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- compartment
Id String - The OCID of the compartment containing the zone.
- id String
- The provider-assigned unique ID for this managed resource.
- zones List<Property Map>
- The list of zones.
- filters List<Property Map>
- name String
- The name of the zone.
- name
Contains String - scope String
- The scope of the zone.
- sort
By String - sort
Order String - state String
- The current state of the zone resource.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than - tsig
Key StringId - The OCID of the TSIG key.
- view
Id String - The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
- zone
Type String - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
Supporting Types
GetZonesFilter
GetZonesZone
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- External
Downstreams List<GetZones Zone External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters List<GetZones Zone External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Dictionary<string, object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- Id string
- The OCID of the zone.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- Nameservers
List<Get
Zones Zone Nameserver> - The authoritative nameservers for the zone.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - Self string
- The canonical absolute URL of the resource.
- Serial int
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The state of a resource.
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Version string
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- View
Id string - The OCID of the view the resource is associated with.
- Zone
Transfer List<GetServers Zones Zone Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- Zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- External
Downstreams []GetZones Zone External Downstream - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters []GetZones Zone External Master - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - map[string]interface{}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- Id string
- The OCID of the zone.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- Nameservers
[]Get
Zones Zone Nameserver - The authoritative nameservers for the zone.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - Self string
- The canonical absolute URL of the resource.
- Serial int
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The state of a resource.
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Version string
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- View
Id string - The OCID of the view the resource is associated with.
- Zone
Transfer []GetServers Zones Zone Zone Transfer Server - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- Zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- external
Downstreams List<GetZones Zone External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters List<GetZones Zone External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Map<String,Object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id String
- The OCID of the zone.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- nameservers
List<Get
Zones Zone Nameserver> - The authoritative nameservers for the zone.
- scope String
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - self String
- The canonical absolute URL of the resource.
- serial Integer
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The state of a resource.
- time
Created String - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- version String
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- view
Id String - The OCID of the view the resource is associated with.
- zone
Transfer List<GetServers Zones Zone Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type String - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id string - The OCID of the compartment the resource belongs to.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- external
Downstreams GetZones Zone External Downstream[] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters GetZones Zone External Master[] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - {[key: string]: any}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id string
- The OCID of the zone.
- is
Protected boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name string
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- nameservers
Get
Zones Zone Nameserver[] - The authoritative nameservers for the zone.
- scope string
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - self string
- The canonical absolute URL of the resource.
- serial number
- The current serial of the zone. As seen in the zone's SOA record.
- state string
- The state of a resource.
- time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- version string
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- view
Id string - The OCID of the view the resource is associated with.
- zone
Transfer GetServers Zones Zone Zone Transfer Server[] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type string - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment_
id str - The OCID of the compartment the resource belongs to.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- external_
downstreams Sequence[dns.Get Zones Zone External Downstream] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external_
masters Sequence[dns.Get Zones Zone External Master] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Mapping[str, Any]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id str
- The OCID of the zone.
- is_
protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name str
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- nameservers
Sequence[dns.
Get Zones Zone Nameserver] - The authoritative nameservers for the zone.
- scope str
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - self str
- The canonical absolute URL of the resource.
- serial int
- The current serial of the zone. As seen in the zone's SOA record.
- state str
- The state of a resource.
- time_
created str - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- version str
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- view_
id str - The OCID of the view the resource is associated with.
- zone_
transfer_ Sequence[dns.servers Get Zones Zone Zone Transfer Server] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone_
type str - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- external
Downstreams List<Property Map> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters List<Property Map> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Map<Any>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id String
- The OCID of the zone.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
- nameservers List<Property Map>
- The authoritative nameservers for the zone.
- scope String
- Specifies to operate only on resources that have a matching DNS scope. This value will be null
for zones in the global DNS and
PRIVATE
when listing private zones. - self String
- The canonical absolute URL of the resource.
- serial Number
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The state of a resource.
- time
Created String - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- version String
- Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
- view
Id String - The OCID of the view the resource is associated with.
- zone
Transfer List<Property Map>Servers - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type String - Search by zone type,
PRIMARY
orSECONDARY
. Will match any zone whose type equals the provided value.
GetZonesZoneExternalDownstream
- address str
- The server's IP address (IPv4 or IPv6).
- port int
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- tsig_
key_ strid - Search for zones that are associated with a TSIG key.
GetZonesZoneExternalMaster
- address str
- The server's IP address (IPv4 or IPv6).
- port int
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- tsig_
key_ strid - Search for zones that are associated with a TSIG key.
GetZonesZoneNameserver
- Hostname string
- The hostname of the nameserver.
- Hostname string
- The hostname of the nameserver.
- hostname String
- The hostname of the nameserver.
- hostname string
- The hostname of the nameserver.
- hostname str
- The hostname of the nameserver.
- hostname String
- The hostname of the nameserver.
GetZonesZoneZoneTransferServer
- Address string
- The server's IP address (IPv4 or IPv6).
- Is
Transfer boolDestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- Is
Transfer boolSource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- Port int
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- Address string
- The server's IP address (IPv4 or IPv6).
- Is
Transfer boolDestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- Is
Transfer boolSource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- Port int
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- address String
- The server's IP address (IPv4 or IPv6).
- is
Transfer BooleanDestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- is
Transfer BooleanSource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- port Integer
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- address string
- The server's IP address (IPv4 or IPv6).
- is
Transfer booleanDestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- is
Transfer booleanSource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- port number
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- address str
- The server's IP address (IPv4 or IPv6).
- is_
transfer_ booldestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- is_
transfer_ boolsource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- port int
- The server's port. Port value must be a value of 53, otherwise omit the port value.
- address String
- The server's IP address (IPv4 or IPv6).
- is
Transfer BooleanDestination - A Boolean flag indicating whether or not the server is a zone data transfer destination.
- is
Transfer BooleanSource - A Boolean flag indicating whether or not the server is a zone data transfer source.
- port Number
- The server's port. Port value must be a value of 53, otherwise omit the port value.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi