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.
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/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
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, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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, 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 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]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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]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 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,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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,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 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]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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]: 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 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, 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.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, 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 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<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 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, Any]] = None,
external_downstreams: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileExternalDownstreamArgs]] = None,
external_masters: Optional[Sequence[_dns.ActionCreateZoneFromZoneFileExternalMasterArgs]] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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, 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.
- 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]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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]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.
- 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,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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,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.
- 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]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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]: 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.
- 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, 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.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, 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.
- 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<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.
- 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
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.