Skip to content

Commit 764477f

Browse files
authored
[Automation] Generate Fluent Lite from Swagger subscription#package-2021-10 (#47653)
1 parent 3efb4ec commit 764477f

File tree

152 files changed

+7253
-3943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+7253
-3943
lines changed

sdk/subscription/azure-resourcemanager-subscription/CHANGELOG.md

Lines changed: 187 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,197 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2026-01-08)
44

5-
### Features Added
5+
- Azure Resource Manager Subscription client library for Java. This package contains Microsoft Azure SDK for Subscription Management SDK. The subscription client. Package tag package-2021-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.PutAliasResponse` was removed
1010

11-
### Other Changes
11+
#### `models.TenantIdDescription` was removed
12+
13+
#### `models.Subscription` was removed
14+
15+
#### `models.PutAliasListResult` was removed
16+
17+
#### `models.SubscriptionState` was removed
18+
19+
#### `models.Tenants` was removed
20+
21+
#### `models.SpendingLimit` was removed
22+
23+
#### `models.SubscriptionListResult` was removed
24+
25+
#### `models.LocationListResult` was removed
26+
27+
#### `models.TenantListResult` was removed
28+
29+
#### `models.PutAliasResponseProperties` was removed
30+
31+
#### `models.Location` was removed
32+
33+
#### `models.Operation` was modified
34+
35+
* `Operation()` was removed
36+
* `validate()` was removed
37+
* `withDisplay(models.OperationDisplay)` was removed
38+
* `models.OperationDisplay display()` -> `models.OperationDisplay display()`
39+
* `withName(java.lang.String)` was removed
40+
* `java.lang.String name()` -> `java.lang.String name()`
41+
* `fromJson(com.azure.json.JsonReader)` was removed
42+
* `toJson(com.azure.json.JsonWriter)` was removed
43+
44+
#### `models.Subscriptions` was modified
45+
46+
* `listLocations(java.lang.String,com.azure.core.util.Context)` was removed
47+
* `list()` was removed
48+
* `get(java.lang.String)` was removed
49+
* `list(com.azure.core.util.Context)` was removed
50+
* `getWithResponse(java.lang.String,com.azure.core.util.Context)` was removed
51+
* `listLocations(java.lang.String)` was removed
52+
53+
#### `models.Alias` was modified
54+
55+
* `models.PutAliasResponse create(java.lang.String,models.PutAliasRequest)` -> `models.SubscriptionAliasResponse create(java.lang.String,models.PutAliasRequest)`
56+
* `models.PutAliasResponse get(java.lang.String)` -> `models.SubscriptionAliasResponse get(java.lang.String)`
57+
* `models.PutAliasListResult list()` -> `models.SubscriptionAliasListResult list()`
58+
* `models.PutAliasResponse create(java.lang.String,models.PutAliasRequest,com.azure.core.util.Context)` -> `models.SubscriptionAliasResponse create(java.lang.String,models.PutAliasRequest,com.azure.core.util.Context)`
59+
60+
#### `models.Operations` was modified
61+
62+
* `listWithResponse(com.azure.core.util.Context)` was removed
63+
* `models.OperationListResult list()` -> `com.azure.core.http.rest.PagedIterable list()`
64+
65+
#### `models.SubscriptionPolicies` was modified
66+
67+
* `SubscriptionPolicies()` was removed
68+
* `locationPlacementId()` was removed
69+
* `toJson(com.azure.json.JsonWriter)` was removed
70+
* `validate()` was removed
71+
* `quotaId()` was removed
72+
* `spendingLimit()` was removed
73+
* `fromJson(com.azure.json.JsonReader)` was removed
74+
75+
#### `models.OperationListResult` was modified
76+
77+
* `java.lang.String nextLink()` -> `java.lang.String nextLink()`
78+
* `java.util.List value()` -> `java.util.List value()`
79+
* `innerModel()` was removed
80+
81+
#### `SubscriptionManager` was modified
82+
83+
* `tenants()` was removed
84+
85+
#### `models.SubscriptionOperations` was modified
86+
87+
* `cancelWithResponse(java.lang.String,com.azure.core.util.Context)` was removed
88+
* `rename(java.lang.String,models.SubscriptionName)` was removed
89+
* `enable(java.lang.String)` was removed
90+
* `enableWithResponse(java.lang.String,com.azure.core.util.Context)` was removed
91+
* `cancel(java.lang.String)` was removed
92+
* `renameWithResponse(java.lang.String,models.SubscriptionName,com.azure.core.util.Context)` was removed
93+
94+
### Features Added
95+
96+
* `models.TenantPolicy` was added
97+
98+
* `models.GetTenantPolicyResponse` was added
99+
100+
* `models.BillingAccountPoliciesResponse` was added
101+
102+
* `models.ServiceTenantResponse` was added
103+
104+
* `models.AcceptOwnershipRequest` was added
105+
106+
* `models.SubscriptionAliasResponseProperties` was added
107+
108+
* `models.PutAliasRequestAdditionalProperties` was added
109+
110+
* `models.AcceptOwnershipRequestProperties` was added
111+
112+
* `models.SubscriptionOperationsGetHeaders` was added
113+
114+
* `models.SubscriptionAliasResponse` was added
115+
116+
* `models.SubscriptionAliasListResult` was added
117+
118+
* `models.GetTenantPolicyListResponse` was added
119+
120+
* `models.BillingAccounts` was added
121+
122+
* `models.SubscriptionOperationsGetResponse` was added
123+
124+
* `models.BillingAccountPoliciesResponseProperties` was added
125+
126+
* `models.PutTenantPolicyRequestProperties` was added
127+
128+
* `models.SubscriptionCreationResult` was added
129+
130+
* `models.Provisioning` was added
131+
132+
* `models.AcceptOwnershipStatusResponse` was added
133+
134+
* `models.AcceptOwnership` was added
135+
136+
#### `models.Operation` was modified
137+
138+
* `innerModel()` was added
139+
* `isDataAction()` was added
140+
141+
#### `models.PutAliasRequestProperties` was modified
142+
143+
* `withAdditionalProperties(models.PutAliasRequestAdditionalProperties)` was added
144+
* `additionalProperties()` was added
145+
146+
#### `models.Subscriptions` was modified
147+
148+
* `cancel(java.lang.String)` was added
149+
* `enable(java.lang.String)` was added
150+
* `acceptOwnershipStatus(java.lang.String)` was added
151+
* `enableWithResponse(java.lang.String,com.azure.core.util.Context)` was added
152+
* `renameWithResponse(java.lang.String,models.SubscriptionName,com.azure.core.util.Context)` was added
153+
* `cancelWithResponse(java.lang.String,com.azure.core.util.Context)` was added
154+
* `acceptOwnershipStatusWithResponse(java.lang.String,com.azure.core.util.Context)` was added
155+
* `rename(java.lang.String,models.SubscriptionName)` was added
156+
* `acceptOwnership(java.lang.String,models.AcceptOwnershipRequest,com.azure.core.util.Context)` was added
157+
* `acceptOwnership(java.lang.String,models.AcceptOwnershipRequest)` was added
158+
159+
#### `models.Operations` was modified
160+
161+
* `list(com.azure.core.util.Context)` was added
162+
163+
#### `models.OperationDisplay` was modified
164+
165+
* `description()` was added
166+
* `withDescription(java.lang.String)` was added
167+
168+
#### `models.SubscriptionPolicies` was modified
169+
170+
* `getPolicyForTenant()` was added
171+
* `addUpdatePolicyForTenant(models.PutTenantPolicyRequestProperties)` was added
172+
* `listPolicyForTenant()` was added
173+
* `addUpdatePolicyForTenantWithResponse(models.PutTenantPolicyRequestProperties,com.azure.core.util.Context)` was added
174+
* `listPolicyForTenant(com.azure.core.util.Context)` was added
175+
* `getPolicyForTenantWithResponse(com.azure.core.util.Context)` was added
176+
177+
#### `models.OperationListResult` was modified
178+
179+
* `OperationListResult()` was added
180+
* `toJson(com.azure.json.JsonWriter)` was added
181+
* `validate()` was added
182+
* `withNextLink(java.lang.String)` was added
183+
* `fromJson(com.azure.json.JsonReader)` was added
184+
* `withValue(java.util.List)` was added
185+
186+
#### `SubscriptionManager` was modified
187+
188+
* `billingAccounts()` was added
189+
* `subscriptionPolicies()` was added
190+
191+
#### `models.SubscriptionOperations` was modified
192+
193+
* `getWithResponse(java.lang.String,com.azure.core.util.Context)` was added
194+
* `get(java.lang.String)` was added
12195

13196
## 1.0.0 (2024-12-25)
14197

sdk/subscription/azure-resourcemanager-subscription/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Subscription client library for Java.
44

5-
This package contains Microsoft Azure SDK for Subscription Management SDK. The subscription client. Package tag package-2020-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for Subscription Management SDK. The subscription client. Package tag package-2021-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
SubscriptionManager manager = SubscriptionManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

0 commit comments

Comments
 (0)