你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConfigurationOperations 类

警告

请勿直接实例化此类。

相反,应通过以下方式访问以下操作:

EventHubManagementClient

<xref:configuration> 属性。

继承
builtins.object
ConfigurationOperations

构造函数

ConfigurationOperations(*args, **kwargs)

方法

get

获取所有事件中心群集设置 - 表示对群集施加的配额和设置的键/值对的集合。

patch

将所有指定的事件中心群集设置替换为请求正文中包含的设置。 使未在请求正文中指定的设置保持未修改状态。

get

获取所有事件中心群集设置 - 表示对群集施加的配额和设置的键/值对的集合。

get(resource_group_name: str, cluster_name: str, **kwargs: Any) -> ClusterQuotaConfigurationProperties

参数

resource_group_name
str
必需

Azure 订阅中的资源组的名称。 必需。

cluster_name
str
必需

事件中心群集的名称。 必需。

cls
callable

将传递直接响应的自定义类型或函数

返回

ClusterQuotaConfigurationProperties 或 cls 的结果 (响应)

返回类型

例外

patch

将所有指定的事件中心群集设置替换为请求正文中包含的设置。 使未在请求正文中指定的设置保持未修改状态。

patch(resource_group_name: str, cluster_name: str, parameters: _models.ClusterQuotaConfigurationProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ClusterQuotaConfigurationProperties | None

参数

resource_group_name
str
必需

Azure 订阅中的资源组的名称。 必需。

cluster_name
str
必需

事件中心群集的名称。 必需。

parameters
ClusterQuotaConfigurationPropertiesIO
必需

用于创建事件中心群集资源的参数。 是 ClusterQuotaConfigurationProperties 类型或 IO 类型。 必需。

content_type
str

正文参数内容类型。 已知值为:“application/json”。 默认值为 None。

cls
callable

将传递直接响应的自定义类型或函数

返回

ClusterQuotaConfigurationProperties 或 None 或 cls (响应的结果)

返回类型

例外

属性

models

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