@pulumi/dnsimple
Version:
A Pulumi package for creating and managing dnsimple cloud resources.
86 lines • 3.65 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRegistrantChangeCheckOutput = exports.getRegistrantChangeCheck = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* 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`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dnsimple from "@pulumi/dnsimple";
*
* const example = dnsimple.getRegistrantChangeCheck({
* domainId: "dnsimple.com",
* contactId: "1234",
* });
* ```
*
* The following arguments are supported:
*
* * `domainId` - (Required) The name or ID of the domain.
* * `contactId` - (Required) The ID of the contact you are planning to change to.
*
* The following additional attributes are exported:
*
* * `contactId` - The ID of the contact you are planning to change to.
* * `domainId` - The name or ID of the domain.
* * `extendedAttributes` - (List) A list of extended attributes that are required for the registrant change. (see below for nested schema)
* * `registryOwnerChange` - (Boolean) Whether the registrant change is going to result in an owner change at the registry.
*
* <a id="nestedblock--extended_attributes"></a>
*/
function getRegistrantChangeCheck(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck", {
"contactId": args.contactId,
"domainId": args.domainId,
}, opts);
}
exports.getRegistrantChangeCheck = getRegistrantChangeCheck;
/**
* 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`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dnsimple from "@pulumi/dnsimple";
*
* const example = dnsimple.getRegistrantChangeCheck({
* domainId: "dnsimple.com",
* contactId: "1234",
* });
* ```
*
* The following arguments are supported:
*
* * `domainId` - (Required) The name or ID of the domain.
* * `contactId` - (Required) The ID of the contact you are planning to change to.
*
* The following additional attributes are exported:
*
* * `contactId` - The ID of the contact you are planning to change to.
* * `domainId` - The name or ID of the domain.
* * `extendedAttributes` - (List) A list of extended attributes that are required for the registrant change. (see below for nested schema)
* * `registryOwnerChange` - (Boolean) Whether the registrant change is going to result in an owner change at the registry.
*
* <a id="nestedblock--extended_attributes"></a>
*/
function getRegistrantChangeCheckOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck", {
"contactId": args.contactId,
"domainId": args.domainId,
}, opts);
}
exports.getRegistrantChangeCheckOutput = getRegistrantChangeCheckOutput;
//# sourceMappingURL=getRegistrantChangeCheck.js.map