Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

DomainZone

Create a DomainZone Resource

new DomainZone(name: string, args: DomainZoneArgs, opts?: CustomResourceOptions);
@overload
def DomainZone(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               domain: Optional[str] = None,
               project_id: Optional[str] = None,
               subdomain: Optional[str] = None)
@overload
def DomainZone(resource_name: str,
               args: DomainZoneArgs,
               opts: Optional[ResourceOptions] = None)
func NewDomainZone(ctx *Context, name string, args DomainZoneArgs, opts ...ResourceOption) (*DomainZone, error)
public DomainZone(string name, DomainZoneArgs args, CustomResourceOptions? opts = null)
public DomainZone(String name, DomainZoneArgs args)
public DomainZone(String name, DomainZoneArgs args, CustomResourceOptions options)
type: scaleway:DomainZone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Domain string

The domain where the DNS zone will be created.

Subdomain string

The subdomain of the DNS zone to create.

ProjectId string

The project_id you want to attach the resource to

Domain string

The domain where the DNS zone will be created.

Subdomain string

The subdomain of the DNS zone to create.

ProjectId string

The project_id you want to attach the resource to

domain String

The domain where the DNS zone will be created.

subdomain String

The subdomain of the DNS zone to create.

projectId String

The project_id you want to attach the resource to

domain string

The domain where the DNS zone will be created.

subdomain string

The subdomain of the DNS zone to create.

projectId string

The project_id you want to attach the resource to

domain str

The domain where the DNS zone will be created.

subdomain str

The subdomain of the DNS zone to create.

project_id str

The project_id you want to attach the resource to

domain String

The domain where the DNS zone will be created.

subdomain String

The subdomain of the DNS zone to create.

projectId String

The project_id you want to attach the resource to

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Message string

Message

Ns List<string>

NameServer list for zone.

NsDefaults List<string>

NameServer default list for zone.

NsMasters List<string>

NameServer master list for zone.

Status string

The domain zone status.

UpdatedAt string

The date and time of the last update of the DNS zone.

Id string

The provider-assigned unique ID for this managed resource.

Message string

Message

Ns []string

NameServer list for zone.

NsDefaults []string

NameServer default list for zone.

NsMasters []string

NameServer master list for zone.

Status string

The domain zone status.

UpdatedAt string

The date and time of the last update of the DNS zone.

id String

The provider-assigned unique ID for this managed resource.

message String

Message

ns List<String>

NameServer list for zone.

nsDefaults List<String>

NameServer default list for zone.

nsMasters List<String>

NameServer master list for zone.

status String

The domain zone status.

updatedAt String

The date and time of the last update of the DNS zone.

id string

The provider-assigned unique ID for this managed resource.

message string

Message

ns string[]

NameServer list for zone.

nsDefaults string[]

NameServer default list for zone.

nsMasters string[]

NameServer master list for zone.

status string

The domain zone status.

updatedAt string

The date and time of the last update of the DNS zone.

id str

The provider-assigned unique ID for this managed resource.

message str

Message

ns Sequence[str]

NameServer list for zone.

ns_defaults Sequence[str]

NameServer default list for zone.

ns_masters Sequence[str]

NameServer master list for zone.

status str

The domain zone status.

updated_at str

The date and time of the last update of the DNS zone.

id String

The provider-assigned unique ID for this managed resource.

message String

Message

ns List<String>

NameServer list for zone.

nsDefaults List<String>

NameServer default list for zone.

nsMasters List<String>

NameServer master list for zone.

status String

The domain zone status.

updatedAt String

The date and time of the last update of the DNS zone.

Look up an Existing DomainZone Resource

Get an existing DomainZone 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?: DomainZoneState, opts?: CustomResourceOptions): DomainZone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        domain: Optional[str] = None,
        message: Optional[str] = None,
        ns: Optional[Sequence[str]] = None,
        ns_defaults: Optional[Sequence[str]] = None,
        ns_masters: Optional[Sequence[str]] = None,
        project_id: Optional[str] = None,
        status: Optional[str] = None,
        subdomain: Optional[str] = None,
        updated_at: Optional[str] = None) -> DomainZone
func GetDomainZone(ctx *Context, name string, id IDInput, state *DomainZoneState, opts ...ResourceOption) (*DomainZone, error)
public static DomainZone Get(string name, Input<string> id, DomainZoneState? state, CustomResourceOptions? opts = null)
public static DomainZone get(String name, Output<String> id, DomainZoneState 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:
Domain string

The domain where the DNS zone will be created.

Message string

Message

Ns List<string>

NameServer list for zone.

NsDefaults List<string>

NameServer default list for zone.

NsMasters List<string>

NameServer master list for zone.

ProjectId string

The project_id you want to attach the resource to

Status string

The domain zone status.

Subdomain string

The subdomain of the DNS zone to create.

UpdatedAt string

The date and time of the last update of the DNS zone.

Domain string

The domain where the DNS zone will be created.

Message string

Message

Ns []string

NameServer list for zone.

NsDefaults []string

NameServer default list for zone.

NsMasters []string

NameServer master list for zone.

ProjectId string

The project_id you want to attach the resource to

Status string

The domain zone status.

Subdomain string

The subdomain of the DNS zone to create.

UpdatedAt string

The date and time of the last update of the DNS zone.

domain String

The domain where the DNS zone will be created.

message String

Message

ns List<String>

NameServer list for zone.

nsDefaults List<String>

NameServer default list for zone.

nsMasters List<String>

NameServer master list for zone.

projectId String

The project_id you want to attach the resource to

status String

The domain zone status.

subdomain String

The subdomain of the DNS zone to create.

updatedAt String

The date and time of the last update of the DNS zone.

domain string

The domain where the DNS zone will be created.

message string

Message

ns string[]

NameServer list for zone.

nsDefaults string[]

NameServer default list for zone.

nsMasters string[]

NameServer master list for zone.

projectId string

The project_id you want to attach the resource to

status string

The domain zone status.

subdomain string

The subdomain of the DNS zone to create.

updatedAt string

The date and time of the last update of the DNS zone.

domain str

The domain where the DNS zone will be created.

message str

Message

ns Sequence[str]

NameServer list for zone.

ns_defaults Sequence[str]

NameServer default list for zone.

ns_masters Sequence[str]

NameServer master list for zone.

project_id str

The project_id you want to attach the resource to

status str

The domain zone status.

subdomain str

The subdomain of the DNS zone to create.

updated_at str

The date and time of the last update of the DNS zone.

domain String

The domain where the DNS zone will be created.

message String

Message

ns List<String>

NameServer list for zone.

nsDefaults List<String>

NameServer default list for zone.

nsMasters List<String>

NameServer master list for zone.

projectId String

The project_id you want to attach the resource to

status String

The domain zone status.

subdomain String

The subdomain of the DNS zone to create.

updatedAt String

The date and time of the last update of the DNS zone.

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.