AssessmentsMetadataOperations Class

AssessmentsMetadataOperations 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
AssessmentsMetadataOperations

Constructor

AssessmentsMetadataOperations(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

create_in_subscription

Create metadata information on an assessment type in a specific subscription.

delete_in_subscription

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

get

Get metadata information on an assessment type.

get_in_subscription

Get metadata information on an assessment type in a specific subscription.

list

Get metadata information on all assessment types.

list_by_subscription

Get metadata information on all assessment types in a specific subscription.

create_in_subscription

Create metadata information on an assessment type in a specific subscription.

async create_in_subscription(assessment_metadata_name: str, assessment_metadata: azure.mgmt.security.models._models_py3.SecurityAssessmentMetadata, **kwargs) -> azure.mgmt.security.models._models_py3.SecurityAssessmentMetadata

Parameters

assessment_metadata_name
str
Required

The Assessment Key - Unique key for the assessment type.

assessment_metadata
SecurityAssessmentMetadata
Required

AssessmentMetadata object.

cls
callable

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

Returns

SecurityAssessmentMetadata, or the result of cls(response)

Return type

Exceptions

delete_in_subscription

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

async delete_in_subscription(assessment_metadata_name: str, **kwargs) -> None

Parameters

assessment_metadata_name
str
Required

The Assessment Key - Unique key for the assessment type.

cls
callable

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

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Get metadata information on an assessment type.

async get(assessment_metadata_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.SecurityAssessmentMetadata

Parameters

assessment_metadata_name
str
Required

The Assessment Key - Unique key for the assessment type.

cls
callable

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

Returns

SecurityAssessmentMetadata, or the result of cls(response)

Return type

Exceptions

get_in_subscription

Get metadata information on an assessment type in a specific subscription.

async get_in_subscription(assessment_metadata_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.SecurityAssessmentMetadata

Parameters

assessment_metadata_name
str
Required

The Assessment Key - Unique key for the assessment type.

cls
callable

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

Returns

SecurityAssessmentMetadata, or the result of cls(response)

Return type

Exceptions

list

Get metadata information on all assessment types.

list(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecurityAssessmentMetadataList]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

list_by_subscription

Get metadata information on all assessment types in a specific subscription.

list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecurityAssessmentMetadataList]

Parameters

cls
callable

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

Returns

An iterator like instance of either SecurityAssessmentMetadataList 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'>