SecureScoreControlsOperations Class

SecureScoreControlsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
SecureScoreControlsOperations

Constructor

SecureScoreControlsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

list

Get all security controls within a scope.

list_by_secure_score

Get all security controls for a specific initiative within a scope.

list

Get all security controls within a scope.

list(expand: Optional[Union[str, azure.mgmt.security.models._security_center_enums.ExpandControlsEnum]] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecureScoreControlList]

Parameters

expand
str or ExpandControlsEnum
default value: None

OData expand. Optional.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either SecureScoreControlList or the result of cls(response)

Return type

Exceptions

list_by_secure_score

Get all security controls for a specific initiative within a scope.

list_by_secure_score(secure_score_name: str, expand: Optional[Union[str, azure.mgmt.security.models._security_center_enums.ExpandControlsEnum]] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecureScoreControlList]

Parameters

secure_score_name
str
Required

The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.

expand
str or ExpandControlsEnum
default value: None

OData expand. Optional.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either SecureScoreControlList or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>