ns1 logo
NS1 v2.4.0, Jan 26 23

ns1.Dnsview

Create Dnsview Resource

new Dnsview(name: string, args?: DnsviewArgs, opts?: CustomResourceOptions);
@overload
def Dnsview(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            networks: Optional[Sequence[int]] = None,
            preference: Optional[int] = None,
            read_acls: Optional[Sequence[str]] = None,
            update_acls: Optional[Sequence[str]] = None,
            zones: Optional[Sequence[str]] = None)
@overload
def Dnsview(resource_name: str,
            args: Optional[DnsviewArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewDnsview(ctx *Context, name string, args *DnsviewArgs, opts ...ResourceOption) (*Dnsview, error)
public Dnsview(string name, DnsviewArgs? args = null, CustomResourceOptions? opts = null)
public Dnsview(String name, DnsviewArgs args)
public Dnsview(String name, DnsviewArgs args, CustomResourceOptions options)
type: ns1:Dnsview
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DnsviewArgs
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 DnsviewArgs
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 DnsviewArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DnsviewArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DnsviewArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Dnsview Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Dnsview resource accepts the following input properties:

Name string
Networks List<int>
Preference int
ReadAcls List<string>
UpdateAcls List<string>
Zones List<string>
Name string
Networks []int
Preference int
ReadAcls []string
UpdateAcls []string
Zones []string
name String
networks List<Integer>
preference Integer
readAcls List<String>
updateAcls List<String>
zones List<String>
name string
networks number[]
preference number
readAcls string[]
updateAcls string[]
zones string[]
name str
networks Sequence[int]
preference int
read_acls Sequence[str]
update_acls Sequence[str]
zones Sequence[str]
name String
networks List<Number>
preference Number
readAcls List<String>
updateAcls List<String>
zones List<String>

Outputs

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

CreatedAt int
Id string

The provider-assigned unique ID for this managed resource.

UpdatedAt int
CreatedAt int
Id string

The provider-assigned unique ID for this managed resource.

UpdatedAt int
createdAt Integer
id String

The provider-assigned unique ID for this managed resource.

updatedAt Integer
createdAt number
id string

The provider-assigned unique ID for this managed resource.

updatedAt number
created_at int
id str

The provider-assigned unique ID for this managed resource.

updated_at int
createdAt Number
id String

The provider-assigned unique ID for this managed resource.

updatedAt Number

Look up Existing Dnsview Resource

Get an existing Dnsview 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?: DnsviewState, opts?: CustomResourceOptions): Dnsview
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[int] = None,
        name: Optional[str] = None,
        networks: Optional[Sequence[int]] = None,
        preference: Optional[int] = None,
        read_acls: Optional[Sequence[str]] = None,
        update_acls: Optional[Sequence[str]] = None,
        updated_at: Optional[int] = None,
        zones: Optional[Sequence[str]] = None) -> Dnsview
func GetDnsview(ctx *Context, name string, id IDInput, state *DnsviewState, opts ...ResourceOption) (*Dnsview, error)
public static Dnsview Get(string name, Input<string> id, DnsviewState? state, CustomResourceOptions? opts = null)
public static Dnsview get(String name, Output<String> id, DnsviewState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
CreatedAt int
Name string
Networks List<int>
Preference int
ReadAcls List<string>
UpdateAcls List<string>
UpdatedAt int
Zones List<string>
CreatedAt int
Name string
Networks []int
Preference int
ReadAcls []string
UpdateAcls []string
UpdatedAt int
Zones []string
createdAt Integer
name String
networks List<Integer>
preference Integer
readAcls List<String>
updateAcls List<String>
updatedAt Integer
zones List<String>
createdAt number
name string
networks number[]
preference number
readAcls string[]
updateAcls string[]
updatedAt number
zones string[]
created_at int
name str
networks Sequence[int]
preference int
read_acls Sequence[str]
update_acls Sequence[str]
updated_at int
zones Sequence[str]
createdAt Number
name String
networks List<Number>
preference Number
readAcls List<String>
updateAcls List<String>
updatedAt Number
zones List<String>

Package Details

Repository
NS1 pulumi/pulumi-ns1
License
Apache-2.0
Notes

This Pulumi package is based on the ns1 Terraform Provider.