cloudflare.DnsZoneTransfersIncoming
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleDnsZoneTransfersIncoming = new cloudflare.DnsZoneTransfersIncoming("example_dns_zone_transfers_incoming", {
    zoneId: "269d8f4853475ca241c4e730be286b20",
    autoRefreshSeconds: 86400,
    name: "www.example.com.",
    peers: [
        "23ff594956f20c2a721606e94745a8aa",
        "00920f38ce07c2e2f4df50b1f61d4194",
    ],
});
import pulumi
import pulumi_cloudflare as cloudflare
example_dns_zone_transfers_incoming = cloudflare.DnsZoneTransfersIncoming("example_dns_zone_transfers_incoming",
    zone_id="269d8f4853475ca241c4e730be286b20",
    auto_refresh_seconds=86400,
    name="www.example.com.",
    peers=[
        "23ff594956f20c2a721606e94745a8aa",
        "00920f38ce07c2e2f4df50b1f61d4194",
    ])
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.NewDnsZoneTransfersIncoming(ctx, "example_dns_zone_transfers_incoming", &cloudflare.DnsZoneTransfersIncomingArgs{
			ZoneId:             pulumi.String("269d8f4853475ca241c4e730be286b20"),
			AutoRefreshSeconds: pulumi.Float64(86400),
			Name:               pulumi.String("www.example.com."),
			Peers: pulumi.StringArray{
				pulumi.String("23ff594956f20c2a721606e94745a8aa"),
				pulumi.String("00920f38ce07c2e2f4df50b1f61d4194"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() => 
{
    var exampleDnsZoneTransfersIncoming = new Cloudflare.DnsZoneTransfersIncoming("example_dns_zone_transfers_incoming", new()
    {
        ZoneId = "269d8f4853475ca241c4e730be286b20",
        AutoRefreshSeconds = 86400,
        Name = "www.example.com.",
        Peers = new[]
        {
            "23ff594956f20c2a721606e94745a8aa",
            "00920f38ce07c2e2f4df50b1f61d4194",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.DnsZoneTransfersIncoming;
import com.pulumi.cloudflare.DnsZoneTransfersIncomingArgs;
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 exampleDnsZoneTransfersIncoming = new DnsZoneTransfersIncoming("exampleDnsZoneTransfersIncoming", DnsZoneTransfersIncomingArgs.builder()
            .zoneId("269d8f4853475ca241c4e730be286b20")
            .autoRefreshSeconds(86400.0)
            .name("www.example.com.")
            .peers(            
                "23ff594956f20c2a721606e94745a8aa",
                "00920f38ce07c2e2f4df50b1f61d4194")
            .build());
    }
}
resources:
  exampleDnsZoneTransfersIncoming:
    type: cloudflare:DnsZoneTransfersIncoming
    name: example_dns_zone_transfers_incoming
    properties:
      zoneId: 269d8f4853475ca241c4e730be286b20
      autoRefreshSeconds: 86400
      name: www.example.com.
      peers:
        - 23ff594956f20c2a721606e94745a8aa
        - 00920f38ce07c2e2f4df50b1f61d4194
Create DnsZoneTransfersIncoming Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsZoneTransfersIncoming(name: string, args: DnsZoneTransfersIncomingArgs, opts?: CustomResourceOptions);@overload
def DnsZoneTransfersIncoming(resource_name: str,
                             args: DnsZoneTransfersIncomingArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def DnsZoneTransfersIncoming(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             auto_refresh_seconds: Optional[float] = None,
                             name: Optional[str] = None,
                             peers: Optional[Sequence[str]] = None,
                             zone_id: Optional[str] = None)func NewDnsZoneTransfersIncoming(ctx *Context, name string, args DnsZoneTransfersIncomingArgs, opts ...ResourceOption) (*DnsZoneTransfersIncoming, error)public DnsZoneTransfersIncoming(string name, DnsZoneTransfersIncomingArgs args, CustomResourceOptions? opts = null)
public DnsZoneTransfersIncoming(String name, DnsZoneTransfersIncomingArgs args)
public DnsZoneTransfersIncoming(String name, DnsZoneTransfersIncomingArgs args, CustomResourceOptions options)
type: cloudflare:DnsZoneTransfersIncoming
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 DnsZoneTransfersIncomingArgs
- 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 DnsZoneTransfersIncomingArgs
- 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 DnsZoneTransfersIncomingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsZoneTransfersIncomingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsZoneTransfersIncomingArgs
- 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 dnsZoneTransfersIncomingResource = new Cloudflare.DnsZoneTransfersIncoming("dnsZoneTransfersIncomingResource", new()
{
    AutoRefreshSeconds = 0,
    Name = "string",
    Peers = new[]
    {
        "string",
    },
    ZoneId = "string",
});
example, err := cloudflare.NewDnsZoneTransfersIncoming(ctx, "dnsZoneTransfersIncomingResource", &cloudflare.DnsZoneTransfersIncomingArgs{
	AutoRefreshSeconds: pulumi.Float64(0),
	Name:               pulumi.String("string"),
	Peers: pulumi.StringArray{
		pulumi.String("string"),
	},
	ZoneId: pulumi.String("string"),
})
var dnsZoneTransfersIncomingResource = new DnsZoneTransfersIncoming("dnsZoneTransfersIncomingResource", DnsZoneTransfersIncomingArgs.builder()
    .autoRefreshSeconds(0.0)
    .name("string")
    .peers("string")
    .zoneId("string")
    .build());
dns_zone_transfers_incoming_resource = cloudflare.DnsZoneTransfersIncoming("dnsZoneTransfersIncomingResource",
    auto_refresh_seconds=0,
    name="string",
    peers=["string"],
    zone_id="string")
const dnsZoneTransfersIncomingResource = new cloudflare.DnsZoneTransfersIncoming("dnsZoneTransfersIncomingResource", {
    autoRefreshSeconds: 0,
    name: "string",
    peers: ["string"],
    zoneId: "string",
});
type: cloudflare:DnsZoneTransfersIncoming
properties:
    autoRefreshSeconds: 0
    name: string
    peers:
        - string
    zoneId: string
DnsZoneTransfersIncoming 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 DnsZoneTransfersIncoming resource accepts the following input properties:
- AutoRefresh doubleSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- Name string
- Zone name.
- Peers List<string>
- A list of peer tags.
- ZoneId string
- AutoRefresh float64Seconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- Name string
- Zone name.
- Peers []string
- A list of peer tags.
- ZoneId string
- autoRefresh DoubleSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- name String
- Zone name.
- peers List<String>
- A list of peer tags.
- zoneId String
- autoRefresh numberSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- name string
- Zone name.
- peers string[]
- A list of peer tags.
- zoneId string
- auto_refresh_ floatseconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- name str
- Zone name.
- peers Sequence[str]
- A list of peer tags.
- zone_id str
- autoRefresh NumberSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- name String
- Zone name.
- peers List<String>
- A list of peer tags.
- zoneId String
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsZoneTransfersIncoming resource produces the following output properties:
- CheckedTime string
- The time for a specific event.
- CreatedTime string
- The time for a specific event.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedTime string
- The time for a specific event.
- SoaSerial double
- The serial number of the SOA for the given zone.
- CheckedTime string
- The time for a specific event.
- CreatedTime string
- The time for a specific event.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedTime string
- The time for a specific event.
- SoaSerial float64
- The serial number of the SOA for the given zone.
- checkedTime String
- The time for a specific event.
- createdTime String
- The time for a specific event.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedTime String
- The time for a specific event.
- soaSerial Double
- The serial number of the SOA for the given zone.
- checkedTime string
- The time for a specific event.
- createdTime string
- The time for a specific event.
- id string
- The provider-assigned unique ID for this managed resource.
- modifiedTime string
- The time for a specific event.
- soaSerial number
- The serial number of the SOA for the given zone.
- checked_time str
- The time for a specific event.
- created_time str
- The time for a specific event.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_time str
- The time for a specific event.
- soa_serial float
- The serial number of the SOA for the given zone.
- checkedTime String
- The time for a specific event.
- createdTime String
- The time for a specific event.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedTime String
- The time for a specific event.
- soaSerial Number
- The serial number of the SOA for the given zone.
Look up Existing DnsZoneTransfersIncoming Resource
Get an existing DnsZoneTransfersIncoming 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?: DnsZoneTransfersIncomingState, opts?: CustomResourceOptions): DnsZoneTransfersIncoming@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_refresh_seconds: Optional[float] = None,
        checked_time: Optional[str] = None,
        created_time: Optional[str] = None,
        modified_time: Optional[str] = None,
        name: Optional[str] = None,
        peers: Optional[Sequence[str]] = None,
        soa_serial: Optional[float] = None,
        zone_id: Optional[str] = None) -> DnsZoneTransfersIncomingfunc GetDnsZoneTransfersIncoming(ctx *Context, name string, id IDInput, state *DnsZoneTransfersIncomingState, opts ...ResourceOption) (*DnsZoneTransfersIncoming, error)public static DnsZoneTransfersIncoming Get(string name, Input<string> id, DnsZoneTransfersIncomingState? state, CustomResourceOptions? opts = null)public static DnsZoneTransfersIncoming get(String name, Output<String> id, DnsZoneTransfersIncomingState state, CustomResourceOptions options)resources:  _:    type: cloudflare:DnsZoneTransfersIncoming    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.
- AutoRefresh doubleSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- CheckedTime string
- The time for a specific event.
- CreatedTime string
- The time for a specific event.
- ModifiedTime string
- The time for a specific event.
- Name string
- Zone name.
- Peers List<string>
- A list of peer tags.
- SoaSerial double
- The serial number of the SOA for the given zone.
- ZoneId string
- AutoRefresh float64Seconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- CheckedTime string
- The time for a specific event.
- CreatedTime string
- The time for a specific event.
- ModifiedTime string
- The time for a specific event.
- Name string
- Zone name.
- Peers []string
- A list of peer tags.
- SoaSerial float64
- The serial number of the SOA for the given zone.
- ZoneId string
- autoRefresh DoubleSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- checkedTime String
- The time for a specific event.
- createdTime String
- The time for a specific event.
- modifiedTime String
- The time for a specific event.
- name String
- Zone name.
- peers List<String>
- A list of peer tags.
- soaSerial Double
- The serial number of the SOA for the given zone.
- zoneId String
- autoRefresh numberSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- checkedTime string
- The time for a specific event.
- createdTime string
- The time for a specific event.
- modifiedTime string
- The time for a specific event.
- name string
- Zone name.
- peers string[]
- A list of peer tags.
- soaSerial number
- The serial number of the SOA for the given zone.
- zoneId string
- auto_refresh_ floatseconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- checked_time str
- The time for a specific event.
- created_time str
- The time for a specific event.
- modified_time str
- The time for a specific event.
- name str
- Zone name.
- peers Sequence[str]
- A list of peer tags.
- soa_serial float
- The serial number of the SOA for the given zone.
- zone_id str
- autoRefresh NumberSeconds 
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
- checkedTime String
- The time for a specific event.
- createdTime String
- The time for a specific event.
- modifiedTime String
- The time for a specific event.
- name String
- Zone name.
- peers List<String>
- A list of peer tags.
- soaSerial Number
- The serial number of the SOA for the given zone.
- zoneId String
Import
$ pulumi import cloudflare:index/dnsZoneTransfersIncoming:DnsZoneTransfersIncoming example '<zone_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.
