PricingsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:pricings> attribute.
Constructor
PricingsOperations(*args, **kwargs)
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.
get(pricing_name: str, **kwargs: Any) -> Pricing
Parameters
Name | Description |
---|---|
pricing_name
Required
|
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.
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.
update(pricing_name: str, pricing: _models.Pricing, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Pricing
Parameters
Name | Description |
---|---|
pricing_name
Required
|
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 |
---|---|
models
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'>
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: