powerdns.Provider
Explore with Pulumi AI
The provider type for the powerdns package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
ca_certificate: Optional[str] = None,
cache_mem_size: Optional[str] = None,
cache_requests: Optional[bool] = None,
cache_ttl: Optional[float] = None,
insecure_https: Optional[bool] = None,
server_url: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:powerdns
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 ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider 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 Provider resource accepts the following input properties:
- Api
Key string - REST API authentication key
- Server
Url string - Location of PowerDNS server
- Ca
Certificate string - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- Cache
Mem stringSize - Set cache memory size in MB
- Cache
Requests bool - Enable cache REST API requests
- Cache
Ttl double - Set cache TTL in seconds
- Insecure
Https bool - Disable verification of the PowerDNS server's TLS certificate
- Api
Key string - REST API authentication key
- Server
Url string - Location of PowerDNS server
- Ca
Certificate string - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- Cache
Mem stringSize - Set cache memory size in MB
- Cache
Requests bool - Enable cache REST API requests
- Cache
Ttl float64 - Set cache TTL in seconds
- Insecure
Https bool - Disable verification of the PowerDNS server's TLS certificate
- api
Key String - REST API authentication key
- server
Url String - Location of PowerDNS server
- ca
Certificate String - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- cache
Mem StringSize - Set cache memory size in MB
- cache
Requests Boolean - Enable cache REST API requests
- cache
Ttl Double - Set cache TTL in seconds
- insecure
Https Boolean - Disable verification of the PowerDNS server's TLS certificate
- api
Key string - REST API authentication key
- server
Url string - Location of PowerDNS server
- ca
Certificate string - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- cache
Mem stringSize - Set cache memory size in MB
- cache
Requests boolean - Enable cache REST API requests
- cache
Ttl number - Set cache TTL in seconds
- insecure
Https boolean - Disable verification of the PowerDNS server's TLS certificate
- api_
key str - REST API authentication key
- server_
url str - Location of PowerDNS server
- ca_
certificate str - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- cache_
mem_ strsize - Set cache memory size in MB
- cache_
requests bool - Enable cache REST API requests
- cache_
ttl float - Set cache TTL in seconds
- insecure_
https bool - Disable verification of the PowerDNS server's TLS certificate
- api
Key String - REST API authentication key
- server
Url String - Location of PowerDNS server
- ca
Certificate String - Content or path of a Root CA to be used to verify PowerDNS's SSL certificate
- cache
Mem StringSize - Set cache memory size in MB
- cache
Requests Boolean - Enable cache REST API requests
- cache
Ttl Number - Set cache TTL in seconds
- insecure
Https Boolean - Disable verification of the PowerDNS server's TLS certificate
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- powerdns pan-net/terraform-provider-powerdns
- License
- Notes
- This Pulumi package is based on the
powerdns
Terraform Provider.