TopicUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. TopicUpdateParameters
- com.
public final class TopicUpdateParameters
Properties of the Topic update.
Constructor Summary
Constructor | Description | |
---|---|---|
TopicUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
disableLocalAuth()
Get the disable |
Identity |
identity()
Get the identity property: Topic resource identity information. |
List<Inbound |
inboundIpRules()
Get the inbound |
Public |
publicNetworkAccess()
Get the public |
Map<String,String> |
tags()
Get the tags property: Tags of the resource. |
void |
validate()
Validates the instance. |
Topic |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
Topic |
withIdentity(IdentityInfo identity)
Set the identity property: Topic resource identity information. |
Topic |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
Topic |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Topic |
withTags(Map<String,String> tags)
Set the tags property: Tags of the resource. |
Methods inherited from java.lang.Object
Constructor Details
TopicUpdateParameters
public TopicUpdateParameters()
Method Details
disableLocalAuth
public Boolean 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:
identity
public IdentityInfo identity()
Get the identity property: Topic resource identity information.
Returns:
inboundIpRules
public List
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:
publicNetworkAccess
public PublicNetworkAccess 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 .
Returns:
tags
public Map
Get the tags property: Tags of the resource.
Returns:
validate
public void validate()
Validates the instance.
withDisableLocalAuth
public TopicUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)
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:
Returns:
withIdentity
public TopicUpdateParameters withIdentity(IdentityInfo identity)
Set the identity property: Topic resource identity information.
Parameters:
Returns:
withInboundIpRules
public TopicUpdateParameters withInboundIpRules(List
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:
Returns:
withPublicNetworkAccess
public TopicUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
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 .
Parameters:
Returns:
withTags
public TopicUpdateParameters withTags(Map
Set the tags property: Tags of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for