Skip to content

Commit 9ca29e5

Browse files
authored
Configurations: 'specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: '29bc17223449e7a865a6f38552eacfd213d812fd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' (Azure#45108)
1 parent 2f36488 commit 9ca29e5

File tree

5 files changed

+309
-234
lines changed

5 files changed

+309
-234
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-04-24)
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. Package api-version 2025-03-01-preview. 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+
* `ipAccessRulesSecurityPolicy()` was added
31+
* `withIpAccessRulesSecurityPolicy(models.IpAccessRulesSecurityPolicy)` was added
32+
33+
#### `models.FrontendUpdate` was modified
34+
35+
* `withProperties(models.FrontendUpdateProperties)` was added
36+
* `properties()` was added
37+
38+
#### `models.SecurityPolicyUpdateProperties` was modified
39+
40+
* `ipAccessRulesPolicy()` was added
41+
* `withIpAccessRulesPolicy(models.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: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Traffic Controller client library for Java.
44

5-
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).
5+
This package contains Microsoft Azure SDK for Traffic Controller Management SDK. Traffic Controller Provider management API. Package api-version 2025-03-01-preview. 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
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)