NamespaceUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. NamespaceUpdateParameters
- com.
Implements
public final class NamespaceUpdateParameters
implements JsonSerializable<NamespaceUpdateParameters>
Properties to update namespace.
Constructor Summary
| Constructor | Description |
|---|---|
| NamespaceUpdateParameters() |
Creates an instance of Namespace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Namespace |
fromJson(JsonReader jsonReader)
Reads an instance of Namespace |
|
Identity |
identity()
Get the identity property: Namespace resource identity information. |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Public |
publicNetworkAccess()
Get the public |
|
Namespace |
sku()
Get the sku property: Represents available Sku pricing tiers. |
| Map<String,String> |
tags()
Get the tags property: Tags of the namespace resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Update |
topicsConfiguration()
Get the topics |
|
Update |
topicSpacesConfiguration()
Get the topic |
| void |
validate()
Validates the instance. |
|
Namespace |
withIdentity(IdentityInfo identity)
Set the identity property: Namespace resource identity information. |
|
Namespace |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Namespace |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Namespace |
withSku(NamespaceSku sku)
Set the sku property: Represents available Sku pricing tiers. |
|
Namespace |
withTags(Map<String,String> tags)
Set the tags property: Tags of the namespace resource. |
|
Namespace |
withTopicsConfiguration(UpdateTopicsConfigurationInfo topicsConfiguration)
Set the topics |
|
Namespace |
withTopicSpacesConfiguration(UpdateTopicSpacesConfigurationInfo topicSpacesConfiguration)
Set the topic |
Methods inherited from java.lang.Object
Constructor Details
NamespaceUpdateParameters
public NamespaceUpdateParameters()
Creates an instance of NamespaceUpdateParameters class.
Method Details
fromJson
public static NamespaceUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of NamespaceUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityInfo identity()
Get the identity property: Namespace 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:
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.PubSub.NamespaceUpdateParameterProperties.InboundIpRules" />.
Returns:
sku
public NamespaceSku sku()
Get the sku property: Represents available Sku pricing tiers.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags of the namespace resource.
Returns:
toJson
topicsConfiguration
public UpdateTopicsConfigurationInfo topicsConfiguration()
Get the topicsConfiguration property: Topics configuration properties that can be updated.
Returns:
topicSpacesConfiguration
public UpdateTopicSpacesConfigurationInfo topicSpacesConfiguration()
Get the topicSpacesConfiguration property: Topic spaces configuration properties that can be updated.
Returns:
validate
public void validate()
Validates the instance.
withIdentity
public NamespaceUpdateParameters withIdentity(IdentityInfo identity)
Set the identity property: Namespace resource identity information.
Parameters:
Returns:
withInboundIpRules
public NamespaceUpdateParameters 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:
withPublicNetworkAccess
public NamespaceUpdateParameters 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.PubSub.NamespaceUpdateParameterProperties.InboundIpRules" />.
Parameters:
Returns:
withSku
public NamespaceUpdateParameters withSku(NamespaceSku sku)
Set the sku property: Represents available Sku pricing tiers.
Parameters:
Returns:
withTags
public NamespaceUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Tags of the namespace resource.
Parameters:
Returns:
withTopicsConfiguration
public NamespaceUpdateParameters withTopicsConfiguration(UpdateTopicsConfigurationInfo topicsConfiguration)
Set the topicsConfiguration property: Topics configuration properties that can be updated.
Parameters:
Returns:
withTopicSpacesConfiguration
public NamespaceUpdateParameters withTopicSpacesConfiguration(UpdateTopicSpacesConfigurationInfo topicSpacesConfiguration)
Set the topicSpacesConfiguration property: Topic spaces configuration properties that can be updated.
Parameters:
Returns: