1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Dns64
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.Dns64

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure DNS64. Applies to FortiOS Version >= 7.0.1.

    Create Dns64 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Dns64(name: string, args?: Dns64Args, opts?: CustomResourceOptions);
    @overload
    def Dns64(resource_name: str,
              args: Optional[Dns64Args] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Dns64(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              always_synthesize_aaaa_record: Optional[str] = None,
              dns64_prefix: Optional[str] = None,
              status: Optional[str] = None,
              vdomparam: Optional[str] = None)
    func NewDns64(ctx *Context, name string, args *Dns64Args, opts ...ResourceOption) (*Dns64, error)
    public Dns64(string name, Dns64Args? args = null, CustomResourceOptions? opts = null)
    public Dns64(String name, Dns64Args args)
    public Dns64(String name, Dns64Args args, CustomResourceOptions options)
    
    type: fortios:system:Dns64
    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 Dns64Args
    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 Dns64Args
    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 Dns64Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Dns64Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Dns64Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var dns64Resource = new Fortios.System.Dns64("dns64Resource", new()
    {
        AlwaysSynthesizeAaaaRecord = "string",
        Dns64Prefix = "string",
        Status = "string",
        Vdomparam = "string",
    });
    
    example, err := system.NewDns64(ctx, "dns64Resource", &system.Dns64Args{
    	AlwaysSynthesizeAaaaRecord: pulumi.String("string"),
    	Dns64Prefix:                pulumi.String("string"),
    	Status:                     pulumi.String("string"),
    	Vdomparam:                  pulumi.String("string"),
    })
    
    var dns64Resource = new Dns64("dns64Resource", Dns64Args.builder()        
        .alwaysSynthesizeAaaaRecord("string")
        .dns64Prefix("string")
        .status("string")
        .vdomparam("string")
        .build());
    
    dns64_resource = fortios.system.Dns64("dns64Resource",
        always_synthesize_aaaa_record="string",
        dns64_prefix="string",
        status="string",
        vdomparam="string")
    
    const dns64Resource = new fortios.system.Dns64("dns64Resource", {
        alwaysSynthesizeAaaaRecord: "string",
        dns64Prefix: "string",
        status: "string",
        vdomparam: "string",
    });
    
    type: fortios:system:Dns64
    properties:
        alwaysSynthesizeAaaaRecord: string
        dns64Prefix: string
        status: string
        vdomparam: string
    

    Dns64 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 Dns64 resource accepts the following input properties:

    AlwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    Dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    Status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AlwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    Dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    Status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord String
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix String
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status String
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    always_synthesize_aaaa_record str
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64_prefix str
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status str
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord String
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix String
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status String
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Dns64 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Dns64 Resource

    Get an existing Dns64 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?: Dns64State, opts?: CustomResourceOptions): Dns64
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            always_synthesize_aaaa_record: Optional[str] = None,
            dns64_prefix: Optional[str] = None,
            status: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Dns64
    func GetDns64(ctx *Context, name string, id IDInput, state *Dns64State, opts ...ResourceOption) (*Dns64, error)
    public static Dns64 Get(string name, Input<string> id, Dns64State? state, CustomResourceOptions? opts = null)
    public static Dns64 get(String name, Output<String> id, Dns64State 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.
    The following state arguments are supported:
    AlwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    Dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    Status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AlwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    Dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    Status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord String
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix String
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status String
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord string
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix string
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status string
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    always_synthesize_aaaa_record str
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64_prefix str
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status str
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    alwaysSynthesizeAaaaRecord String
    Enable/disable AAAA record synthesis (default = enable). Valid values: enable, disable.
    dns64Prefix String
    DNS64 prefix must be ::/96 (default = 64:ff9b::/96).
    status String
    Enable/disable DNS64 (default = disable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Import

    System Dns64 can be imported using any of these accepted formats:

    $ pulumi import fortios:system/dns64:Dns64 labelname SystemDns64
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/dns64:Dns64 labelname SystemDns64
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse