Skip to content

Commit ef504a5

Browse files
SDKAutomsyyc
andcommitted
CodeGen from PR 14676 in Azure/azure-rest-api-specs
Security t2 (#14676) * sql t2 readme config * readme config * Update readme.python.md * conflient resolve * security t2 config * modelerfour config * Delete duplicate JSON files * del test * Update readme.md * directive x-ms-enum * delete redundant definition Co-authored-by: msyyc <[email protected]>
1 parent ad92392 commit ef504a5

File tree

83 files changed

+3968
-2134
lines changed

Some content is hidden

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

83 files changed

+3968
-2134
lines changed

sdk/security/azure-mgmt-security/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"autorest": "3.4.2",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "dba84d783ab56f544bad50024d7b9b4418897562",
8+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9+
"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/[email protected] --use=@autorest/[email protected] --version=3.4.2",
10+
"readme": "specification/security/resource-manager/readme.md"
11+
}
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
{
2+
"chosen_version": "",
3+
"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", "2020-08-06-preview", "2021-01-01", "2021-01-15-preview", "2021-05-01-preview"],
4+
"client": {
5+
"name": "SecurityCenter",
6+
"filename": "_security_center",
7+
"description": "API spec for Microsoft.Security (Azure Security Center) resource provider.",
8+
"base_url": "\u0027https://management.azure.com\u0027",
9+
"custom_base_url": null,
10+
"azure_arm": true,
11+
"has_lro_operations": true,
12+
"client_side_validation": false,
13+
"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\"]}}}",
14+
"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\"]}}}"
15+
},
16+
"global_parameters": {
17+
"sync": {
18+
"credential": {
19+
"signature": "credential, # type: \"TokenCredential\"",
20+
"description": "Credential needed for the client to connect to Azure.",
21+
"docstring_type": "~azure.core.credentials.TokenCredential",
22+
"required": true
23+
},
24+
"subscription_id": {
25+
"signature": "subscription_id, # type: str",
26+
"description": "Azure subscription ID.",
27+
"docstring_type": "str",
28+
"required": true
29+
},
30+
"asc_location": {
31+
"signature": "asc_location, # type: str",
32+
"description": "The location where ASC stores the data of the subscription. can be retrieved from Get locations.",
33+
"docstring_type": "str",
34+
"required": true
35+
}
36+
},
37+
"async": {
38+
"credential": {
39+
"signature": "credential: \"AsyncTokenCredential\",",
40+
"description": "Credential needed for the client to connect to Azure.",
41+
"docstring_type": "~azure.core.credentials_async.AsyncTokenCredential",
42+
"required": true
43+
},
44+
"subscription_id": {
45+
"signature": "subscription_id: str,",
46+
"description": "Azure subscription ID.",
47+
"docstring_type": "str",
48+
"required": true
49+
},
50+
"asc_location": {
51+
"signature": "asc_location: str,",
52+
"description": "The location where ASC stores the data of the subscription. can be retrieved from Get locations.",
53+
"docstring_type": "str",
54+
"required": true
55+
}
56+
},
57+
"constant": {
58+
},
59+
"call": "credential, subscription_id, asc_location",
60+
"service_client_specific": {
61+
"sync": {
62+
"api_version": {
63+
"signature": "api_version=None, # type: Optional[str]",
64+
"description": "API version to use if no profile is provided, or if missing in profile.",
65+
"docstring_type": "str",
66+
"required": false
67+
},
68+
"base_url": {
69+
"signature": "base_url=None, # type: Optional[str]",
70+
"description": "Service URL",
71+
"docstring_type": "str",
72+
"required": false
73+
},
74+
"profile": {
75+
"signature": "profile=KnownProfiles.default, # type: KnownProfiles",
76+
"description": "A profile definition, from KnownProfiles to dict.",
77+
"docstring_type": "azure.profiles.KnownProfiles",
78+
"required": false
79+
}
80+
},
81+
"async": {
82+
"api_version": {
83+
"signature": "api_version: Optional[str] = None,",
84+
"description": "API version to use if no profile is provided, or if missing in profile.",
85+
"docstring_type": "str",
86+
"required": false
87+
},
88+
"base_url": {
89+
"signature": "base_url: Optional[str] = None,",
90+
"description": "Service URL",
91+
"docstring_type": "str",
92+
"required": false
93+
},
94+
"profile": {
95+
"signature": "profile: KnownProfiles = KnownProfiles.default,",
96+
"description": "A profile definition, from KnownProfiles to dict.",
97+
"docstring_type": "azure.profiles.KnownProfiles",
98+
"required": false
99+
}
100+
}
101+
}
102+
},
103+
"config": {
104+
"credential": true,
105+
"credential_scopes": ["https://management.azure.com/.default"],
106+
"credential_default_policy_type": "BearerTokenCredentialPolicy",
107+
"credential_default_policy_type_has_async_version": true,
108+
"credential_key_header_name": null,
109+
"sync_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\": [\"TokenCredential\"]}}}",
110+
"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\"]}}}"
111+
},
112+
"operation_groups": {
113+
"compliance_results": "ComplianceResultsOperations",
114+
"pricings": "PricingsOperations",
115+
"settings": "SettingsOperations",
116+
"advanced_threat_protection": "AdvancedThreatProtectionOperations",
117+
"device_security_groups": "DeviceSecurityGroupsOperations",
118+
"iot_security_solution": "IotSecuritySolutionOperations",
119+
"iot_security_solution_analytics": "IotSecuritySolutionAnalyticsOperations",
120+
"iot_security_solutions_analytics_aggregated_alert": "IotSecuritySolutionsAnalyticsAggregatedAlertOperations",
121+
"iot_security_solutions_analytics_recommendation": "IotSecuritySolutionsAnalyticsRecommendationOperations",
122+
"locations": "LocationsOperations",
123+
"operations": "Operations",
124+
"tasks": "TasksOperations",
125+
"auto_provisioning_settings": "AutoProvisioningSettingsOperations",
126+
"compliances": "CompliancesOperations",
127+
"information_protection_policies": "InformationProtectionPoliciesOperations",
128+
"security_contacts": "SecurityContactsOperations",
129+
"workspace_settings": "WorkspaceSettingsOperations",
130+
"regulatory_compliance_standards": "RegulatoryComplianceStandardsOperations",
131+
"regulatory_compliance_controls": "RegulatoryComplianceControlsOperations",
132+
"regulatory_compliance_assessments": "RegulatoryComplianceAssessmentsOperations",
133+
"sub_assessments": "SubAssessmentsOperations",
134+
"automations": "AutomationsOperations",
135+
"alerts_suppression_rules": "AlertsSuppressionRulesOperations",
136+
"server_vulnerability_assessment": "ServerVulnerabilityAssessmentOperations",
137+
"assessments_metadata": "AssessmentsMetadataOperations",
138+
"assessments": "AssessmentsOperations",
139+
"adaptive_application_controls": "AdaptiveApplicationControlsOperations",
140+
"adaptive_network_hardenings": "AdaptiveNetworkHardeningsOperations",
141+
"allowed_connections": "AllowedConnectionsOperations",
142+
"topology": "TopologyOperations",
143+
"jit_network_access_policies": "JitNetworkAccessPoliciesOperations",
144+
"discovered_security_solutions": "DiscoveredSecuritySolutionsOperations",
145+
"security_solutions_reference_data": "SecuritySolutionsReferenceDataOperations",
146+
"external_security_solutions": "ExternalSecuritySolutionsOperations",
147+
"secure_scores": "SecureScoresOperations",
148+
"secure_score_controls": "SecureScoreControlsOperations",
149+
"secure_score_control_definitions": "SecureScoreControlDefinitionsOperations",
150+
"security_solutions": "SecuritySolutionsOperations",
151+
"connectors": "ConnectorsOperations",
152+
"sql_vulnerability_assessment_scans": "SqlVulnerabilityAssessmentScansOperations",
153+
"sql_vulnerability_assessment_scan_results": "SqlVulnerabilityAssessmentScanResultsOperations",
154+
"sql_vulnerability_assessment_baseline_rules": "SqlVulnerabilityAssessmentBaselineRulesOperations",
155+
"iot_defender_settings": "IotDefenderSettingsOperations",
156+
"iot_sensors": "IotSensorsOperations",
157+
"devices_for_subscription": "DevicesForSubscriptionOperations",
158+
"devices_for_hub": "DevicesForHubOperations",
159+
"device": "DeviceOperations",
160+
"on_premise_iot_sensors": "OnPremiseIotSensorsOperations",
161+
"iot_sites": "IotSitesOperations",
162+
"iot_alerts": "IotAlertsOperations",
163+
"iot_alert_types": "IotAlertTypesOperations",
164+
"iot_recommendations": "IotRecommendationsOperations",
165+
"iot_recommendation_types": "IotRecommendationTypesOperations",
166+
"alerts": "AlertsOperations",
167+
"ingestion_settings": "IngestionSettingsOperations",
168+
"software_inventories": "SoftwareInventoriesOperations"
169+
}
170+
}

0 commit comments

Comments
 (0)