PricingsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:pricings> attribute.

Constructor

Python
PricingsOperations(*args, **kwargs)

Methods

get

Gets a provided Microsoft Defender for Cloud pricing configuration in the subscription.

list

Lists Microsoft Defender for Cloud pricing configurations in the subscription.

update

Updates a provided Microsoft Defender for Cloud pricing configuration in the subscription.

get

Gets a provided Microsoft Defender for Cloud pricing configuration in the subscription.

Python
get(pricing_name: str, **kwargs: Any) -> Pricing

Parameters

Name Description
pricing_name
Required
str

name of the pricing configuration. Required.

Returns

Type Description

Pricing or the result of cls(response)

Exceptions

Type Description

list

Lists Microsoft Defender for Cloud pricing configurations in the subscription.

Python
list(**kwargs: Any) -> PricingList

Returns

Type Description

PricingList or the result of cls(response)

Exceptions

Type Description

update

Updates a provided Microsoft Defender for Cloud pricing configuration in the subscription.

Python
update(pricing_name: str, pricing: _models.Pricing, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Pricing

Parameters

Name Description
pricing_name
Required
str

name of the pricing configuration. Required.

pricing
Required

Pricing object. Is either a Pricing type or a IO[bytes] type. Required.

Returns

Type Description

Pricing or the result of cls(response)

Exceptions

Type Description

Attributes

models

Python
models = <module 'azure.mgmt.security.v2022_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv200\\Lib\\site-packages\\azure\\mgmt\\security\\v2022_03_01\\models\\__init__.py'>