1. Packages
  2. Dnsimple Provider
  3. API Docs
  4. getRegistrantChangeCheck
DNSimple v4.1.2 published on Tuesday, Sep 24, 2024 by Pulumi

dnsimple.getRegistrantChangeCheck

Explore with Pulumi AI

dnsimple logo
DNSimple v4.1.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Get information on the requirements of a registrant change.

    Note: The registrant change API is currently in developer preview and is subject to change.

    Get registrant change requirements for the dnsimple.com domain and the contact with ID 1234:

    import * as pulumi from "@pulumi/pulumi";
    import * as dnsimple from "@pulumi/dnsimple";
    
    const example = dnsimple.getRegistrantChangeCheck({
        domainId: "dnsimple.com",
        contactId: "1234",
    });
    
    import pulumi
    import pulumi_dnsimple as dnsimple
    
    example = dnsimple.get_registrant_change_check(domain_id="dnsimple.com",
        contact_id="1234")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dnsimple.GetRegistrantChangeCheck(ctx, &dnsimple.GetRegistrantChangeCheckArgs{
    			DomainId:  "dnsimple.com",
    			ContactId: "1234",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DNSimple = Pulumi.DNSimple;
    
    return await Deployment.RunAsync(() => 
    {
        var example = DNSimple.GetRegistrantChangeCheck.Invoke(new()
        {
            DomainId = "dnsimple.com",
            ContactId = "1234",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dnsimple.DnsimpleFunctions;
    import com.pulumi.dnsimple.inputs.GetRegistrantChangeCheckArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = DnsimpleFunctions.getRegistrantChangeCheck(GetRegistrantChangeCheckArgs.builder()
                .domainId("dnsimple.com")
                .contactId("1234")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: dnsimple:getRegistrantChangeCheck
          Arguments:
            domainId: dnsimple.com
            contactId: '1234'
    

    The following arguments are supported:

    • domain_id - (Required) The name or ID of the domain.
    • contact_id - (Required) The ID of the contact you are planning to change to.

    The following additional attributes are exported:

    • contact_id - The ID of the contact you are planning to change to.
    • domain_id - The name or ID of the domain.
    • extended_attributes - (List) A list of extended attributes that are required for the registrant change. (see below for nested schema)
    • registry_owner_change - (Boolean) Whether the registrant change is going to result in an owner change at the registry.

    Using getRegistrantChangeCheck

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRegistrantChangeCheck(args: GetRegistrantChangeCheckArgs, opts?: InvokeOptions): Promise<GetRegistrantChangeCheckResult>
    function getRegistrantChangeCheckOutput(args: GetRegistrantChangeCheckOutputArgs, opts?: InvokeOptions): Output<GetRegistrantChangeCheckResult>
    def get_registrant_change_check(contact_id: Optional[str] = None,
                                    domain_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetRegistrantChangeCheckResult
    def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[str]] = None,
                                    domain_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetRegistrantChangeCheckResult]
    func GetRegistrantChangeCheck(ctx *Context, args *GetRegistrantChangeCheckArgs, opts ...InvokeOption) (*GetRegistrantChangeCheckResult, error)
    func GetRegistrantChangeCheckOutput(ctx *Context, args *GetRegistrantChangeCheckOutputArgs, opts ...InvokeOption) GetRegistrantChangeCheckResultOutput

    > Note: This function is named GetRegistrantChangeCheck in the Go SDK.

    public static class GetRegistrantChangeCheck 
    {
        public static Task<GetRegistrantChangeCheckResult> InvokeAsync(GetRegistrantChangeCheckArgs args, InvokeOptions? opts = null)
        public static Output<GetRegistrantChangeCheckResult> Invoke(GetRegistrantChangeCheckInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegistrantChangeCheckResult> getRegistrantChangeCheck(GetRegistrantChangeCheckArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ContactId string
    DomainId string
    ContactId string
    DomainId string
    contactId String
    domainId String
    contactId string
    domainId string
    contactId String
    domainId String

    getRegistrantChangeCheck Result

    The following output properties are available:

    Supporting Types

    GetRegistrantChangeCheckExtendedAttribute

    GetRegistrantChangeCheckExtendedAttributeOption

    Description string
    Title string
    Value string
    Description string
    Title string
    Value string
    description String
    title String
    value String
    description string
    title string
    value string
    description String
    title String
    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 v4.1.2 published on Tuesday, Sep 24, 2024 by Pulumi