Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions lib/services/dnsManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
88 changes: 44 additions & 44 deletions lib/services/dnsManagement/README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
---
uid: azure-arm-dns
summary: *content

---
# Microsoft Azure SDK for Node.js - DnsManagementClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features


## How to Install

```bash
npm install azure-arm-dns
```

## How to use

### Authentication, client creation and get recordSets as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const DnsManagementClient = require("azure-arm-dns");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new DnsManagementClient(creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const zoneName = "testzoneName";
const relativeRecordSetName = "testrelativeRecordSetName";
const recordType = "A";
return client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error ocurred:');
console.dir(err, {depth: null, colors: true});
});

## Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
---
uid: azure-arm-dns
summary: *content
---
# Microsoft Azure SDK for Node.js - DnsManagementClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**
## Features
## How to Install
```bash
npm install azure-arm-dns
```
## How to use
### Authentication, client creation and get recordSets as an example.
```javascript
const msRestAzure = require("ms-rest-azure");
const DnsManagementClient = require("azure-arm-dns");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new DnsManagementClient(creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const zoneName = "testzoneName";
const relativeRecordSetName = "testrelativeRecordSetName";
const recordType = "A";
return client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});
## Related projects
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
78 changes: 52 additions & 26 deletions lib/services/dnsManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export interface RecordSets {
/**
* Updates a record set within a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -120,7 +121,8 @@ export interface RecordSets {
/**
* Updates a record set within a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -235,7 +237,8 @@ export interface RecordSets {
/**
* Creates or updates a record set within a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -337,7 +340,8 @@ export interface RecordSets {
/**
* Creates or updates a record set within a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -458,7 +462,8 @@ export interface RecordSets {
/**
* Deletes a record set from a DNS zone. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -491,7 +496,8 @@ export interface RecordSets {
/**
* Deletes a record set from a DNS zone. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -542,7 +548,8 @@ export interface RecordSets {
/**
* Gets a record set.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -570,7 +577,8 @@ export interface RecordSets {
/**
* Gets a record set.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -617,7 +625,8 @@ export interface RecordSets {
/**
* Lists the record sets of a specified type in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -650,7 +659,8 @@ export interface RecordSets {
/**
* Lists the record sets of a specified type in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -702,7 +712,8 @@ export interface RecordSets {
/**
* Lists all record sets in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -731,7 +742,8 @@ export interface RecordSets {
/**
* Lists all record sets in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -779,7 +791,8 @@ export interface RecordSets {
/**
* Lists all record sets in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -808,7 +821,8 @@ export interface RecordSets {
/**
* Lists all record sets in a DNS zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1036,7 +1050,8 @@ export interface Zones {
/**
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1085,7 +1100,8 @@ export interface Zones {
/**
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1154,7 +1170,8 @@ export interface Zones {
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be
* deleted. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand All @@ -1180,7 +1197,8 @@ export interface Zones {
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be
* deleted. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1224,7 +1242,8 @@ export interface Zones {
* Gets a DNS zone. Retrieves the zone properties, but not the record sets
* within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand All @@ -1246,7 +1265,8 @@ export interface Zones {
* Gets a DNS zone. Retrieves the zone properties, but not the record sets
* within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1286,7 +1306,8 @@ export interface Zones {
/**
* Updates a DNS zone. Does not modify DNS records within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1315,7 +1336,8 @@ export interface Zones {
/**
* Updates a DNS zone. Does not modify DNS records within the zone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down Expand Up @@ -1363,7 +1385,8 @@ export interface Zones {
/**
* Lists the DNS zones within a resource group.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {object} [options] Optional Parameters.
*
Expand All @@ -1384,7 +1407,8 @@ export interface Zones {
/**
* Lists the DNS zones within a resource group.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {object} [options] Optional Parameters.
*
Expand Down Expand Up @@ -1482,7 +1506,8 @@ export interface Zones {
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be
* deleted. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand All @@ -1508,7 +1533,8 @@ export interface Zones {
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be
* deleted. This operation cannot be undone.
*
* @param {string} resourceGroupName The name of the resource group.
* @param {string} resourceGroupName The name of the resource group. The name
* is case insensitive.
*
* @param {string} zoneName The name of the DNS zone (without a terminating
* dot).
Expand Down
Loading