PartnerNamespaceUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. PartnerNamespaceUpdateParameters
- com.
Implements
public final class PartnerNamespaceUpdateParameters
implements JsonSerializable<PartnerNamespaceUpdateParameters>
Properties of the Partner Namespace update.
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerNamespaceUpdateParameters() |
Creates an instance of Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
disableLocalAuth()
Get the disable |
|
static
Partner |
fromJson(JsonReader jsonReader)
Reads an instance of Partner |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
|
Public |
publicNetworkAccess()
Get the public |
| Map<String,String> |
tags()
Get the tags property: Tags of the Partner Namespace. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Partner |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Partner |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Partner |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Partner |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Partner |
withTags(Map<String,String> tags)
Set the tags property: Tags of the Partner Namespace. |
Methods inherited from java.lang.Object
Constructor Details
PartnerNamespaceUpdateParameters
public PartnerNamespaceUpdateParameters()
Creates an instance of PartnerNamespaceUpdateParameters class.
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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the partner namespace.
Returns:
fromJson
public static PartnerNamespaceUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of PartnerNamespaceUpdateParameters 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.PartnerNamespaceUpdateParameterProperties.InboundIpRules" />.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags of the Partner Namespace.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisableLocalAuth
public PartnerNamespaceUpdateParameters 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 partner namespace.
Parameters:
Returns:
withInboundIpRules
public PartnerNamespaceUpdateParameters 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 PartnerNamespaceUpdateParameters withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
Parameters:
Returns:
withPublicNetworkAccess
public PartnerNamespaceUpdateParameters 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:
Returns:
withTags
public PartnerNamespaceUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Tags of the Partner Namespace.
Parameters:
Returns: