Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns release #25785

Closed
wants to merge 1 commit into from
Closed
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
13 changes: 7 additions & 6 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions sdk/dns/arm-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Release History

## 5.2.0 (2023-05-08)

**Features**

## 5.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Interface RecordSetsListAllByDnsZoneNextOptionalParams no longer has parameter recordSetNameSuffix
- Interface RecordSetsListAllByDnsZoneNextOptionalParams no longer has parameter top
- Interface RecordSetsListByDnsZoneNextOptionalParams no longer has parameter recordsetnamesuffix
- Interface RecordSetsListByDnsZoneNextOptionalParams no longer has parameter top
- Interface RecordSetsListByTypeNextOptionalParams no longer has parameter recordsetnamesuffix
- Interface RecordSetsListByTypeNextOptionalParams no longer has parameter top
- Interface ZonesListByResourceGroupNextOptionalParams no longer has parameter top
- Interface ZonesListNextOptionalParams no longer has parameter top
## 5.1.0 (2022-11-22)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/dns/arm-dns/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 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
Expand Down
8 changes: 4 additions & 4 deletions sdk/dns/arm-dns/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "20df2424a278ca19437e437a7dbf3a7857a0dd9d",
"commit": "17aa6a1314de5aafef059d9aa2229901df506e75",
"readme": "specification/dns/resource-manager/readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\dns\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.3.20221108.1 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\dns\\resource-manager\\readme.md --use=@autorest/[email protected] --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected].0-rc.3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected]"
}
11 changes: 6 additions & 5 deletions sdk/dns/arm-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DnsManagementClient.",
"version": "5.1.1",
"version": "5.2.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/core-lro": "^2.5.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.6.1",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand All @@ -33,12 +33,13 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"mkdirp": "^2.1.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
Expand All @@ -49,7 +50,6 @@
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dns/arm-dns",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -111,6 +111,7 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dns/arm-dns",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
Expand Down
14 changes: 3 additions & 11 deletions sdk/dns/arm-dns/review/arm-dns.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import { OperationState } from '@azure/core-lro';
import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';
import { SimplePollerLike } from '@azure/core-lro';

// @public
export interface AaaaRecord {
Expand Down Expand Up @@ -181,8 +181,6 @@ export type RecordSetsGetResponse = RecordSet;

// @public
export interface RecordSetsListAllByDnsZoneNextOptionalParams extends coreClient.OperationOptions {
recordSetNameSuffix?: string;
top?: number;
}

// @public
Expand All @@ -199,8 +197,6 @@ export type RecordSetsListAllByDnsZoneResponse = RecordSetListResult;

// @public
export interface RecordSetsListByDnsZoneNextOptionalParams extends coreClient.OperationOptions {
recordsetnamesuffix?: string;
top?: number;
}

// @public
Expand All @@ -217,8 +213,6 @@ export type RecordSetsListByDnsZoneResponse = RecordSetListResult;

// @public
export interface RecordSetsListByTypeNextOptionalParams extends coreClient.OperationOptions {
recordsetnamesuffix?: string;
top?: number;
}

// @public
Expand Down Expand Up @@ -309,7 +303,7 @@ export interface ZoneListResult {

// @public
export interface Zones {
beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<void>;
createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: ZonesCreateOrUpdateOptionalParams): Promise<ZonesCreateOrUpdateResponse>;
get(resourceGroupName: string, zoneName: string, options?: ZonesGetOptionalParams): Promise<ZonesGetResponse>;
Expand Down Expand Up @@ -343,7 +337,6 @@ export type ZonesGetResponse = Zone;

// @public
export interface ZonesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
top?: number;
}

// @public
Expand All @@ -359,7 +352,6 @@ export type ZonesListByResourceGroupResponse = ZoneListResult;

// @public
export interface ZonesListNextOptionalParams extends coreClient.OperationOptions {
top?: number;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import {
DnsManagementClient
} from "@azure/arm-dns";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();

/**
* This sample demonstrates how to Returns the DNS records specified by the referencing targetResourceIds.
Expand All @@ -21,7 +24,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* x-ms-original-file: specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples/GetDnsResourceReference.json
*/
async function listZonesByResourceGroup() {
const subscriptionId = "subid";
const subscriptionId = process.env["DNS_SUBSCRIPTION_ID"] || "subid";
const parameters: DnsResourceReferenceRequest = {
targetResources: [
{
Expand All @@ -38,4 +41,8 @@ async function listZonesByResourceGroup() {
console.log(result);
}

listZonesByResourceGroup().catch(console.error);
async function main() {
listZonesByResourceGroup();
}

main().catch(console.error);
Loading