Skip to content
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
26 changes: 15 additions & 11 deletions sdk/dns/arm-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Release History

## 5.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 6.0.0 (2023-02-10)

**Breaking 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": "84fd7ed5bc4bc5b35e065a3650f416cd6a5357bc",
"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/typescript@6.0.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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/dns/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.5"
}
14 changes: 3 additions & 11 deletions sdk/dns/arm-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DnsManagementClient.",
"version": "5.1.1",
"version": "6.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-dns?view=azure-node-preview"
}
}
"autoPublish": true
}
8 changes: 0 additions & 8 deletions sdk/dns/arm-dns/review/arm-dns.api.md
Original file line number Diff line number Diff line change
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 @@ -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
2 changes: 1 addition & 1 deletion sdk/dns/arm-dns/src/dnsManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class DnsManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-dns/5.1.1`;
const packageDetails = `azsdk-js-arm-dns/6.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
31 changes: 5 additions & 26 deletions sdk/dns/arm-dns/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,36 +371,21 @@ export type RecordSetsListAllByDnsZoneResponse = RecordSetListResult;

/** Optional parameters. */
export interface RecordSetsListByTypeNextOptionalParams
extends coreClient.OperationOptions {
/** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
top?: number;
/** The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> */
recordsetnamesuffix?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listByTypeNext operation. */
export type RecordSetsListByTypeNextResponse = RecordSetListResult;

/** Optional parameters. */
export interface RecordSetsListByDnsZoneNextOptionalParams
extends coreClient.OperationOptions {
/** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
top?: number;
/** The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> */
recordsetnamesuffix?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listByDnsZoneNext operation. */
export type RecordSetsListByDnsZoneNextResponse = RecordSetListResult;

/** Optional parameters. */
export interface RecordSetsListAllByDnsZoneNextOptionalParams
extends coreClient.OperationOptions {
/** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
top?: number;
/** The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> */
recordSetNameSuffix?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listAllByDnsZoneNext operation. */
export type RecordSetsListAllByDnsZoneNextResponse = RecordSetListResult;
Expand Down Expand Up @@ -463,20 +448,14 @@ export type ZonesListResponse = ZoneListResult;

/** Optional parameters. */
export interface ZonesListByResourceGroupNextOptionalParams
extends coreClient.OperationOptions {
/** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
top?: number;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listByResourceGroupNext operation. */
export type ZonesListByResourceGroupNextResponse = ZoneListResult;

/** Optional parameters. */
export interface ZonesListNextOptionalParams
extends coreClient.OperationOptions {
/** The maximum number of DNS zones to return. If not specified, returns up to 100 zones. */
top?: number;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listNext operation. */
export type ZonesListNextResponse = ZoneListResult;
Expand Down
15 changes: 0 additions & 15 deletions sdk/dns/arm-dns/src/operations/recordSets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -739,11 +739,6 @@ const listByTypeNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.top,
Parameters.recordsetnamesuffix
],
urlParameters: [
Parameters.$host,
Parameters.resourceGroupName,
Expand All @@ -766,11 +761,6 @@ const listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.top,
Parameters.recordsetnamesuffix
],
urlParameters: [
Parameters.$host,
Parameters.resourceGroupName,
Expand All @@ -792,11 +782,6 @@ const listAllByDnsZoneNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.top,
Parameters.recordSetNameSuffix
],
urlParameters: [
Parameters.$host,
Parameters.resourceGroupName,
Expand Down
2 changes: 0 additions & 2 deletions sdk/dns/arm-dns/src/operations/zones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.resourceGroupName,
Expand All @@ -538,7 +537,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
8 changes: 4 additions & 4 deletions sdk/dns/arm-dns/src/pagingHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export interface PageInfo {
const pageMap = new WeakMap<object, PageInfo>();

/**
* Given a result page from a pageable operation, returns a
* continuation token that can be used to begin paging from
* Given the last `.value` produced by the `byPage` iterator,
* returns a continuation token that can be used to begin paging from
* that point later.
* @param page A result object from calling .byPage() on a paged operation.
* @returns The continuation token that can be passed into byPage().
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
* @returns The continuation token that can be passed into byPage() during future calls.
*/
export function getContinuationToken(page: unknown): string | undefined {
if (typeof page !== "object" || page === null) {
Expand Down
10 changes: 2 additions & 8 deletions sdk/dns/arm-dns/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true,
"paths": {
"@azure/arm-dns": [
"./src/index"
]
}
"importHelpers": true
},
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"samples-dev/**/*.ts"
"./test/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down