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

[AutoPR azure-resourcemanager-quota] Delete the relevant code for track1 #13341

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
187 changes: 183 additions & 4 deletions sdk/quota/azure-resourcemanager-quota/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,193 @@
# Release History

## 1.1.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2024-11-15)

- Azure Resource Manager quota client library for Java. This package contains Microsoft Azure SDK for quota Management SDK. Microsoft Azure Quota Resource Provider. This Swagger is for Azure Group Quota using GroupQuota Entity. Package tag package-2024-10-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

### Breaking Changes
* `models.GroupQuotaRequestBase` was added

* `models.GroupingId` was added

* `models.GroupQuotasEntityBase` was added

* `models.EnforcementState` was added

* `models.GroupQuotasEntityPatch` was added

* `models.GroupQuotasEnforcementResponse` was added

* `models.RequestState` was added

* `models.GroupQuotaLimits` was added

* `models.ResourceUsages` was added

* `models.AdditionalAttributes` was added

* `models.QuotaAllocationRequestBase` was added

* `models.GroupQuotaSubscriptions` was added

* `models.QuotaAllocationRequestStatusList` was added

* `models.AllocatedQuotaToSubscriptionList` was added

* `models.SubmittedResourceRequestStatusProperties` was added

* `models.SubmittedResourceRequestStatus` was added

* `models.SubmittedResourceRequestStatusList` was added

* `models.GroupQuotaList` was added

* `models.GroupingIdType` was added

* `models.GroupQuotasEnforcementListResponse` was added

* `models.EnvironmentType` was added

* `models.GroupQuotaSubscriptionRequestStatusProperties` was added

* `models.GroupQuotasEnforcementResponseProperties` was added

* `models.GroupQuotaLimitList` was added

* `models.GroupQuotaLimitListProperties` was added

* `models.GroupQuotaSubscriptionRequestStatusList` was added

* `models.GroupQuotaSubscriptionIdList` was added

* `models.GroupQuotaLocationSettings` was added

* `models.GroupQuotasEntity` was added

* `models.ResourceUsageList` was added

* `models.AdditionalAttributesPatch` was added

* `models.SubscriptionQuotaAllocationsListProperties` was added

* `models.GroupQuotasEntityBasePatch` was added

* `models.SubscriptionQuotaDetails` was added

* `models.GroupQuotas` was added

* `models.GroupQuotaSubscriptionRequests` was added

* `models.GroupQuotaSubscriptionRequestStatus` was added

* `models.SubscriptionQuotaAllocations` was added

* `models.GroupQuotaSubscriptionIdProperties` was added

* `models.SubscriptionQuotaAllocationsList` was added

* `models.GroupQuotaSubscriptionAllocationRequests` was added

* `models.QuotaAllocationRequestStatus` was added

* `models.GroupQuotaUsages` was added

* `models.LroResponseProperties` was added

* `models.LroResponse` was added

* `models.GroupQuotaUsagesBase` was added

* `models.GroupQuotaLimitsRequests` was added

* `models.GroupQuotaLimit` was added

* `models.GroupQuotaDetails` was added

* `models.GroupQuotaSubscriptionAllocations` was added

* `models.AllocatedToSubscription` was added

* `models.GroupQuotaSubscriptionId` was added

#### `models.UsagesLimits` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.QuotaProperties` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.QuotaRequestDetailsList` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.OperationDisplay` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.LimitJsonObject` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `limitObjectType()` was added

#### `models.OperationList` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.UsagesObject` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.ServiceErrorDetail` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `QuotaManager` was modified

* `groupQuotaSubscriptionRequests()` was added
* `groupQuotaUsages()` was added
* `groupQuotaLimits()` was added
* `groupQuotas()` was added
* `groupQuotaSubscriptions()` was added
* `groupQuotaLimitsRequests()` was added
* `groupQuotaSubscriptionAllocationRequests()` was added
* `groupQuotaLocationSettings()` was added
* `groupQuotaSubscriptionAllocations()` was added

#### `models.ResourceName` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.QuotaLimits` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.LimitObject` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `limitObjectType()` was added

#### `models.SubRequest` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

### Bugs Fixed
#### `models.UsagesProperties` was modified

### Other Changes
* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

## 1.1.0-beta.1 (2024-04-24)

Expand Down
15 changes: 6 additions & 9 deletions sdk/quota/azure-resourcemanager-quota/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager quota client library for Java.

This package contains Microsoft Azure SDK for quota Management SDK. Microsoft Azure Quota Resource Provider. This Swagger is for Azure Group Quota using GroupQuota Entity. Package tag package-2023-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for quota Management SDK. Microsoft Azure Quota Resource Provider. This Swagger is for Azure Group Quota using GroupQuota Entity. Package tag package-2024-10-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-quota</artifactId>
<version>1.1.0-beta.1</version>
<version>1.1.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,15 +45,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.
Microsoft Entra ID token authentication relies on the [credential class][azure_identity_credentials] from [Azure Identity][azure_identity] package.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

With above configuration, `azure` client can be authenticated using the following code:
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
Expand Down Expand Up @@ -97,6 +93,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
Expand Down
Loading