Skip to main content

configuration

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

Overview

Nameconfiguration
TypeResource
Idazure.event_hub.configuration

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
settingsobjectAll possible Cluster settings - a collection of key/value paired settings which apply to quotas and configurations imposed on the cluster.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, subscription_idGet all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings imposed on the cluster.
patchexecresource_group_name, cluster_name, subscription_idReplace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings not specified in the request body unmodified.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_namestringThe name of the Event Hubs Cluster. Required.
resource_group_namestringName of the resource group within the azure subscription. Required.
subscription_idstring

SELECT examples

Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings imposed on the cluster.

SELECT
settings
FROM azure.event_hub.configuration
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings not specified in the request body unmodified.

EXEC azure.event_hub.configuration.patch 
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_name='{{ cluster_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"settings": "{{ settings }}"
}'
;