Skip to content

Commit a80a28b

Browse files
author
SDKAuto
committed
CodeGen from PR 33240 in Azure/azure-rest-api-specs
Merge 14032341d42b2377b3723791dcc9b79affcaf05b into cecb65f56ec5291e7fe88d62048bdb717e33e834
1 parent e4b9e57 commit a80a28b

File tree

85 files changed

+1778
-521
lines changed

Some content is hidden

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

85 files changed

+1778
-521
lines changed

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

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

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0-beta.1 (2025-03-17)
4+
5+
- Azure Resource Manager Traffic Controller client library for Java. This package contains Microsoft Azure SDK for Traffic Controller Management SDK. Traffic Controller Provider management API. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.IpAccessRule` was added
10+
11+
* `models.FrontendUpdateProperties` was added
12+
13+
* `models.IpAccessRuleAction` was added
14+
15+
* `models.IpAccessRulesPolicy` was added
16+
17+
* `models.IpAccessRulesSecurityPolicy` was added
18+
19+
#### `models.Frontend$Update` was modified
20+
21+
* `withProperties(models.FrontendUpdateProperties)` was added
22+
23+
#### `models.SecurityPolicyProperties` was modified
24+
25+
* `withIpAccessRulesPolicy(models.IpAccessRulesPolicy)` was added
26+
* `ipAccessRulesPolicy()` was added
827

9-
### Bugs Fixed
28+
#### `models.SecurityPolicyConfigurations` was modified
1029

11-
### Other Changes
30+
* `withIpAccessRulesSecurityPolicy(models.IpAccessRulesSecurityPolicy)` was added
31+
* `ipAccessRulesSecurityPolicy()` was added
32+
33+
#### `models.FrontendUpdate` was modified
34+
35+
* `properties()` was added
36+
* `withProperties(models.FrontendUpdateProperties)` was added
37+
38+
#### `models.SecurityPolicyUpdateProperties` was modified
39+
40+
* `withIpAccessRulesPolicy(models.IpAccessRulesPolicy)` was added
41+
* `ipAccessRulesPolicy()` was added
42+
43+
#### `models.FrontendProperties` was modified
44+
45+
* `securityPolicyConfigurations()` was added
46+
* `withSecurityPolicyConfigurations(models.SecurityPolicyConfigurations)` was added
1247

1348
## 1.1.0 (2025-02-06)
1449

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
TrafficControllerManager manager = TrafficControllerManager
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

@@ -107,5 +107,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
107107
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
108108
[coc]: https://opensource.microsoft.com/codeofconduct/
109109
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
110-
111-

0 commit comments

Comments
 (0)