oci.Dns.ActionCreateZoneFromZoneFile
Explore with Pulumi AI
This resource provides the Action Create Zone From Zone File resource in Oracle Cloud Infrastructure DNS service.
Creates a new zone from a zone file in the specified compartment. Not supported for private zones.
After the zone has been created, it should be further managed by importing it to an oci.Dns.Zone
resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testActionCreateZoneFromZoneFile = new oci.dns.ActionCreateZoneFromZoneFile("test_action_create_zone_from_zone_file", {
createZoneFromZoneFileDetails: actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails,
compartmentId: compartmentId,
scope: actionCreateZoneFromZoneFileScope,
viewId: testView.id,
});
import pulumi
import pulumi_oci as oci
test_action_create_zone_from_zone_file = oci.dns.ActionCreateZoneFromZoneFile("test_action_create_zone_from_zone_file",
create_zone_from_zone_file_details=action_create_zone_from_zone_file_create_zone_from_zone_file_details,
compartment_id=compartment_id,
scope=action_create_zone_from_zone_file_scope,
view_id=test_view["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Dns.NewActionCreateZoneFromZoneFile(ctx, "test_action_create_zone_from_zone_file", &Dns.ActionCreateZoneFromZoneFileArgs{
CreateZoneFromZoneFileDetails: pulumi.Any(actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails),
CompartmentId: pulumi.Any(compartmentId),
Scope: pulumi.Any(actionCreateZoneFromZoneFileScope),
ViewId: pulumi.Any(testView.Id),
})
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 testActionCreateZoneFromZoneFile = new Oci.Dns.ActionCreateZoneFromZoneFile("test_action_create_zone_from_zone_file", new()
{
CreateZoneFromZoneFileDetails = actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails,
CompartmentId = compartmentId,
Scope = actionCreateZoneFromZoneFileScope,
ViewId = testView.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dns.ActionCreateZoneFromZoneFile;
import com.pulumi.oci.Dns.ActionCreateZoneFromZoneFileArgs;
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) {
var testActionCreateZoneFromZoneFile = new ActionCreateZoneFromZoneFile("testActionCreateZoneFromZoneFile", ActionCreateZoneFromZoneFileArgs.builder()
.createZoneFromZoneFileDetails(actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails)
.compartmentId(compartmentId)
.scope(actionCreateZoneFromZoneFileScope)
.viewId(testView.id())
.build());
}
}
resources:
testActionCreateZoneFromZoneFile:
type: oci:Dns:ActionCreateZoneFromZoneFile
name: test_action_create_zone_from_zone_file
properties:
createZoneFromZoneFileDetails: ${actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails}
compartmentId: ${compartmentId}
scope: ${actionCreateZoneFromZoneFileScope}
viewId: ${testView.id}
Create ActionCreateZoneFromZoneFile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ActionCreateZoneFromZoneFile(name: string, args: ActionCreateZoneFromZoneFileArgs, opts?: CustomResourceOptions);
@overload
def ActionCreateZoneFromZoneFile(resource_name: str,
args: ActionCreateZoneFromZoneFileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ActionCreateZoneFromZoneFile(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
create_zone_from_zone_file_details: Optional[str] = None,
scope: Optional[str] = None,
view_id: Optional[str] = None)
func NewActionCreateZoneFromZoneFile(ctx *Context, name string, args ActionCreateZoneFromZoneFileArgs, opts ...ResourceOption) (*ActionCreateZoneFromZoneFile, error)
public ActionCreateZoneFromZoneFile(string name, ActionCreateZoneFromZoneFileArgs args, CustomResourceOptions? opts = null)
public ActionCreateZoneFromZoneFile(String name, ActionCreateZoneFromZoneFileArgs args)
public ActionCreateZoneFromZoneFile(String name, ActionCreateZoneFromZoneFileArgs args, CustomResourceOptions options)
type: oci:Dns:ActionCreateZoneFromZoneFile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ActionCreateZoneFromZoneFileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ActionCreateZoneFromZoneFileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ActionCreateZoneFromZoneFileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActionCreateZoneFromZoneFileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ActionCreateZoneFromZoneFileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var actionCreateZoneFromZoneFileResource = new Oci.Dns.ActionCreateZoneFromZoneFile("actionCreateZoneFromZoneFileResource", new()
{
CompartmentId = "string",
CreateZoneFromZoneFileDetails = "string",
Scope = "string",
ViewId = "string",
});
example, err := Dns.NewActionCreateZoneFromZoneFile(ctx, "actionCreateZoneFromZoneFileResource", &Dns.ActionCreateZoneFromZoneFileArgs{
CompartmentId: pulumi.String("string"),
CreateZoneFromZoneFileDetails: pulumi.String("string"),
Scope: pulumi.String("string"),
ViewId: pulumi.String("string"),
})
var actionCreateZoneFromZoneFileResource = new ActionCreateZoneFromZoneFile("actionCreateZoneFromZoneFileResource", ActionCreateZoneFromZoneFileArgs.builder()
.compartmentId("string")
.createZoneFromZoneFileDetails("string")
.scope("string")
.viewId("string")
.build());
action_create_zone_from_zone_file_resource = oci.dns.ActionCreateZoneFromZoneFile("actionCreateZoneFromZoneFileResource",
compartment_id="string",
create_zone_from_zone_file_details="string",
scope="string",
view_id="string")
const actionCreateZoneFromZoneFileResource = new oci.dns.ActionCreateZoneFromZoneFile("actionCreateZoneFromZoneFileResource", {
compartmentId: "string",
createZoneFromZoneFileDetails: "string",
scope: "string",
viewId: "string",
});
type: oci:Dns:ActionCreateZoneFromZoneFile
properties:
compartmentId: string
createZoneFromZoneFileDetails: string
scope: string
viewId: string
ActionCreateZoneFromZoneFile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ActionCreateZoneFromZoneFile resource accepts the following input properties:
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Create
Zone stringFrom Zone File Details - The zone file contents.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- View
Id string The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Create
Zone stringFrom Zone File Details - The zone file contents.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- View
Id string The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - The OCID of the compartment the resource belongs to.
- create
Zone StringFrom Zone File Details - The zone file contents.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- view
Id String The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - The OCID of the compartment the resource belongs to.
- create
Zone stringFrom Zone File Details - The zone file contents.
- scope string
- Specifies to operate only on resources that have a matching DNS scope.
- view
Id string The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - The OCID of the compartment the resource belongs to.
- create_
zone_ strfrom_ zone_ file_ details - The zone file contents.
- scope str
- Specifies to operate only on resources that have a matching DNS scope.
- view_
id str The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - The OCID of the compartment the resource belongs to.
- create
Zone StringFrom Zone File Details - The zone file contents.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- view
Id String The OCID of the view the resource is associated with.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the ActionCreateZoneFromZoneFile resource produces the following output properties:
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dnssec
Configs List<ActionCreate Zone From Zone File Dnssec Config> - Dnssec
State string - External
Downstreams List<ActionCreate Zone From Zone File External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters List<ActionCreate Zone From Zone File External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Dictionary<string, string>
- 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 provider-assigned unique ID for this managed resource.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- The name of the zone.
- Nameservers
List<Action
Create Zone From Zone File Nameserver> - The authoritative nameservers for the zone.
- Self string
- The canonical absolute URL of the resource.
- Serial string
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The current state of the zone 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.
- Zone
Transfer List<ActionServers Create Zone From Zone File Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- Zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dnssec
Configs []ActionCreate Zone From Zone File Dnssec Config - Dnssec
State string - External
Downstreams []ActionCreate Zone From Zone File External Downstream - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters []ActionCreate Zone From Zone File External Master - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - map[string]string
- 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 provider-assigned unique ID for this managed resource.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- The name of the zone.
- Nameservers
[]Action
Create Zone From Zone File Nameserver - The authoritative nameservers for the zone.
- Self string
- The canonical absolute URL of the resource.
- Serial string
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The current state of the zone 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.
- Zone
Transfer []ActionServers Create Zone From Zone File Zone Transfer Server - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- Zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs List<ActionCreate Zone From Zone Filesec Config> - dnssec
State String - external
Downstreams List<ActionCreate Zone From Zone File External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters List<ActionCreate Zone From Zone File External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Map<String,String>
- 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 provider-assigned unique ID for this managed resource.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- The name of the zone.
- nameservers
List<Action
Create Zone From Zone File Nameserver> - The authoritative nameservers for the zone.
- self String
- The canonical absolute URL of the resource.
- serial String
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The current state of the zone 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.
- zone
Transfer List<ActionServers Create Zone From Zone File Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type String - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs ActionCreate Zone From Zone File Dnssec Config[] - dnssec
State string - external
Downstreams ActionCreate Zone From Zone File External Downstream[] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters ActionCreate Zone From Zone File External Master[] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - {[key: string]: string}
- 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 provider-assigned unique ID for this managed resource.
- is
Protected boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name string
- The name of the zone.
- nameservers
Action
Create Zone From Zone File Nameserver[] - The authoritative nameservers for the zone.
- self string
- The canonical absolute URL of the resource.
- serial string
- The current serial of the zone. As seen in the zone's SOA record.
- state string
- The current state of the zone 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.
- zone
Transfer ActionServers Create Zone From Zone File Zone Transfer Server[] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type string - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec_
configs Sequence[dns.Action Create Zone From Zone File Dnssec Config] - dnssec_
state str - external_
downstreams Sequence[dns.Action Create Zone From Zone File External Downstream] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external_
masters Sequence[dns.Action Create Zone From Zone File External Master] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Mapping[str, str]
- 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 provider-assigned unique ID for this managed resource.
- is_
protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name str
- The name of the zone.
- nameservers
Sequence[dns.
Action Create Zone From Zone File Nameserver] - The authoritative nameservers for the zone.
- self str
- The canonical absolute URL of the resource.
- serial str
- The current serial of the zone. As seen in the zone's SOA record.
- state str
- The current state of the zone 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.
- zone_
transfer_ Sequence[dns.servers Action Create Zone From Zone File Zone Transfer Server] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone_
type str - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs List<Property Map> - dnssec
State String - 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<String>
- 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 provider-assigned unique ID for this managed resource.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- The name of the zone.
- nameservers List<Property Map>
- The authoritative nameservers for the zone.
- self String
- The canonical absolute URL of the resource.
- serial String
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The current state of the zone 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.
- zone
Transfer List<Property Map>Servers - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type String - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
Look up Existing ActionCreateZoneFromZoneFile Resource
Get an existing ActionCreateZoneFromZoneFile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ActionCreateZoneFromZoneFileState, opts?: CustomResourceOptions): ActionCreateZoneFromZoneFile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
create_zone_from_zone_file_details: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
dnssec_configs: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileDnssecConfigArgs]] = None,
dnssec_state: Optional[str] = None,
external_downstreams: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileExternalDownstreamArgs]] = None,
external_masters: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileExternalMasterArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_protected: Optional[bool] = None,
name: Optional[str] = None,
nameservers: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileNameserverArgs]] = None,
scope: Optional[str] = None,
self: Optional[str] = None,
serial: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
version: Optional[str] = None,
view_id: Optional[str] = None,
zone_transfer_servers: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileZoneTransferServerArgs]] = None,
zone_type: Optional[str] = None) -> ActionCreateZoneFromZoneFile
func GetActionCreateZoneFromZoneFile(ctx *Context, name string, id IDInput, state *ActionCreateZoneFromZoneFileState, opts ...ResourceOption) (*ActionCreateZoneFromZoneFile, error)
public static ActionCreateZoneFromZoneFile Get(string name, Input<string> id, ActionCreateZoneFromZoneFileState? state, CustomResourceOptions? opts = null)
public static ActionCreateZoneFromZoneFile get(String name, Output<String> id, ActionCreateZoneFromZoneFileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Create
Zone stringFrom Zone File Details - The zone file contents.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dnssec
Configs List<ActionCreate Zone From Zone File Dnssec Config> - Dnssec
State string - External
Downstreams List<ActionCreate Zone From Zone File External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters List<ActionCreate Zone From Zone File External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Dictionary<string, string>
- 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.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- The name of the zone.
- Nameservers
List<Action
Create Zone From Zone File Nameserver> - The authoritative nameservers for the zone.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- Self string
- The canonical absolute URL of the resource.
- Serial string
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Zone
Transfer List<ActionServers Create Zone From Zone File Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- 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 the resource belongs to.
- Create
Zone stringFrom Zone File Details - The zone file contents.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dnssec
Configs []ActionCreate Zone From Zone File Dnssec Config Args - Dnssec
State string - External
Downstreams []ActionCreate Zone From Zone File External Downstream Args - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - External
Masters []ActionCreate Zone From Zone File External Master Args - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - map[string]string
- 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.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Name string
- The name of the zone.
- Nameservers
[]Action
Create Zone From Zone File Nameserver Args - The authoritative nameservers for the zone.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- Self string
- The canonical absolute URL of the resource.
- Serial string
- The current serial of the zone. As seen in the zone's SOA record.
- State string
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Zone
Transfer []ActionServers Create Zone From Zone File Zone Transfer Server Args - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- 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 the resource belongs to.
- create
Zone StringFrom Zone File Details - The zone file contents.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs List<ActionCreate Zone From Zone Filesec Config> - dnssec
State String - external
Downstreams List<ActionCreate Zone From Zone File External Downstream> - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters List<ActionCreate Zone From Zone File External Master> - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Map<String,String>
- 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.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- The name of the zone.
- nameservers
List<Action
Create Zone From Zone File Nameserver> - The authoritative nameservers for the zone.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- self String
- The canonical absolute URL of the resource.
- serial String
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- zone
Transfer List<ActionServers Create Zone From Zone File Zone Transfer Server> - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- 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 the resource belongs to.
- create
Zone stringFrom Zone File Details - The zone file contents.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs ActionCreate Zone From Zone File Dnssec Config[] - dnssec
State string - external
Downstreams ActionCreate Zone From Zone File External Downstream[] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external
Masters ActionCreate Zone From Zone File External Master[] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - {[key: string]: string}
- 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.
- is
Protected boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name string
- The name of the zone.
- nameservers
Action
Create Zone From Zone File Nameserver[] - The authoritative nameservers for the zone.
- scope string
- Specifies to operate only on resources that have a matching DNS scope.
- self string
- The canonical absolute URL of the resource.
- serial string
- The current serial of the zone. As seen in the zone's SOA record.
- state string
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- zone
Transfer ActionServers Create Zone From Zone File Zone Transfer Server[] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- 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 the resource belongs to.
- create_
zone_ strfrom_ zone_ file_ details - The zone file contents.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec_
configs Sequence[dns.Action Create Zone From Zone File Dnssec Config Args] - dnssec_
state str - external_
downstreams Sequence[dns.Action Create Zone From Zone File External Downstream Args] - External secondary servers for the zone. This field is currently not supported when
zoneType
isSECONDARY
orscope
isPRIVATE
. - external_
masters Sequence[dns.Action Create Zone From Zone File External Master Args] - External master servers for the zone.
externalMasters
becomes a required parameter when thezoneType
value isSECONDARY
. - Mapping[str, str]
- 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.
- is_
protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name str
- The name of the zone.
- nameservers
Sequence[dns.
Action Create Zone From Zone File Nameserver Args] - The authoritative nameservers for the zone.
- scope str
- Specifies to operate only on resources that have a matching DNS scope.
- self str
- The canonical absolute URL of the resource.
- serial str
- The current serial of the zone. As seen in the zone's SOA record.
- state str
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- zone_
transfer_ Sequence[dns.servers Action Create Zone From Zone File Zone Transfer Server Args] - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- 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 the resource belongs to.
- create
Zone StringFrom Zone File Details - The zone file contents.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- dnssec
Configs List<Property Map> - dnssec
State String - 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<String>
- 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.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- name String
- The name of the zone.
- nameservers List<Property Map>
- The authoritative nameservers for the zone.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- self String
- The canonical absolute URL of the resource.
- serial String
- The current serial of the zone. As seen in the zone's SOA record.
- state String
- The current state of the zone 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- zone
Transfer List<Property Map>Servers - The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zone
Type String - The type of the zone. Must be either
PRIMARY
orSECONDARY
.SECONDARY
is only supported for GLOBAL zones.
Supporting Types
ActionCreateZoneFromZoneFileDnssecConfig, ActionCreateZoneFromZoneFileDnssecConfigArgs
ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersion, ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionArgs
- Algorithm string
- Ds
Datas List<ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data> - Key
Tag int - Length
In intBytes - Predecessor
Dnssec stringKey Version Uuid - Successor
Dnssec stringKey Version Uuid - Time
Activated string - 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.
- Time
Expired string - Time
Inactivated string - Time
Promoted string - Time
Published string - Time
Unpublished string - Uuid string
- Algorithm string
- Ds
Datas []ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data - Key
Tag int - Length
In intBytes - Predecessor
Dnssec stringKey Version Uuid - Successor
Dnssec stringKey Version Uuid - Time
Activated string - 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.
- Time
Expired string - Time
Inactivated string - Time
Promoted string - Time
Published string - Time
Unpublished string - Uuid string
- algorithm String
- ds
Datas List<ActionCreate Zone From Zone Filesec Config Ksksec Key Version Ds Data> - key
Tag Integer - length
In IntegerBytes - predecessor
Dnssec StringKey Version Uuid - successor
Dnssec StringKey Version Uuid - time
Activated String - 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.
- time
Expired String - time
Inactivated String - time
Promoted String - time
Published String - time
Unpublished String - uuid String
- algorithm string
- ds
Datas ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data[] - key
Tag number - length
In numberBytes - predecessor
Dnssec stringKey Version Uuid - successor
Dnssec stringKey Version Uuid - time
Activated string - 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.
- time
Expired string - time
Inactivated string - time
Promoted string - time
Published string - time
Unpublished string - uuid string
- algorithm str
- ds_
datas Sequence[dns.Action Create Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data] - key_
tag int - length_
in_ intbytes - predecessor_
dnssec_ strkey_ version_ uuid - successor_
dnssec_ strkey_ version_ uuid - time_
activated str - 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.
- time_
expired str - time_
inactivated str - time_
promoted str - time_
published str - time_
unpublished str - uuid str
- algorithm String
- ds
Datas List<Property Map> - key
Tag Number - length
In NumberBytes - predecessor
Dnssec StringKey Version Uuid - successor
Dnssec StringKey Version Uuid - time
Activated String - 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.
- time
Expired String - time
Inactivated String - time
Promoted String - time
Published String - time
Unpublished String - uuid String
ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionDsData, ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionDsDataArgs
- Digest
Type string - Rdata string
- Digest
Type string - Rdata string
- digest
Type String - rdata String
- digest
Type string - rdata string
- digest_
type str - rdata str
- digest
Type String - rdata String
ActionCreateZoneFromZoneFileDnssecConfigZskDnssecKeyVersion, ActionCreateZoneFromZoneFileDnssecConfigZskDnssecKeyVersionArgs
- Algorithm string
- Key
Tag int - Length
In intBytes - Predecessor
Dnssec stringKey Version Uuid - Successor
Dnssec stringKey Version Uuid - Time
Activated string - 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.
- Time
Expired string - Time
Inactivated string - Time
Promoted string - Time
Published string - Time
Unpublished string - Uuid string
- Algorithm string
- Key
Tag int - Length
In intBytes - Predecessor
Dnssec stringKey Version Uuid - Successor
Dnssec stringKey Version Uuid - Time
Activated string - 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.
- Time
Expired string - Time
Inactivated string - Time
Promoted string - Time
Published string - Time
Unpublished string - Uuid string
- algorithm String
- key
Tag Integer - length
In IntegerBytes - predecessor
Dnssec StringKey Version Uuid - successor
Dnssec StringKey Version Uuid - time
Activated String - 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.
- time
Expired String - time
Inactivated String - time
Promoted String - time
Published String - time
Unpublished String - uuid String
- algorithm string
- key
Tag number - length
In numberBytes - predecessor
Dnssec stringKey Version Uuid - successor
Dnssec stringKey Version Uuid - time
Activated string - 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.
- time
Expired string - time
Inactivated string - time
Promoted string - time
Published string - time
Unpublished string - uuid string
- algorithm str
- key_
tag int - length_
in_ intbytes - predecessor_
dnssec_ strkey_ version_ uuid - successor_
dnssec_ strkey_ version_ uuid - time_
activated str - 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.
- time_
expired str - time_
inactivated str - time_
promoted str - time_
published str - time_
unpublished str - uuid str
- algorithm String
- key
Tag Number - length
In NumberBytes - predecessor
Dnssec StringKey Version Uuid - successor
Dnssec StringKey Version Uuid - time
Activated String - 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.
- time
Expired String - time
Inactivated String - time
Promoted String - time
Published String - time
Unpublished String - uuid String
ActionCreateZoneFromZoneFileExternalDownstream, ActionCreateZoneFromZoneFileExternalDownstreamArgs
- address str
- The server's IP address (IPv4 or IPv6).
- port int
- The server's port.
- tsig_
key_ strid - The OCID of the TSIG key.
ActionCreateZoneFromZoneFileExternalMaster, ActionCreateZoneFromZoneFileExternalMasterArgs
- address str
- The server's IP address (IPv4 or IPv6).
- port int
- The server's port.
- tsig_
key_ strid - The OCID of the TSIG key.
ActionCreateZoneFromZoneFileNameserver, ActionCreateZoneFromZoneFileNameserverArgs
- 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.
ActionCreateZoneFromZoneFileZoneTransferServer, ActionCreateZoneFromZoneFileZoneTransferServerArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Import
ActionCreateZoneFromZoneFile can be imported using the id
, e.g.
$ pulumi import oci:Dns/actionCreateZoneFromZoneFile:ActionCreateZoneFromZoneFile test_action_create_zone_from_zone_file "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.