SecurityCenter Class
API spec for Microsoft.Security (Azure Security Center) resource provider.
This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
Constructor
SecurityCenter(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
subscription_id
Required
|
The ID of the target subscription. Required. |
api_version
|
API version to use if no profile is provided, or if missing in profile. Default value: None
|
base_url
|
Service URL Default value: https://management.azure.com
|
profile
|
A profile definition, from KnownProfiles to dict. Default value: KnownProfiles.default
|
Keyword-Only Parameters
Name | Description |
---|---|
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
close | |
models |
Module depends on the API version:
|
close
close()
models
Module depends on the API version:
2015-06-01-preview: models
2017-08-01: models
2017-08-01-preview: models
2018-06-01: models
2019-01-01: models
2019-01-01-preview: models
2019-08-01: models
2020-01-01: models
2020-01-01-preview: models
2020-07-01-preview: models
2021-01-01: models
2021-05-01-preview: models
2021-06-01: models
2021-07-01: models
2021-07-01-preview: models
2021-10-01-preview: models
2022-01-01: models
2022-01-01-preview: models
2022-03-01: models
2022-05-01: models
2022-05-01-preview: models
2022-07-01-preview: models
2022-08-01-preview: models
2022-11-20-preview: models
2022-12-01-preview: models
2023-01-01: models
2023-01-01-preview: models
2023-02-01-preview: models
2023-02-15-preview: models
2023-03-01-preview: models
2023-05-01: models
2023-05-01-preview: models
2023-09-01-preview: models
2023-10-01-preview: models
2023-11-15: models
2024-01-01: models
2024-04-01: models
models(api_version='2024-04-01')
Parameters
Name | Description |
---|---|
api_version
|
Default value: 2024-04-01
|
adaptive_application_controls
Instance depends on the API version:
- 2020-01-01: AdaptiveApplicationControlsOperations
adaptive_network_hardenings
Instance depends on the API version:
- 2020-01-01: AdaptiveNetworkHardeningsOperations
advanced_threat_protection
Instance depends on the API version:
- 2019-01-01: AdvancedThreatProtectionOperations
alerts
Instance depends on the API version:
2021-01-01: AlertsOperations
2022-01-01: AlertsOperations
alerts_suppression_rules
Instance depends on the API version:
- 2019-01-01-preview: AlertsSuppressionRulesOperations
allowed_connections
Instance depends on the API version:
- 2020-01-01: AllowedConnectionsOperations
api_collection
Instance depends on the API version:
- 2022-11-20-preview: APICollectionOperations
api_collection_offboarding
Instance depends on the API version:
- 2022-11-20-preview: APICollectionOffboardingOperations
api_collection_onboarding
Instance depends on the API version:
- 2022-11-20-preview: APICollectionOnboardingOperations
api_collections
Instance depends on the API version:
- 2023-11-15: APICollectionsOperations
application
Instance depends on the API version:
- 2022-07-01-preview: ApplicationOperations
applications
Instance depends on the API version:
- 2022-07-01-preview: ApplicationsOperations
assessments
Instance depends on the API version:
2020-01-01: AssessmentsOperations
2021-06-01: AssessmentsOperations
assessments_metadata
Instance depends on the API version:
2020-01-01: AssessmentsMetadataOperations
2021-06-01: AssessmentsMetadataOperations
auto_provisioning_settings
Instance depends on the API version:
- 2017-08-01-preview: AutoProvisioningSettingsOperations
automations
Instance depends on the API version:
- 2019-01-01-preview: AutomationsOperations
azure_dev_ops_orgs
Instance depends on the API version:
2023-09-01-preview: AzureDevOpsOrgsOperations
2024-04-01: AzureDevOpsOrgsOperations
azure_dev_ops_projects
Instance depends on the API version:
2023-09-01-preview: AzureDevOpsProjectsOperations
2024-04-01: AzureDevOpsProjectsOperations
azure_dev_ops_repos
Instance depends on the API version:
2023-09-01-preview: AzureDevOpsReposOperations
2024-04-01: AzureDevOpsReposOperations
compliance_results
Instance depends on the API version:
- 2017-08-01: ComplianceResultsOperations
compliances
Instance depends on the API version:
- 2017-08-01-preview: CompliancesOperations
connectors
Instance depends on the API version:
- 2020-01-01-preview: ConnectorsOperations
custom_assessment_automations
Instance depends on the API version:
- 2021-07-01-preview: CustomAssessmentAutomationsOperations
custom_entity_store_assignments
Instance depends on the API version:
- 2021-07-01-preview: CustomEntityStoreAssignmentsOperations
defender_for_storage
Instance depends on the API version:
- 2022-12-01-preview: DefenderForStorageOperations
dev_ops_configurations
Instance depends on the API version:
2023-09-01-preview: DevOpsConfigurationsOperations
2024-04-01: DevOpsConfigurationsOperations
dev_ops_operation_results
Instance depends on the API version:
2023-09-01-preview: DevOpsOperationResultsOperations
2024-04-01: DevOpsOperationResultsOperations
device_security_groups
Instance depends on the API version:
- 2019-08-01: DeviceSecurityGroupsOperations
discovered_security_solutions
Instance depends on the API version:
- 2020-01-01: DiscoveredSecuritySolutionsOperations
external_security_solutions
Instance depends on the API version:
- 2020-01-01: ExternalSecuritySolutionsOperations
git_hub_owners
Instance depends on the API version:
2023-09-01-preview: GitHubOwnersOperations
2024-04-01: GitHubOwnersOperations
git_hub_repos
Instance depends on the API version:
2023-09-01-preview: GitHubReposOperations
2024-04-01: GitHubReposOperations
git_lab_groups
Instance depends on the API version:
2023-09-01-preview: GitLabGroupsOperations
2024-04-01: GitLabGroupsOperations
git_lab_projects
Instance depends on the API version:
2023-09-01-preview: GitLabProjectsOperations
2024-04-01: GitLabProjectsOperations
git_lab_subgroups
Instance depends on the API version:
2023-09-01-preview: GitLabSubgroupsOperations
2024-04-01: GitLabSubgroupsOperations
governance_assignments
Instance depends on the API version:
- 2022-01-01-preview: GovernanceAssignmentsOperations
governance_rules
Instance depends on the API version:
- 2022-01-01-preview: GovernanceRulesOperations
health_report
Instance depends on the API version:
- 2023-02-01-preview: HealthReportOperations
health_reports
Instance depends on the API version:
2023-02-01-preview: HealthReportsOperations
2023-05-01-preview: HealthReportsOperations
information_protection_policies
Instance depends on the API version:
- 2017-08-01-preview: InformationProtectionPoliciesOperations
iot_security_solution
Instance depends on the API version:
- 2019-08-01: IotSecuritySolutionOperations
iot_security_solution_analytics
Instance depends on the API version:
- 2019-08-01: IotSecuritySolutionAnalyticsOperations
iot_security_solutions_analytics_aggregated_alert
Instance depends on the API version:
iot_security_solutions_analytics_recommendation
Instance depends on the API version:
jit_network_access_policies
Instance depends on the API version:
- 2020-01-01: JitNetworkAccessPoliciesOperations
locations
Instance depends on the API version:
- 2015-06-01-preview: LocationsOperations
mde_onboardings
Instance depends on the API version:
- 2021-10-01-preview: MdeOnboardingsOperations
operations
Instance depends on the API version:
- 2015-06-01-preview: Operations
pricings
Instance depends on the API version:
2018-06-01: PricingsOperations
2022-03-01: PricingsOperations
2023-01-01: PricingsOperations
2024-01-01: PricingsOperations
regulatory_compliance_assessments
Instance depends on the API version:
- 2019-01-01-preview: RegulatoryComplianceAssessmentsOperations
regulatory_compliance_controls
Instance depends on the API version:
- 2019-01-01-preview: RegulatoryComplianceControlsOperations
regulatory_compliance_standards
Instance depends on the API version:
- 2019-01-01-preview: RegulatoryComplianceStandardsOperations
secure_score_control_definitions
Instance depends on the API version:
- 2020-01-01: SecureScoreControlDefinitionsOperations
secure_score_controls
Instance depends on the API version:
- 2020-01-01: SecureScoreControlsOperations
secure_scores
Instance depends on the API version:
- 2020-01-01: SecureScoresOperations
security_connector_application
Instance depends on the API version:
- 2022-07-01-preview: SecurityConnectorApplicationOperations
security_connector_applications
Instance depends on the API version:
- 2022-07-01-preview: SecurityConnectorApplicationsOperations
security_connectors
Instance depends on the API version:
2021-07-01-preview: SecurityConnectorsOperations
2022-05-01-preview: SecurityConnectorsOperations
2022-08-01-preview: SecurityConnectorsOperations
2023-03-01-preview: SecurityConnectorsOperations
2023-10-01-preview: SecurityConnectorsOperations
security_contacts
Instance depends on the API version:
2017-08-01-preview: SecurityContactsOperations
2020-01-01-preview: SecurityContactsOperations
security_operators
Instance depends on the API version:
- 2023-01-01-preview: SecurityOperatorsOperations
security_solutions
Instance depends on the API version:
- 2020-01-01: SecuritySolutionsOperations
security_solutions_reference_data
Instance depends on the API version:
- 2020-01-01: SecuritySolutionsReferenceDataOperations
sensitivity_settings
Instance depends on the API version:
- 2023-02-15-preview: SensitivitySettingsOperations
server_vulnerability_assessment
Instance depends on the API version:
- 2020-01-01: ServerVulnerabilityAssessmentOperations
server_vulnerability_assessments_settings
Instance depends on the API version:
- 2023-05-01: ServerVulnerabilityAssessmentsSettingsOperations
settings
Instance depends on the API version:
2021-06-01: SettingsOperations
2021-07-01: SettingsOperations
2022-05-01: SettingsOperations
software_inventories
Instance depends on the API version:
- 2021-05-01-preview: SoftwareInventoriesOperations
sql_vulnerability_assessment_baseline_rules
Instance depends on the API version:
2020-07-01-preview: SqlVulnerabilityAssessmentBaselineRulesOperations
2023-02-01-preview: SqlVulnerabilityAssessmentBaselineRulesOperations
sql_vulnerability_assessment_scan_results
Instance depends on the API version:
2020-07-01-preview: SqlVulnerabilityAssessmentScanResultsOperations
2023-02-01-preview: SqlVulnerabilityAssessmentScanResultsOperations
sql_vulnerability_assessment_scans
Instance depends on the API version:
2020-07-01-preview: SqlVulnerabilityAssessmentScansOperations
2023-02-01-preview: SqlVulnerabilityAssessmentScansOperations
sub_assessments
Instance depends on the API version:
- 2019-01-01-preview: SubAssessmentsOperations
tasks
Instance depends on the API version:
- 2015-06-01-preview: TasksOperations
topology
Instance depends on the API version:
- 2020-01-01: TopologyOperations
workspace_settings
Instance depends on the API version:
- 2017-08-01-preview: WorkspaceSettingsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2024-04-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.security.SecurityCenter latest
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: