ComponentCurrentPricingPlanOperations Class

ComponentCurrentPricingPlanOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Inheritance
builtins.object
ComponentCurrentPricingPlanOperations

Constructor

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

api_version

The API version to use for this operation. Constant value: "2017-10-01".

Methods

create_and_update

Replace current pricing plan for an Application Insights component.

get

Returns the current pricing plan setting for an Application Insights component.

update

Update current pricing plan for an Application Insights component.

create_and_update

Replace current pricing plan for an Application Insights component.

create_and_update(resource_group_name, resource_name, pricing_plan_properties, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

pricing_plan_properties
ApplicationInsightsComponentPricingPlan
Required

Properties that need to be specified to update current pricing plan for an Application Insights component.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ApplicationInsightsComponentPricingPlan or ClientRawResponse if raw=true

Return type

Exceptions

get

Returns the current pricing plan setting for an Application Insights component.

get(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ApplicationInsightsComponentPricingPlan or ClientRawResponse if raw=true

Return type

Exceptions

update

Update current pricing plan for an Application Insights component.

update(resource_group_name, resource_name, pricing_plan_properties, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

pricing_plan_properties
ApplicationInsightsComponentPricingPlan
Required

Properties that need to be specified to update current pricing plan for an Application Insights component.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ApplicationInsightsComponentPricingPlan or ClientRawResponse if raw=true

Return type

Exceptions

Attributes

models

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