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

cloudflare.AccountDnsSettingsInternalView

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 = new cloudflare.AccountDnsSettingsInternalView("example_account_dns_settings_internal_view", {
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        name: "my view",
        zones: ["372e67954025e0ba6aaa6d586b9e0b59"],
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_account_dns_settings_internal_view = cloudflare.AccountDnsSettingsInternalView("example_account_dns_settings_internal_view",
        account_id="023e105f4ecef8ad9ca31a8372d0c353",
        name="my view",
        zones=["372e67954025e0ba6aaa6d586b9e0b59"])
    
    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.NewAccountDnsSettingsInternalView(ctx, "example_account_dns_settings_internal_view", &cloudflare.AccountDnsSettingsInternalViewArgs{
    			AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			Name:      pulumi.String("my view"),
    			Zones: pulumi.StringArray{
    				pulumi.String("372e67954025e0ba6aaa6d586b9e0b59"),
    			},
    		})
    		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 = new Cloudflare.AccountDnsSettingsInternalView("example_account_dns_settings_internal_view", new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Name = "my view",
            Zones = new[]
            {
                "372e67954025e0ba6aaa6d586b9e0b59",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.AccountDnsSettingsInternalView;
    import com.pulumi.cloudflare.AccountDnsSettingsInternalViewArgs;
    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 exampleAccountDnsSettingsInternalView = new AccountDnsSettingsInternalView("exampleAccountDnsSettingsInternalView", AccountDnsSettingsInternalViewArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .name("my view")
                .zones("372e67954025e0ba6aaa6d586b9e0b59")
                .build());
    
        }
    }
    
    resources:
      exampleAccountDnsSettingsInternalView:
        type: cloudflare:AccountDnsSettingsInternalView
        name: example_account_dns_settings_internal_view
        properties:
          accountId: 023e105f4ecef8ad9ca31a8372d0c353
          name: my view
          zones:
            - 372e67954025e0ba6aaa6d586b9e0b59
    

    Create AccountDnsSettingsInternalView Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccountDnsSettingsInternalView(name: string, args: AccountDnsSettingsInternalViewArgs, opts?: CustomResourceOptions);
    @overload
    def AccountDnsSettingsInternalView(resource_name: str,
                                       args: AccountDnsSettingsInternalViewArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountDnsSettingsInternalView(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       account_id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       zones: Optional[Sequence[str]] = None)
    func NewAccountDnsSettingsInternalView(ctx *Context, name string, args AccountDnsSettingsInternalViewArgs, opts ...ResourceOption) (*AccountDnsSettingsInternalView, error)
    public AccountDnsSettingsInternalView(string name, AccountDnsSettingsInternalViewArgs args, CustomResourceOptions? opts = null)
    public AccountDnsSettingsInternalView(String name, AccountDnsSettingsInternalViewArgs args)
    public AccountDnsSettingsInternalView(String name, AccountDnsSettingsInternalViewArgs args, CustomResourceOptions options)
    
    type: cloudflare:AccountDnsSettingsInternalView
    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 AccountDnsSettingsInternalViewArgs
    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 AccountDnsSettingsInternalViewArgs
    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 AccountDnsSettingsInternalViewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountDnsSettingsInternalViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountDnsSettingsInternalViewArgs
    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 accountDnsSettingsInternalViewResource = new Cloudflare.AccountDnsSettingsInternalView("accountDnsSettingsInternalViewResource", new()
    {
        AccountId = "string",
        Name = "string",
        Zones = new[]
        {
            "string",
        },
    });
    
    example, err := cloudflare.NewAccountDnsSettingsInternalView(ctx, "accountDnsSettingsInternalViewResource", &cloudflare.AccountDnsSettingsInternalViewArgs{
    	AccountId: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Zones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var accountDnsSettingsInternalViewResource = new AccountDnsSettingsInternalView("accountDnsSettingsInternalViewResource", AccountDnsSettingsInternalViewArgs.builder()
        .accountId("string")
        .name("string")
        .zones("string")
        .build());
    
    account_dns_settings_internal_view_resource = cloudflare.AccountDnsSettingsInternalView("accountDnsSettingsInternalViewResource",
        account_id="string",
        name="string",
        zones=["string"])
    
    const accountDnsSettingsInternalViewResource = new cloudflare.AccountDnsSettingsInternalView("accountDnsSettingsInternalViewResource", {
        accountId: "string",
        name: "string",
        zones: ["string"],
    });
    
    type: cloudflare:AccountDnsSettingsInternalView
    properties:
        accountId: string
        name: string
        zones:
            - string
    

    AccountDnsSettingsInternalView 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 AccountDnsSettingsInternalView resource accepts the following input properties:

    AccountId string
    Identifier
    Name string
    The name of the view.
    Zones List<string>
    The list of zones linked to this view.
    AccountId string
    Identifier
    Name string
    The name of the view.
    Zones []string
    The list of zones linked to this view.
    accountId String
    Identifier
    name String
    The name of the view.
    zones List<String>
    The list of zones linked to this view.
    accountId string
    Identifier
    name string
    The name of the view.
    zones string[]
    The list of zones linked to this view.
    account_id str
    Identifier
    name str
    The name of the view.
    zones Sequence[str]
    The list of zones linked to this view.
    accountId String
    Identifier
    name String
    The name of the view.
    zones List<String>
    The list of zones linked to this view.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountDnsSettingsInternalView resource produces the following output properties:

    CreatedTime string
    When the view was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedTime string
    When the view was last modified.
    CreatedTime string
    When the view was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedTime string
    When the view was last modified.
    createdTime String
    When the view was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedTime String
    When the view was last modified.
    createdTime string
    When the view was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedTime string
    When the view was last modified.
    created_time str
    When the view was created.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_time str
    When the view was last modified.
    createdTime String
    When the view was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedTime String
    When the view was last modified.

    Look up Existing AccountDnsSettingsInternalView Resource

    Get an existing AccountDnsSettingsInternalView 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?: AccountDnsSettingsInternalViewState, opts?: CustomResourceOptions): AccountDnsSettingsInternalView
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_time: Optional[str] = None,
            modified_time: Optional[str] = None,
            name: Optional[str] = None,
            zones: Optional[Sequence[str]] = None) -> AccountDnsSettingsInternalView
    func GetAccountDnsSettingsInternalView(ctx *Context, name string, id IDInput, state *AccountDnsSettingsInternalViewState, opts ...ResourceOption) (*AccountDnsSettingsInternalView, error)
    public static AccountDnsSettingsInternalView Get(string name, Input<string> id, AccountDnsSettingsInternalViewState? state, CustomResourceOptions? opts = null)
    public static AccountDnsSettingsInternalView get(String name, Output<String> id, AccountDnsSettingsInternalViewState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:AccountDnsSettingsInternalView    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.
    The following state arguments are supported:
    AccountId string
    Identifier
    CreatedTime string
    When the view was created.
    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.
    AccountId string
    Identifier
    CreatedTime string
    When the view was created.
    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.
    accountId String
    Identifier
    createdTime String
    When the view was created.
    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.
    accountId string
    Identifier
    createdTime string
    When the view was created.
    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.
    account_id str
    Identifier
    created_time str
    When the view was created.
    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.
    accountId String
    Identifier
    createdTime String
    When the view was created.
    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.

    Import

    $ pulumi import cloudflare:index/accountDnsSettingsInternalView:AccountDnsSettingsInternalView example '<account_id>/<view_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 cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi