Skip to content

Commit d1a3c77

Browse files
author
SDKAuto
committed
CodeGen from PR 20671 in Azure/azure-rest-api-specs
Merge a5a9c1e30356c18e62aa46af3f18cb7be51d0755 into 5552a893886b8323c807e3a342332c31cd9ab93c
1 parent 73d1b14 commit d1a3c77

File tree

24 files changed

+1258
-373
lines changed

24 files changed

+1258
-373
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/reservations/arm-reservations/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Release History
22

3+
## 7.2.0 (2022-09-12)
4+
5+
**Features**
6+
7+
- Added operation group CalculateRefund
8+
- Added operation group Return
9+
- Added operation Reservation.archive
10+
- Added operation Reservation.unarchive
11+
- Added Interface CalculateRefundPostOptionalParams
12+
- Added Interface CalculateRefundRequest
13+
- Added Interface CalculateRefundRequestProperties
14+
- Added Interface CalculateRefundResponse
15+
- Added Interface RefundBillingInformation
16+
- Added Interface RefundPolicyError
17+
- Added Interface RefundPolicyResult
18+
- Added Interface RefundPolicyResultProperty
19+
- Added Interface RefundRequest
20+
- Added Interface RefundRequestProperties
21+
- Added Interface RefundResponse
22+
- Added Interface RefundResponseProperties
23+
- Added Interface ReservationArchiveOptionalParams
24+
- Added Interface ReservationUnarchiveOptionalParams
25+
- Added Interface ReturnPostHeaders
26+
- Added Interface ReturnPostOptionalParams
27+
- Added Type Alias CalculateRefundPostResponse
28+
- Added Type Alias ReturnPostResponse
29+
- Class AzureReservationAPI has a new parameter calculateRefund
30+
- Class AzureReservationAPI has a new parameter return
31+
- Enum KnownErrorResponseCode has a new value RefundLimitExceeded
32+
- Enum KnownErrorResponseCode has a new value SelfServiceRefundNotSupported
33+
34+
335
## 7.1.0 (2022-04-20)
436

537
**Features**

sdk/reservations/arm-reservations/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Azure Service client library for JavaScript
1+
# AzureReservationApi client library for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client.
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureReservationApi client.
44

55
This API describe Azure Reservation
66

@@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
2424

2525
### Install the `@azure/arm-reservations` package
2626

27-
Install the Azure Service client library for JavaScript with `npm`:
27+
Install the AzureReservationApi client library for JavaScript with `npm`:
2828

2929
```bash
3030
npm install @azure/arm-reservations
3131
```
3232

3333
### Create and authenticate a `AzureReservationAPI`
3434

35-
To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
36-
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].
35+
To create a client object to access the AzureReservationApi API, you will need the `endpoint` of your AzureReservationApi resource and a `credential`. The AzureReservationApi client can use Azure Active Directory credentials to authenticate.
36+
You can find the endpoint for your AzureReservationApi resource in the [Azure Portal][azure_portal].
3737

3838
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3939

@@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
4343
npm install @azure/identity
4444
```
4545

46-
You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
46+
You will also need to **register a new AAD application and grant access to AzureReservationApi** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
4747
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4848

4949
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
@@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For
7272

7373
### AzureReservationAPI
7474

75-
`AzureReservationAPI` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.
75+
`AzureReservationAPI` is the primary interface for developers using the AzureReservationApi client library. Explore the methods on this client object to understand the different features of the AzureReservationApi service that you can access.
7676

7777
## Troubleshooting
7878

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d",
2+
"commit": "faed328d0f9c39355cfe8cc86346a68e6f4e7228",
33
"readme": "specification/reservations/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\reservations\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
4+
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/reservations/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
7-
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
7+
"use": "@autorest/typescript@6.0.0-rc.1"
88
}

0 commit comments

Comments
 (0)