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
21 changes: 11 additions & 10 deletions sdk/appconfiguration/arm-appconfiguration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 4.0.0 (2023-01-31)

**Breaking Changes**

## 3.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Interface ConfigurationStoresListByResourceGroupNextOptionalParams no longer has parameter skipToken
- Interface ConfigurationStoresListKeysNextOptionalParams no longer has parameter skipToken
- Interface ConfigurationStoresListNextOptionalParams no longer has parameter skipToken
- Interface KeyValuesListByConfigurationStoreNextOptionalParams no longer has parameter skipToken
- Interface OperationsListNextOptionalParams no longer has parameter skipToken


## 3.1.0 (2022-11-15)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/appconfiguration/arm-appconfiguration/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
10 changes: 5 additions & 5 deletions sdk/appconfiguration/arm-appconfiguration/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "60cd4dbca5214118b763d1edc835a44c8386283a",
"readme": "specification\\appconfiguration\\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\\appconfiguration\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221108.1 --generate-sample=true",
"commit": "e6ed9e5774705dac69ae30c592c08b1a82aaa511",
"readme": "specification/appconfiguration/resource-manager/readme.md",
"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/appconfiguration/resource-manager/readme.md --use=@autorest/[email protected].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/[email protected].3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.1",
"use": "@autorest/[email protected].5"
}
14 changes: 3 additions & 11 deletions sdk/appconfiguration/arm-appconfiguration/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 AppConfigurationManagementClient.",
"version": "3.1.1",
"version": "4.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-appconfiguration?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export type ConfigurationStoresGetResponse = ConfigurationStore;

// @public
export interface ConfigurationStoresListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
skipToken?: string;
}

// @public
Expand Down Expand Up @@ -169,7 +168,6 @@ export type ConfigurationStoresListDeletedResponse = DeletedConfigurationStoreLi

// @public
export interface ConfigurationStoresListKeysNextOptionalParams extends coreClient.OperationOptions {
skipToken?: string;
}

// @public
Expand All @@ -185,7 +183,6 @@ export type ConfigurationStoresListKeysResponse = ApiKeyListResult;

// @public
export interface ConfigurationStoresListNextOptionalParams extends coreClient.OperationOptions {
skipToken?: string;
}

// @public
Expand Down Expand Up @@ -348,7 +345,6 @@ export type KeyValuesGetResponse = KeyValue;

// @public
export interface KeyValuesListByConfigurationStoreNextOptionalParams extends coreClient.OperationOptions {
skipToken?: string;
}

// @public
Expand Down Expand Up @@ -496,7 +492,6 @@ export type OperationsCheckNameAvailabilityResponse = NameAvailabilityStatus;

// @public
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
skipToken?: string;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class AppConfigurationManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-appconfiguration/3.1.1`;
const packageDetails = `azsdk-js-arm-appconfiguration/4.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
25 changes: 5 additions & 20 deletions sdk/appconfiguration/arm-appconfiguration/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,30 +882,21 @@ export interface ConfigurationStoresPurgeDeletedOptionalParams

/** Optional parameters. */
export interface ConfigurationStoresListNextOptionalParams
extends coreClient.OperationOptions {
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
skipToken?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listNext operation. */
export type ConfigurationStoresListNextResponse = ConfigurationStoreListResult;

/** Optional parameters. */
export interface ConfigurationStoresListByResourceGroupNextOptionalParams
extends coreClient.OperationOptions {
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
skipToken?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listByResourceGroupNext operation. */
export type ConfigurationStoresListByResourceGroupNextResponse = ConfigurationStoreListResult;

/** Optional parameters. */
export interface ConfigurationStoresListKeysNextOptionalParams
extends coreClient.OperationOptions {
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
skipToken?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listKeysNext operation. */
export type ConfigurationStoresListKeysNextResponse = ApiKeyListResult;
Expand Down Expand Up @@ -943,10 +934,7 @@ export type OperationsRegionalCheckNameAvailabilityResponse = NameAvailabilitySt

/** Optional parameters. */
export interface OperationsListNextOptionalParams
extends coreClient.OperationOptions {
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
skipToken?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listNext operation. */
export type OperationsListNextResponse = OperationDefinitionListResult;
Expand Down Expand Up @@ -1052,10 +1040,7 @@ export interface KeyValuesDeleteOptionalParams

/** Optional parameters. */
export interface KeyValuesListByConfigurationStoreNextOptionalParams
extends coreClient.OperationOptions {
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
skipToken?: string;
}
extends coreClient.OperationOptions {}

/** Contains response data for the listByConfigurationStoreNext operation. */
export type KeyValuesListByConfigurationStoreNextResponse = KeyValueListResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1148,7 +1147,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1169,7 +1167,6 @@ const listKeysNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1191,7 +1188,6 @@ const listDeletedNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ const listByConfigurationStoreNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ const listByConfigurationStoreNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ const listByConfigurationStoreNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
8 changes: 4 additions & 4 deletions sdk/appconfiguration/arm-appconfiguration/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/appconfiguration/arm-appconfiguration/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-appconfiguration": [
"./src/index"
]
}
"importHelpers": true
},
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"samples-dev/**/*.ts"
"./test/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down