共用方式為


NamespaceUpdateParameters 類別

要更新命名空間的屬性。

繼承
azure.mgmt.eventgrid._serialization.Model
NamespaceUpdateParameters

建構函式

NamespaceUpdateParameters(*, tags: Dict[str, str] | None = None, identity: _models.IdentityInfo | None = None, sku: _models.NamespaceSku | None = None, topic_spaces_configuration: _models.UpdateTopicSpacesConfigurationInfo | None = None, public_network_access: str | _models.PublicNetworkAccess | None = None, inbound_ip_rules: List[_models.InboundIpRule] | None = None, **kwargs: Any)

Keyword-Only Parameters

tags
dict[str, str]

命名空間資源的標記。

identity
IdentityInfo

命名空間資源識別資訊。

sku
NamespaceSku

代表可用的 Sku 定價層。

topic_spaces_configuration
UpdateTopicSpacesConfigurationInfo

可更新的主題空間組態屬性。

public_network_access
strPublicNetworkAccess

這會判斷是否允許透過公用網路流量。 預設會啟用它。 您可以藉由設定 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceUpdateParameterProperties.InboundIpRules" /> 來進一步限制特定 IP。 已知值為:「Enabled」、「Disabled」 和 「SecuredByPerimeter」。

inbound_ip_rules
list[InboundIpRule]

這可以用來限制來自特定 IP 的流量,而不是所有 IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。

變數

tags
dict[str, str]

命名空間資源的標記。

identity
IdentityInfo

命名空間資源識別資訊。

sku
NamespaceSku

代表可用的 Sku 定價層。

topic_spaces_configuration
UpdateTopicSpacesConfigurationInfo

可更新的主題空間組態屬性。

public_network_access
strPublicNetworkAccess

這會判斷是否允許透過公用網路流量。 預設會啟用它。 您可以藉由設定 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceUpdateParameterProperties.InboundIpRules" /> 來進一步限制特定 IP。 已知值為:「Enabled」、「Disabled」 和 「SecuredByPerimeter」。

inbound_ip_rules
list[InboundIpRule]

這可以用來限制來自特定 IP 的流量,而不是所有 IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。