1. Packages
  2. DNSimple
  3. API Docs
  4. Record
DNSimple v3.4.2 published on Thursday, Mar 21, 2024 by Pulumi

dnsimple.Record

Explore with Pulumi AI

dnsimple logo
DNSimple v3.4.2 published on Thursday, Mar 21, 2024 by Pulumi
    Deprecated: This resource is deprecated. It will be removed in the next major version.

    Create Record Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Record(name: string, args: RecordArgs, opts?: CustomResourceOptions);
    @overload
    def Record(resource_name: str,
               args: RecordArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Record(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               domain: Optional[str] = None,
               name: Optional[str] = None,
               priority: Optional[str] = None,
               ttl: Optional[str] = None,
               type: Optional[str] = None,
               value: Optional[str] = None)
    func NewRecord(ctx *Context, name string, args RecordArgs, opts ...ResourceOption) (*Record, error)
    public Record(string name, RecordArgs args, CustomResourceOptions? opts = null)
    public Record(String name, RecordArgs args)
    public Record(String name, RecordArgs args, CustomResourceOptions options)
    
    type: dnsimple:Record
    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 RecordArgs
    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 RecordArgs
    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 RecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RecordArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    

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

    Domain string
    Name string
    Type string
    Value string
    Priority string
    Ttl string
    Domain string
    Name string
    Type string
    Value string
    Priority string
    Ttl string
    domain String
    name String
    type String
    value String
    priority String
    ttl String
    domain string
    name string
    type RecordType
    value string
    priority string
    ttl string
    domain str
    name str
    type str
    value str
    priority str
    ttl str
    domain String
    name String
    type
    value String
    priority String
    ttl String

    Outputs

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

    DomainId string
    Hostname string
    Id string
    The provider-assigned unique ID for this managed resource.
    DomainId string
    Hostname string
    Id string
    The provider-assigned unique ID for this managed resource.
    domainId String
    hostname String
    id String
    The provider-assigned unique ID for this managed resource.
    domainId string
    hostname string
    id string
    The provider-assigned unique ID for this managed resource.
    domain_id str
    hostname str
    id str
    The provider-assigned unique ID for this managed resource.
    domainId String
    hostname String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Record Resource

    Get an existing Record 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?: RecordState, opts?: CustomResourceOptions): Record
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain: Optional[str] = None,
            domain_id: Optional[str] = None,
            hostname: Optional[str] = None,
            name: Optional[str] = None,
            priority: Optional[str] = None,
            ttl: Optional[str] = None,
            type: Optional[str] = None,
            value: Optional[str] = None) -> Record
    func GetRecord(ctx *Context, name string, id IDInput, state *RecordState, opts ...ResourceOption) (*Record, error)
    public static Record Get(string name, Input<string> id, RecordState? state, CustomResourceOptions? opts = null)
    public static Record get(String name, Output<String> id, RecordState 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
    DomainId string
    Hostname string
    Name string
    Priority string
    Ttl string
    Type string
    Value string
    Domain string
    DomainId string
    Hostname string
    Name string
    Priority string
    Ttl string
    Type string
    Value string
    domain String
    domainId String
    hostname String
    name String
    priority String
    ttl String
    type String
    value String
    domain string
    domainId string
    hostname string
    name string
    priority string
    ttl string
    type RecordType
    value string
    domain str
    domain_id str
    hostname str
    name str
    priority str
    ttl str
    type str
    value str
    domain String
    domainId String
    hostname String
    name String
    priority String
    ttl String
    type
    value String

    Package Details

    Repository
    DNSimple pulumi/pulumi-dnsimple
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dnsimple Terraform Provider.
    dnsimple logo
    DNSimple v3.4.2 published on Thursday, Mar 21, 2024 by Pulumi