Scaleway
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 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
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.
- Ns
Defaults List<string> NameServer default list for zone.
- Ns
Masters List<string> NameServer master list for zone.
- Status string
The domain zone status.
- Updated
At 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.
- Ns
Defaults []string NameServer default list for zone.
- Ns
Masters []string NameServer master list for zone.
- Status string
The domain zone status.
- Updated
At 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.
- ns
Defaults List<String> NameServer default list for zone.
- ns
Masters List<String> NameServer master list for zone.
- status String
The domain zone status.
- updated
At 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.
- ns
Defaults string[] NameServer default list for zone.
- ns
Masters string[] NameServer master list for zone.
- status string
The domain zone status.
- updated
At 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.
- ns
Defaults List<String> NameServer default list for zone.
- ns
Masters List<String> NameServer master list for zone.
- status String
The domain zone status.
- updated
At 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.
- Domain string
The domain where the DNS zone will be created.
- Message string
Message
- Ns List<string>
NameServer list for zone.
- Ns
Defaults List<string> NameServer default list for zone.
- Ns
Masters List<string> NameServer master list for zone.
- Project
Id 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.
- Updated
At 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.
- Ns
Defaults []string NameServer default list for zone.
- Ns
Masters []string NameServer master list for zone.
- Project
Id 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.
- Updated
At 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.
- ns
Defaults List<String> NameServer default list for zone.
- ns
Masters List<String> NameServer master list for zone.
- project
Id 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.
- updated
At 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.
- ns
Defaults string[] NameServer default list for zone.
- ns
Masters string[] NameServer master list for zone.
- project
Id 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.
- updated
At 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.
- ns
Defaults List<String> NameServer default list for zone.
- ns
Masters List<String> NameServer master list for zone.
- project
Id 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.
- updated
At 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.