1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getDnsZoneTransfersTsig
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.getDnsZoneTransfersTsig

Explore with Pulumi AI

Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleDnsZoneTransfersTsig = cloudflare.getDnsZoneTransfersTsig({
    accountId: "01a7362d577a6c3019a474fd6f485823",
    tsigId: "69cd1e104af3e6ed3cb344f263fd0d5a",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_dns_zone_transfers_tsig = cloudflare.get_dns_zone_transfers_tsig(account_id="01a7362d577a6c3019a474fd6f485823",
    tsig_id="69cd1e104af3e6ed3cb344f263fd0d5a")
Copy
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.LookupDnsZoneTransfersTsig(ctx, &cloudflare.LookupDnsZoneTransfersTsigArgs{
			AccountId: "01a7362d577a6c3019a474fd6f485823",
			TsigId:    pulumi.StringRef("69cd1e104af3e6ed3cb344f263fd0d5a"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleDnsZoneTransfersTsig = Cloudflare.GetDnsZoneTransfersTsig.Invoke(new()
    {
        AccountId = "01a7362d577a6c3019a474fd6f485823",
        TsigId = "69cd1e104af3e6ed3cb344f263fd0d5a",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetDnsZoneTransfersTsigArgs;
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) {
        final var exampleDnsZoneTransfersTsig = CloudflareFunctions.getDnsZoneTransfersTsig(GetDnsZoneTransfersTsigArgs.builder()
            .accountId("01a7362d577a6c3019a474fd6f485823")
            .tsigId("69cd1e104af3e6ed3cb344f263fd0d5a")
            .build());

    }
}
Copy
variables:
  exampleDnsZoneTransfersTsig:
    fn::invoke:
      function: cloudflare:getDnsZoneTransfersTsig
      arguments:
        accountId: 01a7362d577a6c3019a474fd6f485823
        tsigId: 69cd1e104af3e6ed3cb344f263fd0d5a
Copy

Using getDnsZoneTransfersTsig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDnsZoneTransfersTsig(args: GetDnsZoneTransfersTsigArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersTsigResult>
function getDnsZoneTransfersTsigOutput(args: GetDnsZoneTransfersTsigOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersTsigResult>
Copy
def get_dns_zone_transfers_tsig(account_id: Optional[str] = None,
                                tsig_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersTsigResult
def get_dns_zone_transfers_tsig_output(account_id: Optional[pulumi.Input[str]] = None,
                                tsig_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersTsigResult]
Copy
func LookupDnsZoneTransfersTsig(ctx *Context, args *LookupDnsZoneTransfersTsigArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersTsigResult, error)
func LookupDnsZoneTransfersTsigOutput(ctx *Context, args *LookupDnsZoneTransfersTsigOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersTsigResultOutput
Copy

> Note: This function is named LookupDnsZoneTransfersTsig in the Go SDK.

public static class GetDnsZoneTransfersTsig 
{
    public static Task<GetDnsZoneTransfersTsigResult> InvokeAsync(GetDnsZoneTransfersTsigArgs args, InvokeOptions? opts = null)
    public static Output<GetDnsZoneTransfersTsigResult> Invoke(GetDnsZoneTransfersTsigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDnsZoneTransfersTsigResult> getDnsZoneTransfersTsig(GetDnsZoneTransfersTsigArgs args, InvokeOptions options)
public static Output<GetDnsZoneTransfersTsigResult> getDnsZoneTransfersTsig(GetDnsZoneTransfersTsigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getDnsZoneTransfersTsig:getDnsZoneTransfersTsig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
TsigId string
AccountId This property is required. string
TsigId string
accountId This property is required. String
tsigId String
accountId This property is required. string
tsigId string
account_id This property is required. str
tsig_id str
accountId This property is required. String
tsigId String

getDnsZoneTransfersTsig Result

The following output properties are available:

AccountId string
Algo string
TSIG algorithm.
Id string
The ID of this resource.
Name string
TSIG key name.
Secret string
TSIG secret.
TsigId string
AccountId string
Algo string
TSIG algorithm.
Id string
The ID of this resource.
Name string
TSIG key name.
Secret string
TSIG secret.
TsigId string
accountId String
algo String
TSIG algorithm.
id String
The ID of this resource.
name String
TSIG key name.
secret String
TSIG secret.
tsigId String
accountId string
algo string
TSIG algorithm.
id string
The ID of this resource.
name string
TSIG key name.
secret string
TSIG secret.
tsigId string
account_id str
algo str
TSIG algorithm.
id str
The ID of this resource.
name str
TSIG key name.
secret str
TSIG secret.
tsig_id str
accountId String
algo String
TSIG algorithm.
id String
The ID of this resource.
name String
TSIG key name.
secret String
TSIG secret.
tsigId String

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi