Class PartnerNamespaceUpdateParameterProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.PartnerNamespaceUpdateParameterProperties
Information of Partner Namespace update parameter properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the disableLocalAuth property: This boolean is used to enable or disable local auth.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.void
validate()
Validates the instance.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: This boolean is used to enable or disable local auth.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.
-
Constructor Details
-
PartnerNamespaceUpdateParameterProperties
public PartnerNamespaceUpdateParameterProperties()
-
-
Method Details
-
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.PartnerNamespaceUpdateParameterProperties" + ".InboundIpRules" />.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public PartnerNamespaceUpdateParameterProperties 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.PartnerNamespaceUpdateParameterProperties" + ".InboundIpRules" />.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the PartnerNamespaceUpdateParameterProperties 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
public PartnerNamespaceUpdateParameterProperties 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:
inboundIpRules
- the inboundIpRules value to set.- Returns:
- the PartnerNamespaceUpdateParameterProperties 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 partner namespace.- 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 partner namespace.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the PartnerNamespaceUpdateParameterProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-