DnsZoneTransfersAclArgs

data class DnsZoneTransfersAclArgs(val accountId: Output<String>? = null, val ipRange: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<DnsZoneTransfersAclArgs>

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleDnsZoneTransfersAcl = new cloudflare.DnsZoneTransfersAcl("example_dns_zone_transfers_acl", {
accountId: "01a7362d577a6c3019a474fd6f485823",
ipRange: "192.0.2.53/28",
name: "my-acl-1",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_dns_zone_transfers_acl = cloudflare.DnsZoneTransfersAcl("example_dns_zone_transfers_acl",
account_id="01a7362d577a6c3019a474fd6f485823",
ip_range="192.0.2.53/28",
name="my-acl-1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleDnsZoneTransfersAcl = new Cloudflare.DnsZoneTransfersAcl("example_dns_zone_transfers_acl", new()
{
AccountId = "01a7362d577a6c3019a474fd6f485823",
IpRange = "192.0.2.53/28",
Name = "my-acl-1",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewDnsZoneTransfersAcl(ctx, "example_dns_zone_transfers_acl", &cloudflare.DnsZoneTransfersAclArgs{
AccountId: pulumi.String("01a7362d577a6c3019a474fd6f485823"),
IpRange: pulumi.String("192.0.2.53/28"),
Name: pulumi.String("my-acl-1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.DnsZoneTransfersAcl;
import com.pulumi.cloudflare.DnsZoneTransfersAclArgs;
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 exampleDnsZoneTransfersAcl = new DnsZoneTransfersAcl("exampleDnsZoneTransfersAcl", DnsZoneTransfersAclArgs.builder()
.accountId("01a7362d577a6c3019a474fd6f485823")
.ipRange("192.0.2.53/28")
.name("my-acl-1")
.build());
}
}
resources:
exampleDnsZoneTransfersAcl:
type: cloudflare:DnsZoneTransfersAcl
name: example_dns_zone_transfers_acl
properties:
accountId: 01a7362d577a6c3019a474fd6f485823
ipRange: 192.0.2.53/28
name: my-acl-1

Import

$ pulumi import cloudflare:index/dnsZoneTransfersAcl:DnsZoneTransfersAcl example '<account_id>/<acl_id>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, ipRange: Output<String>? = null, name: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null
Link copied to clipboard
val ipRange: Output<String>? = null

Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.

Link copied to clipboard
val name: Output<String>? = null

The name of the acl.

Functions

Link copied to clipboard
open override fun toJava(): DnsZoneTransfersAclArgs