Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse
gandi.domains.DNSSecKey
Explore with Pulumi AI
Create DNSSecKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DNSSecKey(name: string, args: DNSSecKeyArgs, opts?: CustomResourceOptions);
@overload
def DNSSecKey(resource_name: str,
args: DNSSecKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DNSSecKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
algorithm: Optional[int] = None,
domain: Optional[str] = None,
public_key: Optional[str] = None,
type: Optional[str] = None)
func NewDNSSecKey(ctx *Context, name string, args DNSSecKeyArgs, opts ...ResourceOption) (*DNSSecKey, error)
public DNSSecKey(string name, DNSSecKeyArgs args, CustomResourceOptions? opts = null)
public DNSSecKey(String name, DNSSecKeyArgs args)
public DNSSecKey(String name, DNSSecKeyArgs args, CustomResourceOptions options)
type: gandi:domains:DNSSecKey
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 DNSSecKeyArgs
- 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 DNSSecKeyArgs
- 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 DNSSecKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DNSSecKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DNSSecKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dnssecKeyResource = new Gandi.Domains.DNSSecKey("dnssecKeyResource", new()
{
Algorithm = 0,
Domain = "string",
PublicKey = "string",
Type = "string",
});
example, err := domains.NewDNSSecKey(ctx, "dnssecKeyResource", &domains.DNSSecKeyArgs{
Algorithm: pulumi.Int(0),
Domain: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Type: pulumi.String("string"),
})
var dnssecKeyResource = new DNSSecKey("dnssecKeyResource", DNSSecKeyArgs.builder()
.algorithm(0)
.domain("string")
.publicKey("string")
.type("string")
.build());
dnssec_key_resource = gandi.domains.DNSSecKey("dnssecKeyResource",
algorithm=0,
domain="string",
public_key="string",
type="string")
const dnssecKeyResource = new gandi.domains.DNSSecKey("dnssecKeyResource", {
algorithm: 0,
domain: "string",
publicKey: "string",
type: "string",
});
type: gandi:domains:DNSSecKey
properties:
algorithm: 0
domain: string
publicKey: string
type: string
DNSSecKey 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 DNSSecKey resource accepts the following input properties:
- algorithm int
- DNSSEC algorithm type
- domain str
- Domain name
- public_
key str - DNSSEC public key
- type str
- DNSSEC key type
Outputs
All input properties are implicitly available as output properties. Additionally, the DNSSecKey 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.
Look up Existing DNSSecKey Resource
Get an existing DNSSecKey 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?: DNSSecKeyState, opts?: CustomResourceOptions): DNSSecKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
algorithm: Optional[int] = None,
domain: Optional[str] = None,
public_key: Optional[str] = None,
type: Optional[str] = None) -> DNSSecKey
func GetDNSSecKey(ctx *Context, name string, id IDInput, state *DNSSecKeyState, opts ...ResourceOption) (*DNSSecKey, error)
public static DNSSecKey Get(string name, Input<string> id, DNSSecKeyState? state, CustomResourceOptions? opts = null)
public static DNSSecKey get(String name, Output<String> id, DNSSecKeyState 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.
- algorithm int
- DNSSEC algorithm type
- domain str
- Domain name
- public_
key str - DNSSEC public key
- type str
- DNSSEC key type
Package Details
- Repository
- gandi pulumiverse/pulumi-gandi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gandi
Terraform Provider.