Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-security] [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview #7905

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/security/azure-mgmt-security/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "a8719243647b7c6d06ed287483d788808de7ecab",
"commit": "c344ba9a712e9b29524aecf8dd62501aa9ee56e1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/security/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/security/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2015-06-01-preview", "2017-08-01", "2017-08-01-preview", "2018-06-01", "2019-01-01", "2019-01-01-preview", "2019-08-01", "2020-01-01", "2020-01-01-preview", "2020-07-01-preview", "2021-01-01", "2021-01-15-preview", "2021-05-01-preview", "2021-07-01"],
"total_api_version_list": ["2015-06-01-preview", "2017-08-01", "2017-08-01-preview", "2018-06-01", "2019-01-01", "2019-01-01-preview", "2019-08-01", "2020-01-01", "2020-01-01-preview", "2020-07-01-preview", "2021-01-01", "2021-01-15-preview", "2021-05-01-preview", "2021-06-01", "2021-07-01", "2021-07-01-preview", "2021-10-01-preview"],
"client": {
"name": "SecurityCenter",
"filename": "_security_center",
Expand Down Expand Up @@ -110,6 +110,9 @@
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
},
"operation_groups": {
"mde_onboardings": "MdeOnboardingsOperations",
"custom_assessment_automations": "CustomAssessmentAutomationsOperations",
"custom_entity_store_assignments": "CustomEntityStoreAssignmentsOperations",
"compliance_results": "ComplianceResultsOperations",
"pricings": "PricingsOperations",
"advanced_threat_protection": "AdvancedThreatProtectionOperations",
Expand Down Expand Up @@ -154,6 +157,7 @@
"alerts": "AlertsOperations",
"settings": "SettingsOperations",
"ingestion_settings": "IngestionSettingsOperations",
"software_inventories": "SoftwareInventoriesOperations"
"software_inventories": "SoftwareInventoriesOperations",
"security_connectors": "SecurityConnectorsOperations"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
from azure.core.pipeline.transport import HttpRequest, HttpResponse

from ._configuration import SecurityCenterConfiguration
from .operations import MdeOnboardingsOperations
from .operations import CustomAssessmentAutomationsOperations
from .operations import CustomEntityStoreAssignmentsOperations
from .operations import ComplianceResultsOperations
from .operations import PricingsOperations
from .operations import AdvancedThreatProtectionOperations
Expand Down Expand Up @@ -64,12 +67,19 @@
from .operations import SettingsOperations
from .operations import IngestionSettingsOperations
from .operations import SoftwareInventoriesOperations
from .operations import SecurityConnectorsOperations
from . import models


class SecurityCenter(object):
"""API spec for Microsoft.Security (Azure Security Center) resource provider.

:ivar mde_onboardings: MdeOnboardingsOperations operations
:vartype mde_onboardings: azure.mgmt.security.operations.MdeOnboardingsOperations
:ivar custom_assessment_automations: CustomAssessmentAutomationsOperations operations
:vartype custom_assessment_automations: azure.mgmt.security.operations.CustomAssessmentAutomationsOperations
:ivar custom_entity_store_assignments: CustomEntityStoreAssignmentsOperations operations
:vartype custom_entity_store_assignments: azure.mgmt.security.operations.CustomEntityStoreAssignmentsOperations
:ivar compliance_results: ComplianceResultsOperations operations
:vartype compliance_results: azure.mgmt.security.operations.ComplianceResultsOperations
:ivar pricings: PricingsOperations operations
Expand Down Expand Up @@ -160,6 +170,8 @@ class SecurityCenter(object):
:vartype ingestion_settings: azure.mgmt.security.operations.IngestionSettingsOperations
:ivar software_inventories: SoftwareInventoriesOperations operations
:vartype software_inventories: azure.mgmt.security.operations.SoftwareInventoriesOperations
:ivar security_connectors: SecurityConnectorsOperations operations
:vartype security_connectors: azure.mgmt.security.operations.SecurityConnectorsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: Azure subscription ID.
Expand Down Expand Up @@ -189,6 +201,12 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.mde_onboardings = MdeOnboardingsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.custom_assessment_automations = CustomAssessmentAutomationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.custom_entity_store_assignments = CustomEntityStoreAssignmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.compliance_results = ComplianceResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pricings = PricingsOperations(
Expand Down Expand Up @@ -279,6 +297,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.software_inventories = SoftwareInventoriesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.security_connectors = SecurityConnectorsOperations(
self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, http_request, **kwargs):
# type: (HttpRequest, Any) -> HttpResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0b1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
from azure.core.credentials_async import AsyncTokenCredential

from ._configuration import SecurityCenterConfiguration
from .operations import MdeOnboardingsOperations
from .operations import CustomAssessmentAutomationsOperations
from .operations import CustomEntityStoreAssignmentsOperations
from .operations import ComplianceResultsOperations
from .operations import PricingsOperations
from .operations import AdvancedThreatProtectionOperations
Expand Down Expand Up @@ -62,12 +65,19 @@
from .operations import SettingsOperations
from .operations import IngestionSettingsOperations
from .operations import SoftwareInventoriesOperations
from .operations import SecurityConnectorsOperations
from .. import models


class SecurityCenter(object):
"""API spec for Microsoft.Security (Azure Security Center) resource provider.

:ivar mde_onboardings: MdeOnboardingsOperations operations
:vartype mde_onboardings: azure.mgmt.security.aio.operations.MdeOnboardingsOperations
:ivar custom_assessment_automations: CustomAssessmentAutomationsOperations operations
:vartype custom_assessment_automations: azure.mgmt.security.aio.operations.CustomAssessmentAutomationsOperations
:ivar custom_entity_store_assignments: CustomEntityStoreAssignmentsOperations operations
:vartype custom_entity_store_assignments: azure.mgmt.security.aio.operations.CustomEntityStoreAssignmentsOperations
:ivar compliance_results: ComplianceResultsOperations operations
:vartype compliance_results: azure.mgmt.security.aio.operations.ComplianceResultsOperations
:ivar pricings: PricingsOperations operations
Expand Down Expand Up @@ -158,6 +168,8 @@ class SecurityCenter(object):
:vartype ingestion_settings: azure.mgmt.security.aio.operations.IngestionSettingsOperations
:ivar software_inventories: SoftwareInventoriesOperations operations
:vartype software_inventories: azure.mgmt.security.aio.operations.SoftwareInventoriesOperations
:ivar security_connectors: SecurityConnectorsOperations operations
:vartype security_connectors: azure.mgmt.security.aio.operations.SecurityConnectorsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: Azure subscription ID.
Expand Down Expand Up @@ -186,6 +198,12 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.mde_onboardings = MdeOnboardingsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.custom_assessment_automations = CustomAssessmentAutomationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.custom_entity_store_assignments = CustomEntityStoreAssignmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.compliance_results = ComplianceResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pricings = PricingsOperations(
Expand Down Expand Up @@ -276,6 +294,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.software_inventories = SoftwareInventoriesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.security_connectors = SecurityConnectorsOperations(
self._client, self._config, self._serialize, self._deserialize)

async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._mde_onboardings_operations import MdeOnboardingsOperations
from ._custom_assessment_automations_operations import CustomAssessmentAutomationsOperations
from ._custom_entity_store_assignments_operations import CustomEntityStoreAssignmentsOperations
from ._compliance_results_operations import ComplianceResultsOperations
from ._pricings_operations import PricingsOperations
from ._advanced_threat_protection_operations import AdvancedThreatProtectionOperations
Expand Down Expand Up @@ -51,8 +54,12 @@
from ._settings_operations import SettingsOperations
from ._ingestion_settings_operations import IngestionSettingsOperations
from ._software_inventories_operations import SoftwareInventoriesOperations
from ._security_connectors_operations import SecurityConnectorsOperations

__all__ = [
'MdeOnboardingsOperations',
'CustomAssessmentAutomationsOperations',
'CustomEntityStoreAssignmentsOperations',
'ComplianceResultsOperations',
'PricingsOperations',
'AdvancedThreatProtectionOperations',
Expand Down Expand Up @@ -98,4 +105,5 @@
'SettingsOperations',
'IngestionSettingsOperations',
'SoftwareInventoriesOperations',
'SecurityConnectorsOperations',
]
Loading