Pulumi DNSimple¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-dnsimple repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-dnsimple repo.
- class
pulumi_dnsimple.Provider(resource_name, opts=None, account=None, token=None, __props__=None, __name__=None, __opts__=None)¶ The provider type for the dnsimple package. By default, resources use package-wide configuration settings, however an explicit
Providerinstance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
account (pulumi.Input[str]) – The account for API operations.
token (pulumi.Input[str]) – The API v2 token for API operations.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_dnsimple.Record(resource_name, opts=None, domain=None, name=None, priority=None, ttl=None, type=None, value=None, __props__=None, __name__=None, __opts__=None)¶ Create a Record resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] domain: The domain to add the record to :param pulumi.Input[str] name: The name of the record :param pulumi.Input[float] priority: The priority of the record - only useful for some record types :param pulumi.Input[float] ttl: The TTL of the record :param pulumi.Input[str] type: The type of the record :param pulumi.Input[str] value: The value of the record
domain: pulumi.Output[str] = None¶The domain to add the record to
domain_id: pulumi.Output[str] = None¶The domain ID of the record
hostname: pulumi.Output[str] = None¶The FQDN of the record
name: pulumi.Output[str] = None¶The name of the record
priority: pulumi.Output[float] = None¶The priority of the record - only useful for some record types
ttl: pulumi.Output[float] = None¶The TTL of the record
type: pulumi.Output[str] = None¶The type of the record
value: pulumi.Output[str] = None¶The value of the record
- static
get(resource_name, id, opts=None, domain=None, domain_id=None, hostname=None, name=None, priority=None, ttl=None, type=None, value=None)¶ Get an existing Record resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
domain (pulumi.Input[str]) – The domain to add the record to
domain_id (pulumi.Input[str]) – The domain ID of the record
hostname (pulumi.Input[str]) – The FQDN of the record
name (pulumi.Input[str]) – The name of the record
priority (pulumi.Input[float]) – The priority of the record - only useful for some record types
ttl (pulumi.Input[float]) – The TTL of the record
type (pulumi.Input[str]) – The type of the record
value (pulumi.Input[str]) – The value of the record
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str