TopicUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. TopicUpdateParameters
- com.
Implements
public final class TopicUpdateParameters
implements JsonSerializable<TopicUpdateParameters>
Properties of the Topic update.
Constructor Summary
| Constructor | Description |
|---|---|
| TopicUpdateParameters() |
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 |
|
Identity |
identity()
Get the identity property: Topic resource identity information. |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
|
Public |
publicNetworkAccess()
Get the public |
|
Resource |
sku()
Get the sku property: The Sku pricing tier for the topic. |
| Map<String,String> |
tags()
Get the tags property: Tags of the Topic resource. |
|
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 |
withIdentity(IdentityInfo identity)
Set the identity property: Topic resource identity information. |
|
Topic |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Topic |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Topic |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Topic |
withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the topic. |
|
Topic |
withTags(Map<String,String> tags)
Set the tags property: Tags of the Topic resource. |
Methods inherited from java.lang.Object
Constructor Details
TopicUpdateParameters
public TopicUpdateParameters()
Creates an instance of TopicUpdateParameters 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 TopicUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of TopicUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityInfo identity()
Get the identity property: Topic resource identity information.
Returns:
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:
sku
public ResourceSku sku()
Get the sku property: The Sku pricing tier for the topic.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags of the Topic resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataResidencyBoundary
public TopicUpdateParameters withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the dataResidencyBoundary property: The data residency boundary for the topic.
Parameters:
Returns:
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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the topic.
Parameters:
Returns:
withEventTypeInfo
public TopicUpdateParameters withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the eventTypeInfo property: The eventTypeInfo for 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<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 TopicUpdateParameters withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
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 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />.
Parameters:
Returns:
withSku
public TopicUpdateParameters withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the topic.
Parameters:
Returns:
withTags
public TopicUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Tags of the Topic resource.
Parameters:
Returns: