TopicUpdateParameterProperties Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. fluent. models. TopicUpdateParameterProperties
- com.
Implements
public final class TopicUpdateParameterProperties
implements JsonSerializable<TopicUpdateParameterProperties>
Information of topic update parameter properties.
Constructor Summary
| Constructor | Description |
|---|---|
| TopicUpdateParameterProperties() |
Creates an instance of Topic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Data |
dataResidencyBoundary()
Get the data |
| Boolean |
disableLocalAuth()
Get the disable |
|
Event |
eventTypeInfo()
Get the event |
|
static
Topic |
fromJson(JsonReader jsonReader)
Reads an instance of Topic |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
|
Public |
publicNetworkAccess()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Topic |
withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the data |
|
Topic |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Topic |
withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the event |
|
Topic |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Topic |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Topic |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
TopicUpdateParameterProperties
public TopicUpdateParameterProperties()
Creates an instance of TopicUpdateParameterProperties class.
Method Details
dataResidencyBoundary
public DataResidencyBoundary dataResidencyBoundary()
Get the dataResidencyBoundary property: The data residency boundary for the topic.
Returns:
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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the topic.
Returns:
eventTypeInfo
public EventTypeInfo eventTypeInfo()
Get the eventTypeInfo property: The eventTypeInfo for the topic.
Returns:
fromJson
public static TopicUpdateParameterProperties fromJson(JsonReader jsonReader)
Reads an instance of TopicUpdateParameterProperties from the JsonReader.
Parameters:
Returns:
Throws:
inboundIpRules
public List<InboundIpRule> 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:
minimumTlsVersionAllowed
public TlsVersion minimumTlsVersionAllowed()
Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
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 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataResidencyBoundary
public TopicUpdateParameterProperties withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the dataResidencyBoundary property: The data residency boundary for the topic.
Parameters:
Returns:
withDisableLocalAuth
public TopicUpdateParameterProperties 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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the topic.
Parameters:
Returns:
withEventTypeInfo
public TopicUpdateParameterProperties withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the eventTypeInfo property: The eventTypeInfo for the topic.
Parameters:
Returns:
withInboundIpRules
public TopicUpdateParameterProperties withInboundIpRules(List<InboundIpRule> inboundIpRules)
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:
withMinimumTlsVersionAllowed
public TopicUpdateParameterProperties withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
Parameters:
Returns:
withPublicNetworkAccess
public TopicUpdateParameterProperties 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 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />.
Parameters:
Returns: