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:
- CompartmentId string
- The OCID of the compartment the resource belongs to.
- CreateZone stringFrom Zone File Details 
- The zone file contents.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- ViewId 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 
- CompartmentId string
- The OCID of the compartment the resource belongs to.
- CreateZone stringFrom Zone File Details 
- The zone file contents.
- Scope string
- Specifies to operate only on resources that have a matching DNS scope.
- ViewId 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 
- compartmentId String
- The OCID of the compartment the resource belongs to.
- createZone StringFrom Zone File Details 
- The zone file contents.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- viewId 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 
- compartmentId string
- The OCID of the compartment the resource belongs to.
- createZone stringFrom Zone File Details 
- The zone file contents.
- scope string
- Specifies to operate only on resources that have a matching DNS scope.
- viewId 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 
- compartmentId String
- The OCID of the compartment the resource belongs to.
- createZone StringFrom Zone File Details 
- The zone file contents.
- scope String
- Specifies to operate only on resources that have a matching DNS scope.
- viewId 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.
- DnssecConfigs List<ActionCreate Zone From Zone File Dnssec Config> 
- DnssecState string
- ExternalDownstreams List<ActionCreate Zone From Zone File External Downstream> 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- ExternalMasters List<ActionCreate Zone From Zone File External Master> 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- IsProtected 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<ActionCreate 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.
- TimeCreated 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.
- ZoneTransfer List<ActionServers Create Zone From Zone File Zone Transfer Server> 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- ZoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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.
- DnssecConfigs []ActionCreate Zone From Zone File Dnssec Config 
- DnssecState string
- ExternalDownstreams []ActionCreate Zone From Zone File External Downstream 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- ExternalMasters []ActionCreate Zone From Zone File External Master 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- IsProtected 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
[]ActionCreate 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.
- TimeCreated 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.
- ZoneTransfer []ActionServers Create Zone From Zone File Zone Transfer Server 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- ZoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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.
- dnssecConfigs List<ActionCreate Zone From Zone Filesec Config> 
- dnssecState String
- externalDownstreams List<ActionCreate Zone From Zone File External Downstream> 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters List<ActionCreate Zone From Zone File External Master> 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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<ActionCreate 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.
- timeCreated 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.
- zoneTransfer List<ActionServers Create Zone From Zone File Zone Transfer Server> 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType String
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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.
- dnssecConfigs ActionCreate Zone From Zone File Dnssec Config[] 
- dnssecState string
- externalDownstreams ActionCreate Zone From Zone File External Downstream[] 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters ActionCreate Zone From Zone File External Master[] 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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
ActionCreate 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.
- timeCreated 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.
- zoneTransfer ActionServers Create Zone From Zone File Zone Transfer Server[] 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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[ActionCreate Zone From Zone File Dnssec Config] 
- dnssec_state str
- external_downstreams Sequence[ActionCreate Zone From Zone File External Downstream] 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- external_masters Sequence[ActionCreate Zone From Zone File External Master] 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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[ActionCreate 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[Actionservers 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 PRIMARYorSECONDARY.SECONDARYis 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.
- dnssecConfigs List<Property Map>
- dnssecState String
- externalDownstreams List<Property Map>
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters List<Property Map>
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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.
- timeCreated 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.
- zoneTransfer List<Property Map>Servers 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType String
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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[ActionCreateZoneFromZoneFileDnssecConfigArgs]] = None,
        dnssec_state: Optional[str] = None,
        external_downstreams: Optional[Sequence[ActionCreateZoneFromZoneFileExternalDownstreamArgs]] = None,
        external_masters: Optional[Sequence[ActionCreateZoneFromZoneFileExternalMasterArgs]] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_protected: Optional[bool] = None,
        name: Optional[str] = None,
        nameservers: Optional[Sequence[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[ActionCreateZoneFromZoneFileZoneTransferServerArgs]] = None,
        zone_type: Optional[str] = None) -> ActionCreateZoneFromZoneFilefunc 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)resources:  _:    type: oci:Dns:ActionCreateZoneFromZoneFile    get:      id: ${id}- 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.
- CompartmentId string
- The OCID of the compartment the resource belongs to.
- CreateZone 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.
- DnssecConfigs List<ActionCreate Zone From Zone File Dnssec Config> 
- DnssecState string
- ExternalDownstreams List<ActionCreate Zone From Zone File External Downstream> 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- ExternalMasters List<ActionCreate Zone From Zone File External Master> 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- IsProtected 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<ActionCreate 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.
- TimeCreated 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.
- ViewId 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 
- ZoneTransfer List<ActionServers Create Zone From Zone File Zone Transfer Server> 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- ZoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis only supported for GLOBAL zones.
- CompartmentId string
- The OCID of the compartment the resource belongs to.
- CreateZone 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.
- DnssecConfigs []ActionCreate Zone From Zone File Dnssec Config Args 
- DnssecState string
- ExternalDownstreams []ActionCreate Zone From Zone File External Downstream Args 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- ExternalMasters []ActionCreate Zone From Zone File External Master Args 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- IsProtected 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
[]ActionCreate 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.
- TimeCreated 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.
- ViewId 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 
- ZoneTransfer []ActionServers Create Zone From Zone File Zone Transfer Server Args 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- ZoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis only supported for GLOBAL zones.
- compartmentId String
- The OCID of the compartment the resource belongs to.
- createZone 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.
- dnssecConfigs List<ActionCreate Zone From Zone Filesec Config> 
- dnssecState String
- externalDownstreams List<ActionCreate Zone From Zone File External Downstream> 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters List<ActionCreate Zone From Zone File External Master> 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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<ActionCreate 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.
- timeCreated 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.
- viewId 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 
- zoneTransfer List<ActionServers Create Zone From Zone File Zone Transfer Server> 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType String
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis only supported for GLOBAL zones.
- compartmentId string
- The OCID of the compartment the resource belongs to.
- createZone 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.
- dnssecConfigs ActionCreate Zone From Zone File Dnssec Config[] 
- dnssecState string
- externalDownstreams ActionCreate Zone From Zone File External Downstream[] 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters ActionCreate Zone From Zone File External Master[] 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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
ActionCreate 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.
- timeCreated 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.
- viewId 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 
- zoneTransfer ActionServers Create Zone From Zone File Zone Transfer Server[] 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType string
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis 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[ActionCreate Zone From Zone File Dnssec Config Args] 
- dnssec_state str
- external_downstreams Sequence[ActionCreate Zone From Zone File External Downstream Args] 
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- external_masters Sequence[ActionCreate Zone From Zone File External Master Args] 
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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[ActionCreate 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[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 str
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis only supported for GLOBAL zones.
- compartmentId String
- The OCID of the compartment the resource belongs to.
- createZone 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.
- dnssecConfigs List<Property Map>
- dnssecState String
- externalDownstreams List<Property Map>
- External secondary servers for the zone. This field is currently not supported when zoneTypeisSECONDARYorscopeisPRIVATE.
- externalMasters List<Property Map>
- External master servers for the zone. externalMastersbecomes a required parameter when thezoneTypevalue 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.
- isProtected 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.
- timeCreated 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.
- viewId 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 
- zoneTransfer List<Property Map>Servers 
- The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
- zoneType String
- The type of the zone. Must be either PRIMARYorSECONDARY.SECONDARYis only supported for GLOBAL zones.
Supporting Types
ActionCreateZoneFromZoneFileDnssecConfig, ActionCreateZoneFromZoneFileDnssecConfigArgs                
ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersion, ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionArgs                        
- Algorithm string
- DsDatas List<ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data> 
- KeyTag int
- LengthIn intBytes 
- PredecessorDnssec stringKey Version Uuid 
- SuccessorDnssec stringKey Version Uuid 
- TimeActivated string
- TimeCreated 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.
- TimeExpired string
- TimeInactivated string
- TimePromoted string
- TimePublished string
- TimeUnpublished string
- Uuid string
- Algorithm string
- DsDatas []ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data 
- KeyTag int
- LengthIn intBytes 
- PredecessorDnssec stringKey Version Uuid 
- SuccessorDnssec stringKey Version Uuid 
- TimeActivated string
- TimeCreated 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.
- TimeExpired string
- TimeInactivated string
- TimePromoted string
- TimePublished string
- TimeUnpublished string
- Uuid string
- algorithm String
- dsDatas List<ActionCreate Zone From Zone Filesec Config Ksksec Key Version Ds Data> 
- keyTag Integer
- lengthIn IntegerBytes 
- predecessorDnssec StringKey Version Uuid 
- successorDnssec StringKey Version Uuid 
- timeActivated String
- timeCreated 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.
- timeExpired String
- timeInactivated String
- timePromoted String
- timePublished String
- timeUnpublished String
- uuid String
- algorithm string
- dsDatas ActionCreate Zone From Zone File Dnssec Config Ksk Dnssec Key Version Ds Data[] 
- keyTag number
- lengthIn numberBytes 
- predecessorDnssec stringKey Version Uuid 
- successorDnssec stringKey Version Uuid 
- timeActivated string
- timeCreated 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.
- timeExpired string
- timeInactivated string
- timePromoted string
- timePublished string
- timeUnpublished string
- uuid string
- algorithm str
- ds_datas Sequence[ActionCreate 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
- dsDatas List<Property Map>
- keyTag Number
- lengthIn NumberBytes 
- predecessorDnssec StringKey Version Uuid 
- successorDnssec StringKey Version Uuid 
- timeActivated String
- timeCreated 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.
- timeExpired String
- timeInactivated String
- timePromoted String
- timePublished String
- timeUnpublished String
- uuid String
ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionDsData, ActionCreateZoneFromZoneFileDnssecConfigKskDnssecKeyVersionDsDataArgs                            
- DigestType string
- Rdata string
- DigestType string
- Rdata string
- digestType String
- rdata String
- digestType string
- rdata string
- digest_type str
- rdata str
- digestType String
- rdata String
ActionCreateZoneFromZoneFileDnssecConfigZskDnssecKeyVersion, ActionCreateZoneFromZoneFileDnssecConfigZskDnssecKeyVersionArgs                        
- Algorithm string
- KeyTag int
- LengthIn intBytes 
- PredecessorDnssec stringKey Version Uuid 
- SuccessorDnssec stringKey Version Uuid 
- TimeActivated string
- TimeCreated 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.
- TimeExpired string
- TimeInactivated string
- TimePromoted string
- TimePublished string
- TimeUnpublished string
- Uuid string
- Algorithm string
- KeyTag int
- LengthIn intBytes 
- PredecessorDnssec stringKey Version Uuid 
- SuccessorDnssec stringKey Version Uuid 
- TimeActivated string
- TimeCreated 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.
- TimeExpired string
- TimeInactivated string
- TimePromoted string
- TimePublished string
- TimeUnpublished string
- Uuid string
- algorithm String
- keyTag Integer
- lengthIn IntegerBytes 
- predecessorDnssec StringKey Version Uuid 
- successorDnssec StringKey Version Uuid 
- timeActivated String
- timeCreated 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.
- timeExpired String
- timeInactivated String
- timePromoted String
- timePublished String
- timeUnpublished String
- uuid String
- algorithm string
- keyTag number
- lengthIn numberBytes 
- predecessorDnssec stringKey Version Uuid 
- successorDnssec stringKey Version Uuid 
- timeActivated string
- timeCreated 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.
- timeExpired string
- timeInactivated string
- timePromoted string
- timePublished string
- timeUnpublished 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
- keyTag Number
- lengthIn NumberBytes 
- predecessorDnssec StringKey Version Uuid 
- successorDnssec StringKey Version Uuid 
- timeActivated String
- timeCreated 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.
- timeExpired String
- timeInactivated String
- timePromoted String
- timePublished String
- timeUnpublished 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).
- IsTransfer boolDestination 
- A Boolean flag indicating whether or not the server is a zone data transfer destination.
- IsTransfer 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).
- IsTransfer boolDestination 
- A Boolean flag indicating whether or not the server is a zone data transfer destination.
- IsTransfer 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).
- isTransfer BooleanDestination 
- A Boolean flag indicating whether or not the server is a zone data transfer destination.
- isTransfer 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).
- isTransfer booleanDestination 
- A Boolean flag indicating whether or not the server is a zone data transfer destination.
- isTransfer 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).
- isTransfer BooleanDestination 
- A Boolean flag indicating whether or not the server is a zone data transfer destination.
- isTransfer 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 ociTerraform Provider.