Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idazure.event_hubs.configurations

Fields

The following fields are returned by SELECT queries:

Event Hubs Cluster settings configuration returned.

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
getselectsubscriptionId, resourceGroupName, clusterNameGet all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings imposed on the cluster.
patchupdatesubscriptionId, resourceGroupName, clusterName, data__settingsReplace 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
clusterNamestringThe name of the Event Hubs Cluster.
resourceGroupNamestringName of the resource group within the azure subscription.
subscriptionIdstringSubscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

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_hubs.configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
;

UPDATE examples

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

UPDATE azure.event_hubs.configurations
SET
data__settings = '{{ settings }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND data__settings = '{{ settings }}' --required
RETURNING
settings;