1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAccountDnsSettingsInternalView
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getAccountDnsSettingsInternalView

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleAccountDnsSettingsInternalView = cloudflare.getAccountDnsSettingsInternalView({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        viewId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_account_dns_settings_internal_view = cloudflare.get_account_dns_settings_internal_view(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        view_id="023e105f4ecef8ad9ca31a8372d0c353")
    
    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.LookupAccountDnsSettingsInternalView(ctx, &cloudflare.LookupAccountDnsSettingsInternalViewArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			ViewId:    pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
    		}, nil)
    		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 exampleAccountDnsSettingsInternalView = Cloudflare.GetAccountDnsSettingsInternalView.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            ViewId = "023e105f4ecef8ad9ca31a8372d0c353",
        });
    
    });
    
    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.GetAccountDnsSettingsInternalViewArgs;
    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 exampleAccountDnsSettingsInternalView = CloudflareFunctions.getAccountDnsSettingsInternalView(GetAccountDnsSettingsInternalViewArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .viewId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleAccountDnsSettingsInternalView:
        fn::invoke:
          function: cloudflare:getAccountDnsSettingsInternalView
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            viewId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getAccountDnsSettingsInternalView

    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 getAccountDnsSettingsInternalView(args: GetAccountDnsSettingsInternalViewArgs, opts?: InvokeOptions): Promise<GetAccountDnsSettingsInternalViewResult>
    function getAccountDnsSettingsInternalViewOutput(args: GetAccountDnsSettingsInternalViewOutputArgs, opts?: InvokeOptions): Output<GetAccountDnsSettingsInternalViewResult>
    def get_account_dns_settings_internal_view(account_id: Optional[str] = None,
                                               filter: Optional[GetAccountDnsSettingsInternalViewFilter] = None,
                                               view_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetAccountDnsSettingsInternalViewResult
    def get_account_dns_settings_internal_view_output(account_id: Optional[pulumi.Input[str]] = None,
                                               filter: Optional[pulumi.Input[GetAccountDnsSettingsInternalViewFilterArgs]] = None,
                                               view_id: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetAccountDnsSettingsInternalViewResult]
    func LookupAccountDnsSettingsInternalView(ctx *Context, args *LookupAccountDnsSettingsInternalViewArgs, opts ...InvokeOption) (*LookupAccountDnsSettingsInternalViewResult, error)
    func LookupAccountDnsSettingsInternalViewOutput(ctx *Context, args *LookupAccountDnsSettingsInternalViewOutputArgs, opts ...InvokeOption) LookupAccountDnsSettingsInternalViewResultOutput

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

    public static class GetAccountDnsSettingsInternalView 
    {
        public static Task<GetAccountDnsSettingsInternalViewResult> InvokeAsync(GetAccountDnsSettingsInternalViewArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountDnsSettingsInternalViewResult> Invoke(GetAccountDnsSettingsInternalViewInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountDnsSettingsInternalViewResult> getAccountDnsSettingsInternalView(GetAccountDnsSettingsInternalViewArgs args, InvokeOptions options)
    public static Output<GetAccountDnsSettingsInternalViewResult> getAccountDnsSettingsInternalView(GetAccountDnsSettingsInternalViewArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAccountDnsSettingsInternalView:getAccountDnsSettingsInternalView
      arguments:
        # arguments dictionary

    The following arguments are supported:

    accountId String
    Identifier
    filter Property Map
    viewId String
    Identifier

    getAccountDnsSettingsInternalView Result

    The following output properties are available:

    AccountId string
    Identifier
    CreatedTime string
    When the view was created.
    Id string
    Identifier
    ModifiedTime string
    When the view was last modified.
    Name string
    The name of the view.
    Zones List<string>
    The list of zones linked to this view.
    Filter GetAccountDnsSettingsInternalViewFilter
    ViewId string
    Identifier
    AccountId string
    Identifier
    CreatedTime string
    When the view was created.
    Id string
    Identifier
    ModifiedTime string
    When the view was last modified.
    Name string
    The name of the view.
    Zones []string
    The list of zones linked to this view.
    Filter GetAccountDnsSettingsInternalViewFilter
    ViewId string
    Identifier
    accountId String
    Identifier
    createdTime String
    When the view was created.
    id String
    Identifier
    modifiedTime String
    When the view was last modified.
    name String
    The name of the view.
    zones List<String>
    The list of zones linked to this view.
    filter GetAccountDnsSettingsInternalViewFilter
    viewId String
    Identifier
    accountId string
    Identifier
    createdTime string
    When the view was created.
    id string
    Identifier
    modifiedTime string
    When the view was last modified.
    name string
    The name of the view.
    zones string[]
    The list of zones linked to this view.
    filter GetAccountDnsSettingsInternalViewFilter
    viewId string
    Identifier
    account_id str
    Identifier
    created_time str
    When the view was created.
    id str
    Identifier
    modified_time str
    When the view was last modified.
    name str
    The name of the view.
    zones Sequence[str]
    The list of zones linked to this view.
    filter GetAccountDnsSettingsInternalViewFilter
    view_id str
    Identifier
    accountId String
    Identifier
    createdTime String
    When the view was created.
    id String
    Identifier
    modifiedTime String
    When the view was last modified.
    name String
    The name of the view.
    zones List<String>
    The list of zones linked to this view.
    filter Property Map
    viewId String
    Identifier

    Supporting Types

    GetAccountDnsSettingsInternalViewFilter

    Direction string
    Direction to order DNS views in. Available values: "asc", "desc".
    Match string
    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".
    Name GetAccountDnsSettingsInternalViewFilterName
    Order string
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    ZoneId string
    A zone ID that exists in the zones list for the view.
    ZoneName string
    A zone name that exists in the zones list for the view.
    Direction string
    Direction to order DNS views in. Available values: "asc", "desc".
    Match string
    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".
    Name GetAccountDnsSettingsInternalViewFilterName
    Order string
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    ZoneId string
    A zone ID that exists in the zones list for the view.
    ZoneName string
    A zone name that exists in the zones list for the view.
    direction String
    Direction to order DNS views in. Available values: "asc", "desc".
    match String
    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".
    name GetAccountDnsSettingsInternalViewFilterName
    order String
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    zoneId String
    A zone ID that exists in the zones list for the view.
    zoneName String
    A zone name that exists in the zones list for the view.
    direction string
    Direction to order DNS views in. Available values: "asc", "desc".
    match string
    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".
    name GetAccountDnsSettingsInternalViewFilterName
    order string
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    zoneId string
    A zone ID that exists in the zones list for the view.
    zoneName string
    A zone name that exists in the zones list for the view.
    direction str
    Direction to order DNS views in. Available values: "asc", "desc".
    match str
    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".
    name GetAccountDnsSettingsInternalViewFilterName
    order str
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    zone_id str
    A zone ID that exists in the zones list for the view.
    zone_name str
    A zone name that exists in the zones list for the view.
    direction String
    Direction to order DNS views in. Available values: "asc", "desc".
    match String
    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".
    name Property Map
    order String
    Field to order DNS views by. Available values: "name", "createdon", "modifiedon".
    zoneId String
    A zone ID that exists in the zones list for the view.
    zoneName String
    A zone name that exists in the zones list for the view.

    GetAccountDnsSettingsInternalViewFilterName

    Contains string
    Substring of the DNS view name.
    Endswith string
    Suffix of the DNS view name.
    Exact string
    Exact value of the DNS view name.
    Startswith string
    Prefix of the DNS view name.
    Contains string
    Substring of the DNS view name.
    Endswith string
    Suffix of the DNS view name.
    Exact string
    Exact value of the DNS view name.
    Startswith string
    Prefix of the DNS view name.
    contains String
    Substring of the DNS view name.
    endswith String
    Suffix of the DNS view name.
    exact String
    Exact value of the DNS view name.
    startswith String
    Prefix of the DNS view name.
    contains string
    Substring of the DNS view name.
    endswith string
    Suffix of the DNS view name.
    exact string
    Exact value of the DNS view name.
    startswith string
    Prefix of the DNS view name.
    contains str
    Substring of the DNS view name.
    endswith str
    Suffix of the DNS view name.
    exact str
    Exact value of the DNS view name.
    startswith str
    Prefix of the DNS view name.
    contains String
    Substring of the DNS view name.
    endswith String
    Suffix of the DNS view name.
    exact String
    Exact value of the DNS view name.
    startswith String
    Prefix of the DNS view name.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi