EventSourcesOperations Class

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

Constructor

EventSourcesOperations(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_or_update

Create or update an event source under the specified environment.

delete

Deletes the event source with the specified name in the specified subscription, resource group, and environment.

get

Gets the event source with the specified name in the specified environment.

list_by_environment

Lists all the available event sources associated with the subscription and within the specified resource group and environment.

update

Updates the event source with the specified name in the specified subscription, resource group, and environment.

create_or_update

Create or update an event source under the specified environment.

async create_or_update(resource_group_name: str, environment_name: str, event_source_name: str, parameters: azure.mgmt.timeseriesinsights.models._models_py3.EventSourceCreateOrUpdateParameters, **kwargs) -> azure.mgmt.timeseriesinsights.models._models_py3.EventSourceResource

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

environment_name
str
Required

The name of the Time Series Insights environment associated with the specified resource group.

event_source_name
str
Required

Name of the event source.

parameters
EventSourceCreateOrUpdateParameters
Required

Parameters for creating an event source resource.

cls
callable

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

Returns

EventSourceResource, or the result of cls(response)

Return type

Exceptions

delete

Deletes the event source with the specified name in the specified subscription, resource group, and environment.

async delete(resource_group_name: str, environment_name: str, event_source_name: str, **kwargs) -> None

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

environment_name
str
Required

The name of the Time Series Insights environment associated with the specified resource group.

event_source_name
str
Required

The name of the Time Series Insights event source associated with the specified environment.

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

Gets the event source with the specified name in the specified environment.

async get(resource_group_name: str, environment_name: str, event_source_name: str, **kwargs) -> azure.mgmt.timeseriesinsights.models._models_py3.EventSourceResource

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

environment_name
str
Required

The name of the Time Series Insights environment associated with the specified resource group.

event_source_name
str
Required

The name of the Time Series Insights event source associated with the specified environment.

cls
callable

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

Returns

EventSourceResource, or the result of cls(response)

Return type

Exceptions

list_by_environment

Lists all the available event sources associated with the subscription and within the specified resource group and environment.

async list_by_environment(resource_group_name: str, environment_name: str, **kwargs) -> azure.mgmt.timeseriesinsights.models._models_py3.EventSourceListResponse

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

environment_name
str
Required

The name of the Time Series Insights environment associated with the specified resource group.

cls
callable

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

Returns

EventSourceListResponse, or the result of cls(response)

Return type

Exceptions

update

Updates the event source with the specified name in the specified subscription, resource group, and environment.

async update(resource_group_name: str, environment_name: str, event_source_name: str, event_source_update_parameters: azure.mgmt.timeseriesinsights.models._models_py3.EventSourceUpdateParameters, **kwargs) -> azure.mgmt.timeseriesinsights.models._models_py3.EventSourceResource

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

environment_name
str
Required

The name of the Time Series Insights environment associated with the specified resource group.

event_source_name
str
Required

The name of the Time Series Insights event source associated with the specified environment.

event_source_update_parameters
EventSourceUpdateParameters
Required

Request object that contains the updated information for the event source.

cls
callable

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

Returns

EventSourceResource, or the result of cls(response)

Return type

Exceptions

Attributes

models

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