5.0.0 • Published 5 years ago
@datafire/azure_web_topleveldomains v5.0.0
@datafire/azure_web_topleveldomains
Client library for TopLevelDomains API Client
Installation and Usage
npm install --save @datafire/azure_web_topleveldomainslet azure_web_topleveldomains = require('@datafire/azure_web_topleveldomains').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});Description
Actions
TopLevelDomains_List
Get all top-level domains supported for registration.
azure_web_topleveldomains.TopLevelDomains_List({
"subscriptionId": "",
"api-version": ""
}, context)Input
- input
object- subscriptionId required
string: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - api-version required
string: API Version
- subscriptionId required
Output
- output TopLevelDomainCollection
TopLevelDomains_Get
Get details of a top-level domain.
azure_web_topleveldomains.TopLevelDomains_Get({
"name": "",
"subscriptionId": "",
"api-version": ""
}, context)Input
- input
object- name required
string: Name of the top-level domain. - subscriptionId required
string: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - api-version required
string: API Version
- name required
Output
- output TopLevelDomain
TopLevelDomains_ListAgreements
Gets all legal agreements that user needs to accept before purchasing a domain.
azure_web_topleveldomains.TopLevelDomains_ListAgreements({
"name": "",
"agreementOption": {},
"subscriptionId": "",
"api-version": ""
}, context)Input
- input
object- name required
string: Name of the top-level domain. - agreementOption required TopLevelDomainAgreementOption
- subscriptionId required
string: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - api-version required
string: API Version
- name required
Output
- output TldLegalAgreementCollection
Definitions
TldLegalAgreement
- TldLegalAgreement
object: Legal agreement for a top level domain.- agreementKey required
string: Unique identifier for the agreement. - content required
string: Agreement details. - title required
string: Agreement title. - url
string: URL where a copy of the agreement details is hosted.
- agreementKey required
TldLegalAgreementCollection
- TldLegalAgreementCollection
object: Collection of top-level domain legal agreements.- nextLink
string: Link to next page of resources. - value required
array: Collection of resources.- items TldLegalAgreement
- nextLink
TopLevelDomain
- TopLevelDomain
object: A top level domain object.- properties
object: TopLevelDomain resource specific properties- privacy
boolean: If true, then the top level domain supports domain privacy; otherwise, false.
- privacy
- id
string: Resource Id. - kind
string: Kind of resource. - name
string: Resource Name. - type
string: Resource type.
- properties
TopLevelDomainAgreementOption
- TopLevelDomainAgreementOption
object: Options for retrieving the list of top level domain legal agreements.- forTransfer
boolean: If true, then the list of agreements will include agreements for domain transfer as well; otherwise, false. - includePrivacy
boolean: If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false.
- forTransfer
TopLevelDomainCollection
- TopLevelDomainCollection
object: Collection of Top-level domains.- nextLink
string: Link to next page of resources. - value required
array: Collection of resources.- items TopLevelDomain
- nextLink