DataCollectionEndpointsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:data_collection_endpoints> attribute.
Constructor
DataCollectionEndpointsOperations(*args, **kwargs)
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.
create(resource_group_name: str, data_collection_endpoint_name: str, body: _models.DataCollectionEndpointResource | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.DataCollectionEndpointResource
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
data_collection_endpoint_name
Required
|
The name of the data collection endpoint. The name is case insensitive. Required. |
|
body
|
The payload. Is either a DataCollectionEndpointResource type or a IO[bytes] type. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
DataCollectionEndpointResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
delete
Deletes a data collection endpoint.
Deletes a data collection endpoint.
delete(resource_group_name: str, data_collection_endpoint_name: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
data_collection_endpoint_name
Required
|
The name of the data collection endpoint. The name is case insensitive. Required. |
Returns
| Type | Description |
|---|---|
|
None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Returns the specified data collection endpoint.
Returns the specified data collection endpoint.
get(resource_group_name: str, data_collection_endpoint_name: str, **kwargs: Any) -> DataCollectionEndpointResource
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
data_collection_endpoint_name
Required
|
The name of the data collection endpoint. The name is case insensitive. Required. |
Returns
| Type | Description |
|---|---|
|
DataCollectionEndpointResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
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) -> ItemPaged[DataCollectionEndpointResource]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either DataCollectionEndpointResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
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) -> ItemPaged[DataCollectionEndpointResource]
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either DataCollectionEndpointResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
update
Updates part of a data collection endpoint.
Updates part of a data collection endpoint.
update(resource_group_name: str, data_collection_endpoint_name: str, body: _models.ResourceForUpdate | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.DataCollectionEndpointResource
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
data_collection_endpoint_name
Required
|
The name of the data collection endpoint. The name is case insensitive. Required. |
|
body
|
The payload. Is either a ResourceForUpdate type or a IO[bytes] type. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
DataCollectionEndpointResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.monitor.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv181\\Lib\\site-packages\\azure\\mgmt\\monitor\\models\\__init__.py'>