Skip to content

Commit

Permalink
CodeGen from PR 16239 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKAuto committed Oct 5, 2021
1 parent 139aae2 commit 4baefc9
Show file tree
Hide file tree
Showing 103 changed files with 973 additions and 45,105 deletions.
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": "191a721de644cc3f872f4fe9d676cf366083a106",
"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
Expand Up @@ -31,29 +31,24 @@ class SecurityCenterConfiguration(Configuration):
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: Azure subscription ID.
:type subscription_id: str
:param asc_location: The location where ASC stores the data of the subscription. can be retrieved from Get locations.
:type asc_location: str
"""

def __init__(
self,
credential, # type: "TokenCredential"
subscription_id, # type: str
asc_location, # type: str
**kwargs # type: Any
):
# type: (...) -> None
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if asc_location is None:
raise ValueError("Parameter 'asc_location' must not be None.")
super(SecurityCenterConfiguration, self).__init__(**kwargs)

self.credential = credential
self.subscription_id = subscription_id
self.asc_location = asc_location
self.api_version = "2021-08-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-security/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"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"],
"chosen_version": "2021-08-01-preview",
"total_api_version_list": ["2021-08-01-preview"],
"client": {
"name": "SecurityCenter",
"filename": "_security_center",
"description": "API spec for Microsoft.Security (Azure Security Center) resource provider.",
"base_url": "\u0027https://management.azure.com\u0027",
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"has_lro_operations": false,
"client_side_validation": false,
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"SecurityCenterConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}",
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"SecurityCenterConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}"
Expand All @@ -26,12 +26,6 @@
"description": "Azure subscription ID.",
"docstring_type": "str",
"required": true
},
"asc_location": {
"signature": "asc_location, # type: str",
"description": "The location where ASC stores the data of the subscription. can be retrieved from Get locations.",
"docstring_type": "str",
"required": true
}
},
"async": {
Expand All @@ -46,17 +40,11 @@
"description": "Azure subscription ID.",
"docstring_type": "str",
"required": true
},
"asc_location": {
"signature": "asc_location: str,",
"description": "The location where ASC stores the data of the subscription. can be retrieved from Get locations.",
"docstring_type": "str",
"required": true
}
},
"constant": {
},
"call": "credential, subscription_id, asc_location",
"call": "credential, subscription_id",
"service_client_specific": {
"sync": {
"api_version": {
Expand Down Expand Up @@ -110,50 +98,7 @@
"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": {
"compliance_results": "ComplianceResultsOperations",
"pricings": "PricingsOperations",
"advanced_threat_protection": "AdvancedThreatProtectionOperations",
"device_security_groups": "DeviceSecurityGroupsOperations",
"iot_security_solution": "IotSecuritySolutionOperations",
"iot_security_solution_analytics": "IotSecuritySolutionAnalyticsOperations",
"iot_security_solutions_analytics_aggregated_alert": "IotSecuritySolutionsAnalyticsAggregatedAlertOperations",
"iot_security_solutions_analytics_recommendation": "IotSecuritySolutionsAnalyticsRecommendationOperations",
"locations": "LocationsOperations",
"operations": "Operations",
"tasks": "TasksOperations",
"auto_provisioning_settings": "AutoProvisioningSettingsOperations",
"compliances": "CompliancesOperations",
"information_protection_policies": "InformationProtectionPoliciesOperations",
"security_contacts": "SecurityContactsOperations",
"workspace_settings": "WorkspaceSettingsOperations",
"regulatory_compliance_standards": "RegulatoryComplianceStandardsOperations",
"regulatory_compliance_controls": "RegulatoryComplianceControlsOperations",
"regulatory_compliance_assessments": "RegulatoryComplianceAssessmentsOperations",
"sub_assessments": "SubAssessmentsOperations",
"automations": "AutomationsOperations",
"alerts_suppression_rules": "AlertsSuppressionRulesOperations",
"server_vulnerability_assessment": "ServerVulnerabilityAssessmentOperations",
"assessments_metadata": "AssessmentsMetadataOperations",
"assessments": "AssessmentsOperations",
"adaptive_application_controls": "AdaptiveApplicationControlsOperations",
"adaptive_network_hardenings": "AdaptiveNetworkHardeningsOperations",
"allowed_connections": "AllowedConnectionsOperations",
"topology": "TopologyOperations",
"jit_network_access_policies": "JitNetworkAccessPoliciesOperations",
"discovered_security_solutions": "DiscoveredSecuritySolutionsOperations",
"security_solutions_reference_data": "SecuritySolutionsReferenceDataOperations",
"external_security_solutions": "ExternalSecuritySolutionsOperations",
"secure_scores": "SecureScoresOperations",
"secure_score_controls": "SecureScoreControlsOperations",
"secure_score_control_definitions": "SecureScoreControlDefinitionsOperations",
"security_solutions": "SecuritySolutionsOperations",
"connectors": "ConnectorsOperations",
"sql_vulnerability_assessment_scans": "SqlVulnerabilityAssessmentScansOperations",
"sql_vulnerability_assessment_scan_results": "SqlVulnerabilityAssessmentScanResultsOperations",
"sql_vulnerability_assessment_baseline_rules": "SqlVulnerabilityAssessmentBaselineRulesOperations",
"alerts": "AlertsOperations",
"settings": "SettingsOperations",
"ingestion_settings": "IngestionSettingsOperations",
"software_inventories": "SoftwareInventoriesOperations"
"standards": "StandardsOperations",
"assignments": "AssignmentsOperations"
}
}
Loading

0 comments on commit 4baefc9

Please sign in to comment.