ApplicationGroupOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

EventHubManagementClient's

<xref:application_group> attribute.

Inheritance
builtins.object
ApplicationGroupOperations

Constructor

ApplicationGroupOperations(*args, **kwargs)

Methods

create_or_update_application_group

Creates or updates an ApplicationGroup for a Namespace.

delete

Deletes an ApplicationGroup for a Namespace.

get

Gets an ApplicationGroup for a Namespace.

list_by_namespace

Gets a list of application groups for a Namespace.

create_or_update_application_group

Creates or updates an ApplicationGroup for a Namespace.

create_or_update_application_group(resource_group_name: str, namespace_name: str, application_group_name: str, parameters: _models.ApplicationGroup, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ApplicationGroup

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group within the azure subscription. Required.

namespace_name
Required
str

The Namespace name. Required.

application_group_name
Required
str

The Application Group name. Required.

parameters
Required

The ApplicationGroup. Is either a ApplicationGroup type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

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

Returns

Type Description

ApplicationGroup or the result of cls(response)

Exceptions

Type Description

delete

Deletes an ApplicationGroup for a Namespace.

delete(resource_group_name: str, namespace_name: str, application_group_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group within the azure subscription. Required.

namespace_name
Required
str

The Namespace name. Required.

application_group_name
Required
str

The Application Group name. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Gets an ApplicationGroup for a Namespace.

get(resource_group_name: str, namespace_name: str, application_group_name: str, **kwargs: Any) -> ApplicationGroup

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group within the azure subscription. Required.

namespace_name
Required
str

The Namespace name. Required.

application_group_name
Required
str

The Application Group name. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

ApplicationGroup or the result of cls(response)

Exceptions

Type Description

list_by_namespace

Gets a list of application groups for a Namespace.

list_by_namespace(resource_group_name: str, namespace_name: str, **kwargs: Any) -> Iterable[ApplicationGroup]

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group within the azure subscription. Required.

namespace_name
Required
str

The Namespace name. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.eventhub.v2022_10_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\eventhub\\v2022_10_01_preview\\models\\__init__.py'>