PricingsOperations interface
Interface representing a Pricings operations.
Properties
| delete | Deletes a provided Microsoft Defender for Cloud pricing configuration in a specific resource. Valid only for resource scope (Supported resources are: 'VirtualMachines, VMSS, ARC Machines, and Containers'). |
| get | Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'. |
| list | Lists Microsoft Defender for Cloud pricing configurations of the scopeId, that match the optional given $filter. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines'). Valid $filter is: 'name in ({planName1},{planName2},...)'. If $filter is not provided, the unfiltered list will be returned. If '$filter=name in (planName1,planName2)' is provided, the returned list includes the pricings set for 'planName1' and 'planName2' only. |
| update | Updates a provided Microsoft Defender for Cloud pricing configuration in the scope. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines' and only for plan='VirtualMachines' and subPlan='P1'). |
Property Details
delete
Deletes a provided Microsoft Defender for Cloud pricing configuration in a specific resource. Valid only for resource scope (Supported resources are: 'VirtualMachines, VMSS, ARC Machines, and Containers').
delete: (scopeId: string, pricingName: string, options?: PricingsDeleteOptionalParams) => Promise<void>
Property Value
(scopeId: string, pricingName: string, options?: PricingsDeleteOptionalParams) => Promise<void>
get
Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'.
get: (scopeId: string, pricingName: string, options?: PricingsGetOptionalParams) => Promise<Pricing>
Property Value
(scopeId: string, pricingName: string, options?: PricingsGetOptionalParams) => Promise<Pricing>
list
Lists Microsoft Defender for Cloud pricing configurations of the scopeId, that match the optional given $filter. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines'). Valid $filter is: 'name in ({planName1},{planName2},...)'. If $filter is not provided, the unfiltered list will be returned. If '$filter=name in (planName1,planName2)' is provided, the returned list includes the pricings set for 'planName1' and 'planName2' only.
list: (scopeId: string, options?: PricingsListOptionalParams) => Promise<PricingList>
Property Value
(scopeId: string, options?: PricingsListOptionalParams) => Promise<PricingList>
update
Updates a provided Microsoft Defender for Cloud pricing configuration in the scope. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines' and only for plan='VirtualMachines' and subPlan='P1').
update: (scopeId: string, pricingName: string, pricing: Pricing, options?: PricingsUpdateOptionalParams) => Promise<Pricing>
Property Value
(scopeId: string, pricingName: string, pricing: Pricing, options?: PricingsUpdateOptionalParams) => Promise<Pricing>