次の方法で共有


PartnerNamespaceUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.PartnerNamespaceUpdateParameters

Implements

public final class PartnerNamespaceUpdateParameters
implements JsonSerializable<PartnerNamespaceUpdateParameters>

Properties of the Partner Namespace update.

Constructor Summary

Constructor Description
PartnerNamespaceUpdateParameters()

Creates an instance of PartnerNamespaceUpdateParameters class.

Method Summary

Modifier and Type Method and Description
Boolean disableLocalAuth()

Get the disableLocalAuth property: This boolean is used to enable or disable local auth.

static PartnerNamespaceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PartnerNamespaceUpdateParameters from the JsonReader.

List<InboundIpRule> inboundIpRules()

Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.

TlsVersion minimumTlsVersionAllowed()

Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network.

Map<String,String> tags()

Get the tags property: Tags of the Partner Namespace.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PartnerNamespaceUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This boolean is used to enable or disable local auth.

PartnerNamespaceUpdateParameters withInboundIpRules(List<InboundIpRule> inboundIpRules)

Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.

PartnerNamespaceUpdateParameters withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)

Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.

PartnerNamespaceUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network.

PartnerNamespaceUpdateParameters 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:

the disableLocalAuth value.

fromJson

public static PartnerNamespaceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PartnerNamespaceUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PartnerNamespaceUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PartnerNamespaceUpdateParameters.

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:

the inboundIpRules value.

minimumTlsVersionAllowed

public TlsVersion minimumTlsVersionAllowed()

Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.

Returns:

the minimumTlsVersionAllowed value.

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:

the publicNetworkAccess value.

tags

public Map<String,String> tags()

Get the tags property: Tags of the Partner Namespace.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the PartnerNamespaceUpdateParameters object itself.

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:

inboundIpRules - the inboundIpRules value to set.

Returns:

the PartnerNamespaceUpdateParameters object itself.

withMinimumTlsVersionAllowed

public PartnerNamespaceUpdateParameters withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)

Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.

Parameters:

minimumTlsVersionAllowed - the minimumTlsVersionAllowed value to set.

Returns:

the PartnerNamespaceUpdateParameters object itself.

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:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the PartnerNamespaceUpdateParameters object itself.

withTags

public PartnerNamespaceUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the Partner Namespace.

Parameters:

tags - the tags value to set.

Returns:

the PartnerNamespaceUpdateParameters object itself.

Applies to