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.objectDataCollectionEndpointsOperations
Constructor
DataCollectionEndpointsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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.v2021_04_01.models._models_py3.DataCollectionEndpointResource] = None, **kwargs: Any) -> azure.mgmt.monitor.v2021_04_01.models._models_py3.DataCollectionEndpointResource
Parameters
- data_collection_endpoint_name
- str
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
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
- data_collection_endpoint_name
- str
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.v2021_04_01.models._models_py3.DataCollectionEndpointResource
Parameters
- data_collection_endpoint_name
- str
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
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.v2021_04_01.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
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.v2021_04_01.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
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.v2021_04_01.models._models_py3.ResourceForUpdate] = None, **kwargs: Any) -> azure.mgmt.monitor.v2021_04_01.models._models_py3.DataCollectionEndpointResource
Parameters
- data_collection_endpoint_name
- str
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
Exceptions
Attributes
models
models = <module 'azure.mgmt.monitor.v2021_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\monitor\\v2021_04_01\\models\\__init__.py'>
Feedback
Submit and view feedback for