getAccountDnsSettingsInternalViews

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAccountDnsSettingsInternalViews = cloudflare.getAccountDnsSettingsInternalViews({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
name: {
contains: "view",
endswith: "ew",
exact: "my view",
startswith: "my",
},
order: "name",
zoneId: "ae29bea30e2e427ba9cd8d78b628177b",
zoneName: "www.example.com",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_account_dns_settings_internal_views = cloudflare.get_account_dns_settings_internal_views(account_id="023e105f4ecef8ad9ca31a8372d0c353",
name={
"contains": "view",
"endswith": "ew",
"exact": "my view",
"startswith": "my",
},
order="name",
zone_id="ae29bea30e2e427ba9cd8d78b628177b",
zone_name="www.example.com")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleAccountDnsSettingsInternalViews = Cloudflare.GetAccountDnsSettingsInternalViews.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Name = new Cloudflare.Inputs.GetAccountDnsSettingsInternalViewsNameInputArgs
{
Contains = "view",
Endswith = "ew",
Exact = "my view",
Startswith = "my",
},
Order = "name",
ZoneId = "ae29bea30e2e427ba9cd8d78b628177b",
ZoneName = "www.example.com",
});
});
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.LookupAccountDnsSettingsInternalViews(ctx, &cloudflare.LookupAccountDnsSettingsInternalViewsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
Name: cloudflare.GetAccountDnsSettingsInternalViewsName{
Contains: pulumi.StringRef("view"),
Endswith: pulumi.StringRef("ew"),
Exact: pulumi.StringRef("my view"),
Startswith: pulumi.StringRef("my"),
},
Order: pulumi.StringRef("name"),
ZoneId: pulumi.StringRef("ae29bea30e2e427ba9cd8d78b628177b"),
ZoneName: pulumi.StringRef("www.example.com"),
}, nil)
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.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetAccountDnsSettingsInternalViewsArgs;
import com.pulumi.cloudflare.inputs.GetAccountDnsSettingsInternalViewsNameArgs;
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 exampleAccountDnsSettingsInternalViews = CloudflareFunctions.getAccountDnsSettingsInternalViews(GetAccountDnsSettingsInternalViewsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.name(GetAccountDnsSettingsInternalViewsNameArgs.builder()
.contains("view")
.endswith("ew")
.exact("my view")
.startswith("my")
.build())
.order("name")
.zoneId("ae29bea30e2e427ba9cd8d78b628177b")
.zoneName("www.example.com")
.build());
}
}
variables:
exampleAccountDnsSettingsInternalViews:
fn::invoke:
function: cloudflare:getAccountDnsSettingsInternalViews
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
name:
contains: view
endswith: ew
exact: my view
startswith: my
order: name
zoneId: ae29bea30e2e427ba9cd8d78b628177b
zoneName: www.example.com

Return

A collection of values returned by getAccountDnsSettingsInternalViews.

Parameters

argument

A collection of arguments for invoking getAccountDnsSettingsInternalViews.


suspend fun getAccountDnsSettingsInternalViews(accountId: String, direction: String? = null, match: String? = null, maxItems: Int? = null, name: GetAccountDnsSettingsInternalViewsName? = null, order: String? = null, zoneId: String? = null, zoneName: String? = null): GetAccountDnsSettingsInternalViewsInvokeResult

Return

A collection of values returned by getAccountDnsSettingsInternalViews.

Parameters

accountId

Identifier

direction

Direction to order DNS views in. Available values: "asc", "desc".

match

Whether to match all search requirements or at least one (any). If set to all, acts like a logical AND between filters. If set to any, acts like a logical OR instead. Available values: "any", "all".

maxItems

Max items to fetch, default: 1000

name
order

Field to order DNS views by. Available values: "name", "createdon", "modifiedon".

zoneId

A zone ID that exists in the zones list for the view.

zoneName

A zone name that exists in the zones list for the view.

See also


Return

A collection of values returned by getAccountDnsSettingsInternalViews.

Parameters

argument

Builder for com.pulumi.cloudflare.kotlin.inputs.GetAccountDnsSettingsInternalViewsPlainArgs.

See also