azure.mgmt.security.operations module

class azure.mgmt.security.operations.ComplianceResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ComplianceResultsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01”.

get(resource_id, compliance_result_name, custom_headers=None, raw=False, **operation_config)[source]

Security Compliance Result.

Parameters
  • resource_id (str) – The identifier of the resource.

  • compliance_result_name (str) – name of the desired assessment compliance result

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ComplianceResult or ClientRawResponse if raw=true

Return type

ComplianceResult or ClientRawResponse

Raises

CloudError

list(scope, custom_headers=None, raw=False, **operation_config)[source]

Security compliance results in the subscription.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ComplianceResult

Return type

ComplianceResultPaged[ComplianceResult]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.PricingsOperations(client, config, serializer, deserializer)[source]

Bases: object

PricingsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2018-06-01”.

get(pricing_name, custom_headers=None, raw=False, **operation_config)[source]

A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.

Parameters
  • pricing_name (str) – name of the pricing configuration

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Pricing or ClientRawResponse if raw=true

Return type

Pricing or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PricingList or ClientRawResponse if raw=true

Return type

PricingList or ClientRawResponse

Raises

CloudError

update(pricing_name, pricing_tier, custom_headers=None, raw=False, **operation_config)[source]

A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.

Parameters
  • pricing_name (str) – name of the pricing configuration

  • pricing_tier (str or PricingTier) – The pricing tier value. Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. Possible values include: ‘Free’, ‘Standard’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Pricing or ClientRawResponse if raw=true

Return type

Pricing or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.AlertsOperations(client, config, serializer, deserializer)[source]

Bases: object

AlertsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-01-01”.

get_resource_group_level_alerts(alert_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Get an alert that is associated a resource group or a resource in a resource group.

Parameters
  • alert_name (str) – Name of the alert object

  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Alert or ClientRawResponse if raw=true

Return type

Alert or ClientRawResponse

Raises

CloudError

get_subscription_level_alert(alert_name, custom_headers=None, raw=False, **operation_config)[source]

Get an alert that is associated with a subscription.

Parameters
  • alert_name (str) – Name of the alert object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Alert or ClientRawResponse if raw=true

Return type

Alert or ClientRawResponse

Raises

CloudError

list(filter=None, select=None, expand=None, custom_headers=None, raw=False, **operation_config)[source]

List all the alerts that are associated with the subscription.

Parameters
  • filter (str) – OData filter. Optional.

  • select (str) – OData select. Optional.

  • expand (str) – OData expand. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Alert

Return type

AlertPaged[Alert]

Raises

CloudError

list_by_resource_group(resource_group_name, filter=None, select=None, expand=None, custom_headers=None, raw=False, **operation_config)[source]

List all the alerts that are associated with the resource group.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • filter (str) – OData filter. Optional.

  • select (str) – OData select. Optional.

  • expand (str) – OData expand. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Alert

Return type

AlertPaged[Alert]

Raises

CloudError

list_resource_group_level_alerts_by_region(resource_group_name, filter=None, select=None, expand=None, custom_headers=None, raw=False, **operation_config)[source]

List all the alerts that are associated with the resource group that are stored in a specific location.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • filter (str) – OData filter. Optional.

  • select (str) – OData select. Optional.

  • expand (str) – OData expand. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Alert

Return type

AlertPaged[Alert]

Raises

CloudError

list_subscription_level_alerts_by_region(filter=None, select=None, expand=None, custom_headers=None, raw=False, **operation_config)[source]

List all the alerts that are associated with the subscription that are stored in a specific location.

Parameters
  • filter (str) – OData filter. Optional.

  • select (str) – OData select. Optional.

  • expand (str) – OData expand. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Alert

Return type

AlertPaged[Alert]

Raises

CloudError

update_resource_group_level_alert_state(alert_name, alert_update_action_type, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Update the alert’s state.

Parameters
  • alert_name (str) – Name of the alert object

  • alert_update_action_type (str) – Type of the action to do on the alert. Possible values include: ‘Dismiss’, ‘Reactivate’

  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

update_subscription_level_alert_state(alert_name, alert_update_action_type, custom_headers=None, raw=False, **operation_config)[source]

Update the alert’s state.

Parameters
  • alert_name (str) – Name of the alert object

  • alert_update_action_type (str) – Type of the action to do on the alert. Possible values include: ‘Dismiss’, ‘Reactivate’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.SettingsOperations(client, config, serializer, deserializer)[source]

Bases: object

SettingsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-01-01”.

get(setting_name, custom_headers=None, raw=False, **operation_config)[source]

Settings of different configurations in security center.

Parameters
  • setting_name (str) – Name of setting: (MCAS/WDATP). Possible values include: ‘MCAS’, ‘WDATP’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Setting or ClientRawResponse if raw=true

Return type

Setting or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Settings about different configurations in security center.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Setting

Return type

SettingPaged[Setting]

Raises

CloudError

update(setting_name, kind, custom_headers=None, raw=False, **operation_config)[source]

updating settings about different configurations in security center.

Parameters
  • setting_name (str) – Name of setting: (MCAS/WDATP). Possible values include: ‘MCAS’, ‘WDATP’

  • kind (str or SettingKind) – the kind of the settings string (DataExportSetting). Possible values include: ‘DataExportSetting’, ‘AlertSuppressionSetting’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Setting or ClientRawResponse if raw=true

Return type

Setting or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

list(filter=None, custom_headers=None, raw=False, **operation_config)[source]

List of security solutions.

Parameters
  • filter (str) – filter the Security Solution with OData syntax. supporting filter by iotHubs

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of IoTSecuritySolutionModel

Return type

IoTSecuritySolutionModelPaged[IoTSecuritySolutionModel]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsResourceGroupOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsResourceGroupOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

list(resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

List of security solutions.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • filter (str) – filter the Security Solution with OData syntax. supporting filter by iotHubs

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of IoTSecuritySolutionModel

Return type

IoTSecuritySolutionModelPaged[IoTSecuritySolutionModel]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IotSecuritySolutionOperations(client, config, serializer, deserializer)[source]

Bases: object

IotSecuritySolutionOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

create(resource_group_name, solution_name, iot_security_solution_data, custom_headers=None, raw=False, **operation_config)[source]

Create new solution manager.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • iot_security_solution_data (IoTSecuritySolutionModel) – The security solution data

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecuritySolutionModel or ClientRawResponse if raw=true

Return type

IoTSecuritySolutionModel or ClientRawResponse

Raises

CloudError

delete(resource_group_name, solution_name, custom_headers=None, raw=False, **operation_config)[source]

Create new solution manager.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, solution_name, custom_headers=None, raw=False, **operation_config)[source]

Details of a specific iot security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecuritySolutionModel or ClientRawResponse if raw=true

Return type

IoTSecuritySolutionModel or ClientRawResponse

Raises

CloudError

update(resource_group_name, solution_name, update_iot_security_solution_data, custom_headers=None, raw=False, **operation_config)[source]

update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • update_iot_security_solution_data (UpdateIotSecuritySolutionData) – The security solution data

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecuritySolutionModel or ClientRawResponse if raw=true

Return type

IoTSecuritySolutionModel or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsAnalyticsOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsAnalyticsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

get_all(resource_group_name, solution_name, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecuritySolutionAnalyticsModelList or ClientRawResponse if raw=true

Return type

IoTSecuritySolutionAnalyticsModelList or ClientRawResponse

Raises

CloudError

get_default(resource_group_name, solution_name, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecuritySolutionAnalyticsModel or ClientRawResponse if raw=true

Return type

IoTSecuritySolutionAnalyticsModel or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsAnalyticsAggregatedAlertsOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsAnalyticsAggregatedAlertsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

list(resource_group_name, solution_name, top=None, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • top (int) – The number of results to retrieve.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of IoTSecurityAggregatedAlert

Return type

IoTSecurityAggregatedAlertPaged[IoTSecurityAggregatedAlert]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsAnalyticsAggregatedAlertOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsAnalyticsAggregatedAlertOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

dismiss(resource_group_name, solution_name, aggregated_alert_name, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • aggregated_alert_name (str) – Identifier of the aggregated alert

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, solution_name, aggregated_alert_name, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • aggregated_alert_name (str) – Identifier of the aggregated alert

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecurityAggregatedAlert or ClientRawResponse if raw=true

Return type

IoTSecurityAggregatedAlert or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsAnalyticsRecommendationOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsAnalyticsRecommendationOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

get(resource_group_name, solution_name, aggregated_recommendation_name, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • aggregated_recommendation_name (str) – Identifier of the aggregated recommendation

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

IoTSecurityAggregatedRecommendation or ClientRawResponse if raw=true

Return type

IoTSecurityAggregatedRecommendation or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.IoTSecuritySolutionsAnalyticsRecommendationsOperations(client, config, serializer, deserializer)[source]

Bases: object

IoTSecuritySolutionsAnalyticsRecommendationsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-08-01”.

list(resource_group_name, solution_name, top=None, custom_headers=None, raw=False, **operation_config)[source]

Security Analytics of a security solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • solution_name (str) – The solution manager name

  • top (int) – The number of results to retrieve.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of IoTSecurityAggregatedRecommendation

Return type

IoTSecurityAggregatedRecommendationPaged[IoTSecurityAggregatedRecommendation]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.AllowedConnectionsOperations(client, config, serializer, deserializer)[source]

Bases: object

AllowedConnectionsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(resource_group_name, connection_type, custom_headers=None, raw=False, **operation_config)[source]

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • connection_type (str or ConnectionType) – The type of allowed connections (Internal, External). Possible values include: ‘Internal’, ‘External’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AllowedConnectionsResource or ClientRawResponse if raw=true

Return type

AllowedConnectionsResource or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Gets the list of all possible traffic between resources for the subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of AllowedConnectionsResource

Return type

AllowedConnectionsResourcePaged[AllowedConnectionsResource]

Raises

CloudError

list_by_home_region(custom_headers=None, raw=False, **operation_config)[source]

Gets the list of all possible traffic between resources for the subscription and location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of AllowedConnectionsResource

Return type

AllowedConnectionsResourcePaged[AllowedConnectionsResource]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.DiscoveredSecuritySolutionsOperations(client, config, serializer, deserializer)[source]

Bases: object

DiscoveredSecuritySolutionsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(resource_group_name, discovered_security_solution_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a specific discovered Security Solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • discovered_security_solution_name (str) – Name of a discovered security solution.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

DiscoveredSecuritySolution or ClientRawResponse if raw=true

Return type

DiscoveredSecuritySolution or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of discovered Security Solutions for the subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of DiscoveredSecuritySolution

Return type

DiscoveredSecuritySolutionPaged[DiscoveredSecuritySolution]

Raises

CloudError

list_by_home_region(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of discovered Security Solutions for the subscription and location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of DiscoveredSecuritySolution

Return type

DiscoveredSecuritySolutionPaged[DiscoveredSecuritySolution]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.ExternalSecuritySolutionsOperations(client, config, serializer, deserializer)[source]

Bases: object

ExternalSecuritySolutionsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(resource_group_name, external_security_solutions_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a specific external Security Solution.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • external_security_solutions_name (str) – Name of an external security solution.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ExternalSecuritySolution or ClientRawResponse if raw=true

Return type

ExternalSecuritySolution or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of external security solutions for the subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ExternalSecuritySolution

Return type

ExternalSecuritySolutionPaged[ExternalSecuritySolution]

Raises

CloudError

list_by_home_region(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of external Security Solutions for the subscription and location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ExternalSecuritySolution

Return type

ExternalSecuritySolutionPaged[ExternalSecuritySolution]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.JitNetworkAccessPoliciesOperations(client, config, serializer, deserializer)[source]

Bases: object

JitNetworkAccessPoliciesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables
  • api_version – API version for the operation. Constant value: “2015-06-01-preview”.

  • jit_network_access_policy_initiate_type – Type of the action to do on the Just-in-Time access policy. Constant value: “initiate”.

create_or_update(resource_group_name, jit_network_access_policy_name, body, custom_headers=None, raw=False, **operation_config)[source]

Create a policy for protecting resources using Just-in-Time access control.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • jit_network_access_policy_name (str) – Name of a Just-in-Time access configuration policy.

  • body (JitNetworkAccessPolicy) –

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

JitNetworkAccessPolicy or ClientRawResponse if raw=true

Return type

JitNetworkAccessPolicy or ClientRawResponse

Raises

CloudError

delete(resource_group_name, jit_network_access_policy_name, custom_headers=None, raw=False, **operation_config)[source]

Delete a Just-in-Time access control policy.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • jit_network_access_policy_name (str) – Name of a Just-in-Time access configuration policy.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, jit_network_access_policy_name, custom_headers=None, raw=False, **operation_config)[source]

Policies for protecting resources using Just-in-Time access control for the subscription, location.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • jit_network_access_policy_name (str) – Name of a Just-in-Time access configuration policy.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

JitNetworkAccessPolicy or ClientRawResponse if raw=true

Return type

JitNetworkAccessPolicy or ClientRawResponse

Raises

CloudError

initiate(resource_group_name, jit_network_access_policy_name, virtual_machines, custom_headers=None, raw=False, **operation_config)[source]

Initiate a JIT access from a specific Just-in-Time policy configuration.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • jit_network_access_policy_name (str) – Name of a Just-in-Time access configuration policy.

  • virtual_machines (list[JitNetworkAccessPolicyInitiateVirtualMachine]) – A list of virtual machines & ports to open access for

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

JitNetworkAccessRequest or ClientRawResponse if raw=true

Return type

JitNetworkAccessRequest or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Policies for protecting resources using Just-in-Time access control.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of JitNetworkAccessPolicy

Return type

JitNetworkAccessPolicyPaged[JitNetworkAccessPolicy]

Raises

CloudError

list_by_region(custom_headers=None, raw=False, **operation_config)[source]

Policies for protecting resources using Just-in-Time access control for the subscription, location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of JitNetworkAccessPolicy

Return type

JitNetworkAccessPolicyPaged[JitNetworkAccessPolicy]

Raises

CloudError

list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Policies for protecting resources using Just-in-Time access control for the subscription, location.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of JitNetworkAccessPolicy

Return type

JitNetworkAccessPolicyPaged[JitNetworkAccessPolicy]

Raises

CloudError

list_by_resource_group_and_region(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Policies for protecting resources using Just-in-Time access control for the subscription, location.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of JitNetworkAccessPolicy

Return type

JitNetworkAccessPolicyPaged[JitNetworkAccessPolicy]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.AdaptiveApplicationControlsOperations(client, config, serializer, deserializer)[source]

Bases: object

AdaptiveApplicationControlsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(group_name, custom_headers=None, raw=False, **operation_config)[source]

Gets an application control VM/server group.

Parameters
  • group_name (str) – Name of an application control VM/server group

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AppWhitelistingGroup or ClientRawResponse if raw=true

Return type

AppWhitelistingGroup or ClientRawResponse

Raises

CloudError

list(include_path_recommendations=None, summary=None, custom_headers=None, raw=False, **operation_config)[source]

Gets a list of application control VM/server groups for the subscription.

Parameters
  • include_path_recommendations (bool) – Include the policy rules

  • summary (bool) – Return output in a summarized form

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AppWhitelistingGroups or ClientRawResponse if raw=true

Return type

AppWhitelistingGroups or ClientRawResponse

Raises

CloudError

put(group_name, body, custom_headers=None, raw=False, **operation_config)[source]

Update an application control VM/server group.

Parameters
  • group_name (str) – Name of an application control VM/server group

  • body (AppWhitelistingPutGroupData) – The updated VM/server group data

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AppWhitelistingGroup or ClientRawResponse if raw=true

Return type

AppWhitelistingGroup or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.LocationsOperations(client, config, serializer, deserializer)[source]

Bases: object

LocationsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(custom_headers=None, raw=False, **operation_config)[source]

Details of a specific location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AscLocation or ClientRawResponse if raw=true

Return type

AscLocation or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of AscLocation

Return type

AscLocationPaged[AscLocation]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

list(custom_headers=None, raw=False, **operation_config)[source]

Exposes all available operations for discovery purposes.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Operation

Return type

OperationPaged[Operation]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.TasksOperations(client, config, serializer, deserializer)[source]

Bases: object

TasksOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get_resource_group_level_task(resource_group_name, task_name, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • task_name (str) – Name of the task object, will be a GUID

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SecurityTask or ClientRawResponse if raw=true

Return type

SecurityTask or ClientRawResponse

Raises

CloudError

get_subscription_level_task(task_name, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • task_name (str) – Name of the task object, will be a GUID

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SecurityTask or ClientRawResponse if raw=true

Return type

SecurityTask or ClientRawResponse

Raises

CloudError

list(filter=None, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SecurityTask

Return type

SecurityTaskPaged[SecurityTask]

Raises

CloudError

list_by_home_region(filter=None, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SecurityTask

Return type

SecurityTaskPaged[SecurityTask]

Raises

CloudError

list_by_resource_group(resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SecurityTask

Return type

SecurityTaskPaged[SecurityTask]

Raises

CloudError

update_resource_group_level_task_state(resource_group_name, task_name, task_update_action_type, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • task_name (str) – Name of the task object, will be a GUID

  • task_update_action_type (str) – Type of the action to do on the task. Possible values include: ‘Activate’, ‘Dismiss’, ‘Start’, ‘Resolve’, ‘Close’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

update_subscription_level_task_state(task_name, task_update_action_type, custom_headers=None, raw=False, **operation_config)[source]

Recommended tasks that will help improve the security of the subscription proactively.

Parameters
  • task_name (str) – Name of the task object, will be a GUID

  • task_update_action_type (str) – Type of the action to do on the task. Possible values include: ‘Activate’, ‘Dismiss’, ‘Start’, ‘Resolve’, ‘Close’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.TopologyOperations(client, config, serializer, deserializer)[source]

Bases: object

TopologyOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2015-06-01-preview”.

get(resource_group_name, topology_resource_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a specific topology component.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • topology_resource_name (str) – Name of a topology resources collection.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

TopologyResource or ClientRawResponse if raw=true

Return type

TopologyResource or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Gets a list that allows to build a topology view of a subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of TopologyResource

Return type

TopologyResourcePaged[TopologyResource]

Raises

CloudError

list_by_home_region(custom_headers=None, raw=False, **operation_config)[source]

Gets a list that allows to build a topology view of a subscription and location.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of TopologyResource

Return type

TopologyResourcePaged[TopologyResource]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.AdvancedThreatProtectionOperations(client, config, serializer, deserializer)[source]

Bases: object

AdvancedThreatProtectionOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables
  • api_version – API version for the operation. Constant value: “2017-08-01-preview”.

  • setting_name – Advanced Threat Protection setting name. Constant value: “current”.

create(resource_id, is_enabled=None, custom_headers=None, raw=False, **operation_config)[source]

Creates or updates the Advanced Threat Protection settings on a specified resource.

Parameters
  • resource_id (str) – The identifier of the resource.

  • is_enabled (bool) – Indicates whether Advanced Threat Protection is enabled.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AdvancedThreatProtectionSetting or ClientRawResponse if raw=true

Return type

AdvancedThreatProtectionSetting or ClientRawResponse

Raises

CloudError

get(resource_id, custom_headers=None, raw=False, **operation_config)[source]

Gets the Advanced Threat Protection settings for the specified resource.

Parameters
  • resource_id (str) – The identifier of the resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AdvancedThreatProtectionSetting or ClientRawResponse if raw=true

Return type

AdvancedThreatProtectionSetting or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.AutoProvisioningSettingsOperations(client, config, serializer, deserializer)[source]

Bases: object

AutoProvisioningSettingsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01-preview”.

create(setting_name, auto_provision, custom_headers=None, raw=False, **operation_config)[source]

Details of a specific setting.

Parameters
  • setting_name (str) – Auto provisioning setting key

  • auto_provision (str or AutoProvision) – Describes what kind of security agent provisioning action to take. Possible values include: ‘On’, ‘Off’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AutoProvisioningSetting or ClientRawResponse if raw=true

Return type

AutoProvisioningSetting or ClientRawResponse

Raises

CloudError

get(setting_name, custom_headers=None, raw=False, **operation_config)[source]

Details of a specific setting.

Parameters
  • setting_name (str) – Auto provisioning setting key

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

AutoProvisioningSetting or ClientRawResponse if raw=true

Return type

AutoProvisioningSetting or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Exposes the auto provisioning settings of the subscriptions.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of AutoProvisioningSetting

Return type

AutoProvisioningSettingPaged[AutoProvisioningSetting]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.CompliancesOperations(client, config, serializer, deserializer)[source]

Bases: object

CompliancesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01-preview”.

get(scope, compliance_name, custom_headers=None, raw=False, **operation_config)[source]

Details of a specific Compliance.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • compliance_name (str) – name of the Compliance

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Compliance or ClientRawResponse if raw=true

Return type

Compliance or ClientRawResponse

Raises

CloudError

list(scope, custom_headers=None, raw=False, **operation_config)[source]

The Compliance scores of the specific management group.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Compliance

Return type

CompliancePaged[Compliance]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.InformationProtectionPoliciesOperations(client, config, serializer, deserializer)[source]

Bases: object

InformationProtectionPoliciesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01-preview”.

create_or_update(scope, information_protection_policy_name, custom_headers=None, raw=False, **operation_config)[source]

Details of the information protection policy.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • information_protection_policy_name (str) – Name of the information protection policy. Possible values include: ‘effective’, ‘custom’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

InformationProtectionPolicy or ClientRawResponse if raw=true

Return type

InformationProtectionPolicy or ClientRawResponse

Raises

CloudError

get(scope, information_protection_policy_name, custom_headers=None, raw=False, **operation_config)[source]

Details of the information protection policy.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • information_protection_policy_name (str) – Name of the information protection policy. Possible values include: ‘effective’, ‘custom’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

InformationProtectionPolicy or ClientRawResponse if raw=true

Return type

InformationProtectionPolicy or ClientRawResponse

Raises

CloudError

list(scope, custom_headers=None, raw=False, **operation_config)[source]

Information protection policies of a specific management group.

Parameters
  • scope (str) – Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of InformationProtectionPolicy

Return type

InformationProtectionPolicyPaged[InformationProtectionPolicy]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.SecurityContactsOperations(client, config, serializer, deserializer)[source]

Bases: object

SecurityContactsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01-preview”.

create(security_contact_name, security_contact, custom_headers=None, raw=False, **operation_config)[source]

Security contact configurations for the subscription.

Parameters
  • security_contact_name (str) – Name of the security contact object

  • security_contact (SecurityContact) – Security contact object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SecurityContact or ClientRawResponse if raw=true

Return type

SecurityContact or ClientRawResponse

Raises

CloudError

delete(security_contact_name, custom_headers=None, raw=False, **operation_config)[source]

Security contact configurations for the subscription.

Parameters
  • security_contact_name (str) – Name of the security contact object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(security_contact_name, custom_headers=None, raw=False, **operation_config)[source]

Security contact configurations for the subscription.

Parameters
  • security_contact_name (str) – Name of the security contact object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SecurityContact or ClientRawResponse if raw=true

Return type

SecurityContact or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Security contact configurations for the subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SecurityContact

Return type

SecurityContactPaged[SecurityContact]

Raises

CloudError

update(security_contact_name, security_contact, custom_headers=None, raw=False, **operation_config)[source]

Security contact configurations for the subscription.

Parameters
  • security_contact_name (str) – Name of the security contact object

  • security_contact (SecurityContact) – Security contact object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SecurityContact or ClientRawResponse if raw=true

Return type

SecurityContact or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.WorkspaceSettingsOperations(client, config, serializer, deserializer)[source]

Bases: object

WorkspaceSettingsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2017-08-01-preview”.

create(workspace_setting_name, workspace_id, scope, custom_headers=None, raw=False, **operation_config)[source]

creating settings about where we should store your security data and logs.

Parameters
  • workspace_setting_name (str) – Name of the security setting

  • workspace_id (str) – The full Azure ID of the workspace to save the data in

  • scope (str) – All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

WorkspaceSetting or ClientRawResponse if raw=true

Return type

WorkspaceSetting or ClientRawResponse

Raises

CloudError

delete(workspace_setting_name, custom_headers=None, raw=False, **operation_config)[source]

Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.

Parameters
  • workspace_setting_name (str) – Name of the security setting

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(workspace_setting_name, custom_headers=None, raw=False, **operation_config)[source]

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

Parameters
  • workspace_setting_name (str) – Name of the security setting

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

WorkspaceSetting or ClientRawResponse if raw=true

Return type

WorkspaceSetting or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of WorkspaceSetting

Return type

WorkspaceSettingPaged[WorkspaceSetting]

Raises

CloudError

update(workspace_setting_name, workspace_id, scope, custom_headers=None, raw=False, **operation_config)[source]

Settings about where we should store your security data and logs.

Parameters
  • workspace_setting_name (str) – Name of the security setting

  • workspace_id (str) – The full Azure ID of the workspace to save the data in

  • scope (str) – All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

WorkspaceSetting or ClientRawResponse if raw=true

Return type

WorkspaceSetting or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.RegulatoryComplianceStandardsOperations(client, config, serializer, deserializer)[source]

Bases: object

RegulatoryComplianceStandardsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-01-01-preview”.

get(regulatory_compliance_standard_name, custom_headers=None, raw=False, **operation_config)[source]

Supported regulatory compliance details state for selected standard.

Parameters
  • regulatory_compliance_standard_name (str) – Name of the regulatory compliance standard object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RegulatoryComplianceStandard or ClientRawResponse if raw=true

Return type

RegulatoryComplianceStandard or ClientRawResponse

Raises

CloudError

list(filter=None, custom_headers=None, raw=False, **operation_config)[source]

Supported regulatory compliance standards details and state.

Parameters
  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of RegulatoryComplianceStandard

Return type

RegulatoryComplianceStandardPaged[RegulatoryComplianceStandard]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.RegulatoryComplianceControlsOperations(client, config, serializer, deserializer)[source]

Bases: object

RegulatoryComplianceControlsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-01-01-preview”.

get(regulatory_compliance_standard_name, regulatory_compliance_control_name, custom_headers=None, raw=False, **operation_config)[source]

Selected regulatory compliance control details and state.

Parameters
  • regulatory_compliance_standard_name (str) – Name of the regulatory compliance standard object

  • regulatory_compliance_control_name (str) – Name of the regulatory compliance control object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RegulatoryComplianceControl or ClientRawResponse if raw=true

Return type

RegulatoryComplianceControl or ClientRawResponse

Raises

CloudError

list(regulatory_compliance_standard_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

All supported regulatory compliance controls details and state for selected standard.

Parameters
  • regulatory_compliance_standard_name (str) – Name of the regulatory compliance standard object

  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of RegulatoryComplianceControl

Return type

RegulatoryComplianceControlPaged[RegulatoryComplianceControl]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.RegulatoryComplianceAssessmentsOperations(client, config, serializer, deserializer)[source]

Bases: object

RegulatoryComplianceAssessmentsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – API version for the operation. Constant value: “2019-01-01-preview”.

get(regulatory_compliance_standard_name, regulatory_compliance_control_name, regulatory_compliance_assessment_name, custom_headers=None, raw=False, **operation_config)[source]

Supported regulatory compliance details and state for selected assessment.

Parameters
  • regulatory_compliance_standard_name (str) – Name of the regulatory compliance standard object

  • regulatory_compliance_control_name (str) – Name of the regulatory compliance control object

  • regulatory_compliance_assessment_name (str) – Name of the regulatory compliance assessment object

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

RegulatoryComplianceAssessment or ClientRawResponse if raw=true

Return type

RegulatoryComplianceAssessment or ClientRawResponse

Raises

CloudError

list(regulatory_compliance_standard_name, regulatory_compliance_control_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Details and state of assessments mapped to selected regulatory compliance control.

Parameters
  • regulatory_compliance_standard_name (str) – Name of the regulatory compliance standard object

  • regulatory_compliance_control_name (str) – Name of the regulatory compliance control object

  • filter (str) – OData filter. Optional.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of RegulatoryComplianceAssessment

Return type

RegulatoryComplianceAssessmentPaged[RegulatoryComplianceAssessment]

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>
class azure.mgmt.security.operations.ServerVulnerabilityAssessmentOperations(client, config, serializer, deserializer)[source]

Bases: object

ServerVulnerabilityAssessmentOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables
  • api_version – API version for the operation. Constant value: “2019-01-01-preview”.

  • server_vulnerability_assessment – ServerVulnerabilityAssessment status. only a ‘default’ value is supported. Constant value: “default”.

create_or_update(resource_group_name, resource_namespace, resource_type, resource_name, custom_headers=None, raw=False, **operation_config)[source]

Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • resource_namespace (str) – The Namespace of the resource.

  • resource_type (str) – The type of the resource.

  • resource_name (str) – Name of the resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ServerVulnerabilityAssessment or ClientRawResponse if raw=true

Return type

ServerVulnerabilityAssessment or ClientRawResponse

Raises

CloudError

delete(resource_group_name, resource_namespace, resource_type, resource_name, custom_headers=None, raw=False, **operation_config)[source]

Removing server vulnerability assessment from a resource.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • resource_namespace (str) – The Namespace of the resource.

  • resource_type (str) – The type of the resource.

  • resource_name (str) – Name of the resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, resource_namespace, resource_type, resource_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a server vulnerability assessment onboarding statuses on a given resource.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • resource_namespace (str) – The Namespace of the resource.

  • resource_type (str) – The type of the resource.

  • resource_name (str) – Name of the resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ServerVulnerabilityAssessment or ClientRawResponse if raw=true

Return type

ServerVulnerabilityAssessment or ClientRawResponse

Raises

CloudError

list_by_extended_resource(resource_group_name, resource_namespace, resource_type, resource_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a list of server vulnerability assessment onboarding statuses on a given resource.

Parameters
  • resource_group_name (str) – The name of the resource group within the user’s subscription. The name is case insensitive.

  • resource_namespace (str) – The Namespace of the resource.

  • resource_type (str) – The type of the resource.

  • resource_name (str) – Name of the resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ServerVulnerabilityAssessmentsList or ClientRawResponse if raw=true

Return type

ServerVulnerabilityAssessmentsList or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.security.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/security/azure-mgmt-security/azure/mgmt/security/models/__init__.py'>