Skip to main content

application_groups

Creates, updates, deletes, gets or lists a application_groups resource.

Overview

Nameapplication_groups
TypeResource
Idazure.event_hubs.application_groups

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
locationstringThe geo-location where the resource lives
propertiesobject
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationGroupName, namespaceName, resourceGroupName, subscriptionIdGets an ApplicationGroup for a Namespace.
list_by_namespaceSELECTnamespaceName, resourceGroupName, subscriptionIdGets a list of application groups for a Namespace.
deleteDELETEapplicationGroupName, namespaceName, resourceGroupName, subscriptionIdDeletes an ApplicationGroup for a Namespace.

SELECT examples

Gets a list of application groups for a Namespace.

SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.application_groups
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified application_groups resource.

/*+ delete */
DELETE FROM azure.event_hubs.application_groups
WHERE applicationGroupName = '{{ applicationGroupName }}'
AND namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';