DataCollectionEndpointsOperations Class

DataCollectionEndpointsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
DataCollectionEndpointsOperations

Constructor

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

models

Alias to model classes used in this operation group.

Methods

create

Creates or updates a data collection endpoint.

Creates or updates a data collection endpoint.

delete

Deletes a data collection endpoint.

Deletes a data collection endpoint.

get

Returns the specified data collection endpoint.

Returns the specified data collection endpoint.

list_by_resource_group

Lists all data collection endpoints in the specified resource group.

Lists all data collection endpoints in the specified resource group.

list_by_subscription

Lists all data collection endpoints in the specified subscription.

Lists all data collection endpoints in the specified subscription.

update

Updates part of a data collection endpoint.

Updates part of a data collection endpoint.

create

Creates or updates a data collection endpoint.

Creates or updates a data collection endpoint.

async create(resource_group_name: str, data_collection_endpoint_name: str, body: Optional[azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResource] = None, **kwargs: Any) -> azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResource

Parameters

resource_group_name
str
Required

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

data_collection_endpoint_name
str
Required

The name of the data collection endpoint. The name is case insensitive.

body
<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResource
Required

The payload.

cls
callable

A custom type or function that will be passed the direct response

Returns

DataCollectionEndpointResource, or the result of cls(response)

Return type

<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResource

Exceptions

delete

Deletes a data collection endpoint.

Deletes a data collection endpoint.

async delete(resource_group_name: str, data_collection_endpoint_name: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

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

data_collection_endpoint_name
str
Required

The name of the data collection endpoint. The name is case insensitive.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Returns the specified data collection endpoint.

Returns the specified data collection endpoint.

async get(resource_group_name: str, data_collection_endpoint_name: str, **kwargs: Any) -> azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResource

Parameters

resource_group_name
str
Required

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

data_collection_endpoint_name
str
Required

The name of the data collection endpoint. The name is case insensitive.

cls
callable

A custom type or function that will be passed the direct response

Returns

DataCollectionEndpointResource, or the result of cls(response)

Return type

<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResource

Exceptions

list_by_resource_group

Lists all data collection endpoints in the specified resource group.

Lists all data collection endpoints in the specified resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResourceListResult]

Parameters

resource_group_name
str
Required

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

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response)

Return type

AsyncItemPaged[<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResourceListResult]

Exceptions

list_by_subscription

Lists all data collection endpoints in the specified subscription.

Lists all data collection endpoints in the specified subscription.

list_by_subscription(**kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResourceListResult]

Parameters

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either DataCollectionEndpointResourceListResult or the result of cls(response)

Return type

AsyncItemPaged[<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResourceListResult]

Exceptions

update

Updates part of a data collection endpoint.

Updates part of a data collection endpoint.

async update(resource_group_name: str, data_collection_endpoint_name: str, body: Optional[azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.ResourceForUpdate] = None, **kwargs: Any) -> azure.mgmt.monitor.v2022_02_01_preview.models._models_py3.DataCollectionEndpointResource

Parameters

resource_group_name
str
Required

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

data_collection_endpoint_name
str
Required

The name of the data collection endpoint. The name is case insensitive.

body
<xref:$>(<xref:python-base-namespace>)ResourceForUpdate
Required

The payload.

cls
callable

A custom type or function that will be passed the direct response

Returns

DataCollectionEndpointResource, or the result of cls(response)

Return type

<xref:$>(<xref:python-base-namespace>)DataCollectionEndpointResource

Exceptions

Attributes

models

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