Class TopicUpdateParameters
java.lang.Object
com.azure.resourcemanager.eventgrid.models.TopicUpdateParameters
Properties of the Topic update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataResidencyBoundary property: The data residency boundary for the topic.Get the disableLocalAuth property: This boolean is used to enable or disable local auth.identity()
Get the identity property: Topic resource identity information.Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.Get the publicNetworkAccess property: This determines if traffic is allowed over public network.tags()
Get the tags property: Tags of the Topic resource.void
validate()
Validates the instance.withDataResidencyBoundary
(DataResidencyBoundary dataResidencyBoundary) Set the dataResidencyBoundary property: The data residency boundary for the topic.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: This boolean is used to enable or disable local auth.withIdentity
(IdentityInfo identity) Set the identity property: Topic resource identity information.withInboundIpRules
(List<InboundIpRule> inboundIpRules) Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: This determines if traffic is allowed over public network.Set the tags property: Tags of the Topic resource.
-
Constructor Details
-
TopicUpdateParameters
public TopicUpdateParameters()
-
-
Method Details
-
tags
Get the tags property: Tags of the Topic resource.- Returns:
- the tags value.
-
withTags
Set the tags property: Tags of the Topic resource.- Parameters:
tags
- the tags value to set.- Returns:
- the TopicUpdateParameters object itself.
-
identity
Get the identity property: Topic resource identity information.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Topic resource identity information.- Parameters:
identity
- the identity value to set.- Returns:
- the TopicUpdateParameters object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the TopicUpdateParameters object itself.
-
inboundIpRules
Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.- Returns:
- the inboundIpRules value.
-
withInboundIpRules
Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.- Parameters:
inboundIpRules
- the inboundIpRules value to set.- Returns:
- the TopicUpdateParameters object itself.
-
disableLocalAuth
Get the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the TopicUpdateParameters object itself.
-
dataResidencyBoundary
Get the dataResidencyBoundary property: The data residency boundary for the topic.- Returns:
- the dataResidencyBoundary value.
-
withDataResidencyBoundary
Set the dataResidencyBoundary property: The data residency boundary for the topic.- Parameters:
dataResidencyBoundary
- the dataResidencyBoundary value to set.- Returns:
- the TopicUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-