npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/azure_web_domains

v5.0.0

Published

DataFire integration for Domains API Client

Readme

@datafire/azure_web_domains

Client library for Domains API Client

Installation and Usage

npm install --save @datafire/azure_web_domains
let azure_web_domains = require('@datafire/azure_web_domains').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

Domains_CheckAvailability

Check if a domain is available for registration.

azure_web_domains.Domains_CheckAvailability({
  "identifier": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • identifier required object: Identifies an object.
      • name string: Name of the 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

Output

Domains_List

Get all domains in a subscription.

azure_web_domains.Domains_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

Output

Domains_GetControlCenterSsoRequest

Generate a single sign-on request for the domain management portal.

azure_web_domains.Domains_GetControlCenterSsoRequest({
  "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

Output

Domains_ListRecommendations

Get domain name recommendations based on keywords.

azure_web_domains.Domains_ListRecommendations({
  "parameters": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • parameters required DomainRecommendationSearchParameters
    • 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

Output

Domains_ListByResourceGroup

Get all domains in a resource group.

azure_web_domains.Domains_ListByResourceGroup({
  "resourceGroupName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • 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

Output

Domains_Delete

Delete a domain.

azure_web_domains.Domains_Delete({
  "resourceGroupName": "",
  "domainName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of the domain.
    • forceHardDeleteDomain boolean: Specify true to delete the domain immediately. The default is false which deletes the domain after 24 hours.
    • 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

Output

Output schema unknown

Domains_Get

Get a domain.

azure_web_domains.Domains_Get({
  "resourceGroupName": "",
  "domainName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of the 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

Output

Domains_Update

Creates or updates a domain.

azure_web_domains.Domains_Update({
  "resourceGroupName": "",
  "domainName": "",
  "domain": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of the domain.
    • domain required DomainPatchResource
    • 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

Output

Domains_CreateOrUpdate

Creates or updates a domain.

azure_web_domains.Domains_CreateOrUpdate({
  "resourceGroupName": "",
  "domainName": "",
  "domain": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of the domain.
    • domain required 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

Output

Domains_ListOwnershipIdentifiers

Lists domain ownership identifiers.

azure_web_domains.Domains_ListOwnershipIdentifiers({
  "resourceGroupName": "",
  "domainName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of 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

Output

Domains_DeleteOwnershipIdentifier

Delete ownership identifier for domain

azure_web_domains.Domains_DeleteOwnershipIdentifier({
  "resourceGroupName": "",
  "domainName": "",
  "name": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of domain.
    • name required string: Name of identifier.
    • 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

Output

Output schema unknown

Domains_GetOwnershipIdentifier

Get ownership identifier for domain

azure_web_domains.Domains_GetOwnershipIdentifier({
  "resourceGroupName": "",
  "domainName": "",
  "name": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of domain.
    • name required string: Name of identifier.
    • 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

Output

Domains_UpdateOwnershipIdentifier

Creates an ownership identifier for a domain or updates identifier details for an existing identifer

azure_web_domains.Domains_UpdateOwnershipIdentifier({
  "resourceGroupName": "",
  "domainName": "",
  "name": "",
  "domainOwnershipIdentifier": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of domain.
    • name required string: Name of identifier.
    • domainOwnershipIdentifier required DomainOwnershipIdentifier
    • 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

Output

Domains_CreateOrUpdateOwnershipIdentifier

Creates an ownership identifier for a domain or updates identifier details for an existing identifer

azure_web_domains.Domains_CreateOrUpdateOwnershipIdentifier({
  "resourceGroupName": "",
  "domainName": "",
  "name": "",
  "domainOwnershipIdentifier": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of domain.
    • name required string: Name of identifier.
    • domainOwnershipIdentifier required DomainOwnershipIdentifier
    • 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

Output

Domains_Renew

Renew a domain.

azure_web_domains.Domains_Renew({
  "resourceGroupName": "",
  "domainName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of the resource group to which the resource belongs.
    • domainName required string: Name of the 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

Output

Output schema unknown

Definitions

Address

  • Address object: Address information for domain registration.
    • address1 required string: First line of an Address.
    • address2 string: The second line of the Address. Optional.
    • city required string: The city for the address.
    • country required string: The country for the address.
    • postalCode required string: The postal code for the address.
    • state required string: The state or province for the address.

Contact

  • Contact object: Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois
    • addressMailing Address
    • email required string: Email address.
    • fax string: Fax number.
    • jobTitle string: Job title.
    • nameFirst required string: First name.
    • nameLast required string: Last name.
    • nameMiddle string: Middle name.
    • organization string: Organization contact belongs to.
    • phone required string: Phone number.

Domain

  • Domain object: Information about a domain.
    • properties object: Domain resource specific properties
      • authCode string
      • autoRenew boolean: true if the domain should be automatically renewed; otherwise, false.
      • consent required DomainPurchaseConsent
      • contactAdmin required Contact
      • contactBilling required Contact
      • contactRegistrant required Contact
      • contactTech required Contact
      • createdTime string: Domain creation timestamp.
      • dnsType string (values: AzureDns, DefaultDomainRegistrarDns): Current DNS type
      • dnsZoneId string: Azure DNS Zone to use
      • domainNotRenewableReasons array: Reasons why domain is not renewable.
        • items string (values: RegistrationStatusNotSupportedForRenewal, ExpirationNotInRenewalTimeRange, SubscriptionNotActive)
      • expirationTime string: Domain expiration timestamp.
      • lastRenewedTime string: Timestamp when the domain was renewed last time.
      • managedHostNames array: All hostnames derived from the domain and assigned to Azure resources.
      • nameServers array: Name servers.
        • items string
      • privacy boolean: true if domain privacy is enabled for this domain; otherwise, false.
      • provisioningState string (values: Succeeded, Failed, Canceled, InProgress, Deleting): Domain provisioning state.
      • readyForDnsRecordManagement boolean: true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and
      • registrationStatus string (values: Active, Awaiting, Cancelled, Confiscated, Disabled, Excluded, Expired, Failed, Held, Locked, Parked, Pending, Reserved, Reverted, Suspended, Transferred, Unknown, Unlocked, Unparked, Updated, JsonConverterFailed): Domain registration status.
      • targetDnsType string (values: AzureDns, DefaultDomainRegistrarDns): Target DNS type (would be used for migration)
    • id string: Resource Id.
    • kind string: Kind of resource.
    • location required string: Resource Location.
    • name string: Resource Name.
    • tags object: Resource tags.
    • type string: Resource type.

DomainAvailablilityCheckResult

  • DomainAvailablilityCheckResult object: Domain availability check result.
    • available boolean: true if domain can be purchased using CreateDomain API; otherwise, false.
    • domainType string (values: Regular, SoftDeleted): Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything.
    • name string: Name of the domain.

DomainCollection

  • DomainCollection object: Collection of domains.
    • nextLink string: Link to next page of resources.
    • value required array: Collection of resources.

DomainControlCenterSsoRequest

  • DomainControlCenterSsoRequest object: Single sign-on request information for domain management.
    • postParameterKey string: Post parameter key.
    • postParameterValue string: Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value.
    • url string: URL where the single sign-on request is to be made.

DomainOwnershipIdentifier

  • DomainOwnershipIdentifier object: Domain ownership Identifier.
    • properties object: DomainOwnershipIdentifier resource specific properties
      • ownershipId string: Ownership Id.
    • id string: Resource Id.
    • kind string: Kind of resource.
    • name string: Resource Name.
    • type string: Resource type.

DomainOwnershipIdentifierCollection

  • DomainOwnershipIdentifierCollection object: Collection of domain ownership identifiers.
    • nextLink string: Link to next page of resources.
    • value required array: Collection of resources.

DomainPatchResource

  • DomainPatchResource object: ARM resource for a domain.
    • properties object: DomainPatchResource resource specific properties
      • authCode string
      • autoRenew boolean: true if the domain should be automatically renewed; otherwise, false.
      • consent required DomainPurchaseConsent
      • contactAdmin required Contact
      • contactBilling required Contact
      • contactRegistrant required Contact
      • contactTech required Contact
      • createdTime string: Domain creation timestamp.
      • dnsType string (values: AzureDns, DefaultDomainRegistrarDns): Current DNS type
      • dnsZoneId string: Azure DNS Zone to use
      • domainNotRenewableReasons array: Reasons why domain is not renewable.
        • items string (values: RegistrationStatusNotSupportedForRenewal, ExpirationNotInRenewalTimeRange, SubscriptionNotActive)
      • expirationTime string: Domain expiration timestamp.
      • lastRenewedTime string: Timestamp when the domain was renewed last time.
      • managedHostNames array: All hostnames derived from the domain and assigned to Azure resources.
      • nameServers array: Name servers.
        • items string
      • privacy boolean: true if domain privacy is enabled for this domain; otherwise, false.
      • provisioningState string (values: Succeeded, Failed, Canceled, InProgress, Deleting): Domain provisioning state.
      • readyForDnsRecordManagement boolean: true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and
      • registrationStatus string (values: Active, Awaiting, Cancelled, Confiscated, Disabled, Excluded, Expired, Failed, Held, Locked, Parked, Pending, Reserved, Reverted, Suspended, Transferred, Unknown, Unlocked, Unparked, Updated, JsonConverterFailed): Domain registration status.
      • targetDnsType string (values: AzureDns, DefaultDomainRegistrarDns): Target DNS type (would be used for migration)
    • id string: Resource Id.
    • kind string: Kind of resource.
    • name string: Resource Name.
    • type string: Resource type.

DomainPurchaseConsent

  • DomainPurchaseConsent object: Domain purchase consent object, representing acceptance of applicable legal agreements.
    • agreedAt string: Timestamp when the agreements were accepted.
    • agreedBy string: Client IP address.
    • agreementKeys array: List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
      • items string

DomainRecommendationSearchParameters

  • DomainRecommendationSearchParameters object: Domain recommendation search parameters.
    • keywords string: Keywords to be used for generating domain recommendations.
    • maxDomainRecommendations integer: Maximum number of recommendations.

HostName

  • HostName object: Details of a hostname derived from a domain.
    • azureResourceName string: Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
    • azureResourceType string (values: Website, TrafficManager): Type of the Azure resource the hostname is assigned to.
    • customHostNameDnsRecordType string (values: CName, A): Type of the DNS record.
    • hostNameType string (values: Verified, Managed): Type of the hostname.
    • name string: Name of the hostname.
    • siteNames array: List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
      • items string

NameIdentifierCollection

  • NameIdentifierCollection object: Collection of domain name identifiers.
    • nextLink string: Link to next page of resources.
    • value required array: Collection of resources.
      • items object: Identifies an object.
        • name string: Name of the object.