ComponentLinkedStorageAccountsOperations Class

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

Constructor

ComponentLinkedStorageAccountsOperations(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: "2020-03-01-preview".

storage_type

The type of the Application Insights component data source for the linked storage account. Constant value: "ServiceProfiler".

Methods

create_and_update

Replace current linked storage account for an Application Insights component.

delete

Delete linked storage accounts for an Application Insights component.

get

Returns the current linked storage settings for an Application Insights component.

update

Update linked storage accounts for an Application Insights component.

create_and_update

Replace current linked storage account for an Application Insights component.

create_and_update(resource_group_name, resource_name, linked_storage_account=None, 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.

linked_storage_account
str
default value: None

Linked storage account resource ID

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

ComponentLinkedStorageAccounts or ClientRawResponse if raw=true

Return type

Exceptions

delete

Delete linked storage accounts for an Application Insights component.

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

None or ClientRawResponse if raw=true

Return type

None,

Exceptions

get

Returns the current linked storage settings 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

ComponentLinkedStorageAccounts or ClientRawResponse if raw=true

Return type

Exceptions

update

Update linked storage accounts for an Application Insights component.

update(resource_group_name, resource_name, linked_storage_account=None, 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.

linked_storage_account
str
default value: None

Linked storage account resource ID

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

ComponentLinkedStorageAccounts or ClientRawResponse if raw=true

Return type

Exceptions

Attributes

models

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