Skip to content

Commit be19e68

Browse files
committed
Configurations: 'specification/security/resource-manager/Microsoft.Security/Security/tspconfig.yaml', and CommitSHA: '61ef1085014acf8197d8b44e9dec699ef635a750' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6273920 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
1 parent 02316a0 commit be19e68

1,425 files changed

Lines changed: 120561 additions & 30899 deletions

File tree

Some content is hidden

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

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

Lines changed: 1385 additions & 4 deletions
Large diffs are not rendered by default.

sdk/security/azure-resourcemanager-security/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 Security client library for Java.
44

5-
This package contains Microsoft Azure SDK for Security Management SDK. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3. 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 Security Management SDK. API spec for Microsoft.Security (Azure Security Center) alerts resource provider. Package api-version AlertsAPI: 2022-01-01, AlertsSuppressionRulesAPI: 2019-01-01-preview, ApiCollectionsAPI: 2023-11-15, ApplicationsAPI: 2022-07-01-preview, AssessmentAPI: 2025-05-04, ATPSettingsAPI: 2019-01-01, AutomationsAPI: 2023-12-01-preview, ComplianceResultsAPI: 2017-08-01, DefenderForStorageAPI: 2025-09-01-preview, GovernanceAPI: 2022-01-01-preview, HealthReportsAPI: 2023-05-01-preview, IoTSecurityAPI: 2019-08-01, LegacySettingsAPI: 2017-08-01-preview, LocationsAPI: 2015-06-01-preview, MdeOnboardingAPI: 2021-10-01-preview, OperationsAPI: 2025-10-01-preview, PricingsAPI: 2024-01-01, PrivateLinksAPI: 2026-01-01, RegulatoryComplianceAPI: 2019-01-01-preview, SecureScoreAPI: 2020-01-01, SecurityConnectorsAPI: 2024-08-01-preview, SecurityConnectorsDevOpsAPI: 2025-11-01-preview, SecurityOperatorsAPI: 2023-01-01-preview, SecuritySolutionsAPI: 2020-01-01, SecurityStandardsAPI: 2024-08-01, SensitivitySettingsAPI: 2023-02-15-preview, ServerVulnerabilityAssessmentsSettingsAPI: 2023-05-01, SettingsAPI: 2022-05-01, SqlVulnerabilityAssessmentsAPI: 2026-04-01-preview, StandardsAPI: 2021-08-01-preview, SubAssessmentsAPI: 2019-01-01-preview, TasksAPI: 2015-06-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
SecurityManager manager = SecurityManager
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)