Skip to content

Commit 78e2d70

Browse files
generated from typespec:360e572ac487addd26649b53be64f25dbf2799cc
1 parent f707ad1 commit 78e2d70

737 files changed

Lines changed: 210965 additions & 108271 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-mgmt-security/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 8.0.0b2 (2026-04-23)
3+
## 8.0.0b2 (2026-04-24)
44

55
skip changelog generation
66

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
11
{
2-
"commit": "f25aaa2c654cc4c873be6004a83d09aecab082ad",
2+
"apiVersions": {
3+
"ATPSettingsAPI": "2019-01-01",
4+
"AlertsAPI": "2022-01-01",
5+
"AlertsSuppressionRulesAPI": "2019-01-01-preview",
6+
"ApiCollectionsAPI": "2023-11-15",
7+
"ApplicationsAPI": "2022-07-01-preview",
8+
"AssessmentAPI": "2025-05-04",
9+
"AutomationsAPI": "2023-12-01-preview",
10+
"ComplianceResultsAPI": "2017-08-01",
11+
"DefenderForStorageAPI": "2025-09-01-preview",
12+
"GovernanceAPI": "2022-01-01-preview",
13+
"HealthReportsAPI": "2023-05-01-preview",
14+
"IoTSecurityAPI": "2019-08-01",
15+
"LegacySettingsAPI": "2017-08-01-preview",
16+
"LocationsAPI": "2015-06-01-preview",
17+
"MdeOnboardingAPI": "2021-10-01-preview",
18+
"OperationsAPI": "2025-10-01-preview",
19+
"PricingsAPI": "2024-01-01",
20+
"PrivateLinksAPI": "2026-01-01",
21+
"RegulatoryComplianceAPI": "2019-01-01-preview",
22+
"SecureScoreAPI": "2020-01-01",
23+
"SecurityConnectorsAPI": "2024-08-01-preview",
24+
"SecurityConnectorsDevOpsAPI": "2025-11-01-preview",
25+
"SecurityOperatorsAPI": "2023-01-01-preview",
26+
"SecuritySolutionsAPI": "2020-01-01",
27+
"SecurityStandardsAPI": "2024-08-01",
28+
"SensitivitySettingsAPI": "2023-02-15-preview",
29+
"ServerVulnerabilityAssessmentsSettingsAPI": "2023-05-01",
30+
"SettingsAPI": "2022-05-01",
31+
"SqlVulnerabilityAssessmentsAPI": "2026-04-01-preview",
32+
"StandardsAPI": "2021-08-01-preview",
33+
"SubAssessmentsAPI": "2019-01-01-preview",
34+
"TasksAPI": "2015-06-01-preview"
35+
},
36+
"commit": "360e572ac487addd26649b53be64f25dbf2799cc",
337
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.10.2",
5-
"use": [
6-
"@autorest/python@6.50.0",
7-
"@autorest/modelerfour@4.27.0"
8-
],
9-
"autorest_command": "autorest specification/security/resource-manager/Microsoft.Security/Security/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/home/v-chenjiang/spec/worktrees/sdk-azure-mgmt-security/sdk --use=@autorest/python@6.50.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/security/resource-manager/Microsoft.Security/Security/readme.md"
38+
"typespec_src": "specification/security/resource-manager/Microsoft.Security/Security",
39+
"emitterVersion": "0.61.3"
1140
}

sdk/security/azure-mgmt-security/apiview-properties.json

Lines changed: 1056 additions & 1139 deletions
Large diffs are not rendered by default.

sdk/security/azure-mgmt-security/azure/mgmt/security/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
5-
# Code generated by Microsoft (R) AutoRest Code Generator.
5+
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88
# pylint: disable=wrong-import-position
@@ -12,7 +12,7 @@
1212
if TYPE_CHECKING:
1313
from ._patch import * # pylint: disable=unused-wildcard-import
1414

15-
from ._security_center import SecurityCenter # type: ignore
15+
from ._client import SecurityManagementClient # type: ignore
1616
from ._version import VERSION
1717

1818
__version__ = VERSION
@@ -25,7 +25,7 @@
2525
from ._patch import patch_sdk as _patch_sdk
2626

2727
__all__ = [
28-
"SecurityCenter",
28+
"SecurityManagementClient",
2929
]
3030
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
3131

sdk/security/azure-mgmt-security/azure/mgmt/security/_security_center.py renamed to sdk/security/azure-mgmt-security/azure/mgmt/security/_client.py

Lines changed: 220 additions & 210 deletions
Large diffs are not rendered by default.

sdk/security/azure-mgmt-security/azure/mgmt/security/_configuration.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
5-
# Code generated by Microsoft (R) AutoRest Code Generator.
5+
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

@@ -18,16 +18,18 @@
1818
from azure.core.credentials import TokenCredential
1919

2020

21-
class SecurityCenterConfiguration: # pylint: disable=too-many-instance-attributes
22-
"""Configuration for SecurityCenter.
21+
class SecurityManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
22+
"""Configuration for SecurityManagementClient.
2323
2424
Note that all parameters used to create this instance are saved as instance
2525
attributes.
2626
27-
:param credential: Credential needed for the client to connect to Azure. Required.
27+
:param credential: Credential used to authenticate requests to the service. Required.
2828
:type credential: ~azure.core.credentials.TokenCredential
29-
:param subscription_id: Azure subscription ID. Required.
29+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31+
:param base_url: Service host. Default value is "https://management.azure.com".
32+
:type base_url: str
3133
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3234
None.
3335
:type cloud_setting: ~azure.core.AzureClouds
@@ -37,6 +39,7 @@ def __init__(
3739
self,
3840
credential: "TokenCredential",
3941
subscription_id: str,
42+
base_url: str = "https://management.azure.com",
4043
cloud_setting: Optional["AzureClouds"] = None,
4144
**kwargs: Any
4245
) -> None:
@@ -47,6 +50,7 @@ def __init__(
4750

4851
self.credential = credential
4952
self.subscription_id = subscription_id
53+
self.base_url = base_url
5054
self.cloud_setting = cloud_setting
5155
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
5256
kwargs.setdefault("sdk_moniker", "mgmt-security/{}".format(VERSION))

sdk/security/azure-mgmt-security/azure/mgmt/security/_patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
88
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
99
"""
10-
from typing import List
1110

12-
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level
11+
12+
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
1313

1414

1515
def patch_sdk():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# Code generated by Microsoft (R) AutoRest Code Generator.
4+
# Code generated by Microsoft (R) Python Code Generator.
55
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
66
# --------------------------------------------------------------------------

0 commit comments

Comments
 (0)