Class PartnerNamespaceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.eventgrid.fluent.models.PartnerNamespaceInner
public final class PartnerNamespaceInner
extends com.azure.core.management.Resource
EventGrid Partner Namespace.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the disableLocalAuth property: This boolean is used to enable or disable local auth.endpoint()
Get the endpoint property: Endpoint for the partner namespace.Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.Get the partnerRegistrationFullyQualifiedId property: The fully qualified ARM Id of the partner registration that should be associated with this partner namespace.Get the partnerTopicRoutingMode property: This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic.Get the privateEndpointConnections property: The privateEndpointConnections property.Get the provisioningState property: Provisioning state of the partner namespace.Get the publicNetworkAccess property: This determines if traffic is allowed over public network.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to Partner Namespace resource.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.withLocation
(String location) withPartnerRegistrationFullyQualifiedId
(String partnerRegistrationFullyQualifiedId) Set the partnerRegistrationFullyQualifiedId property: The fully qualified ARM Id of the partner registration that should be associated with this partner namespace.withPartnerTopicRoutingMode
(PartnerTopicRoutingMode partnerTopicRoutingMode) Set the partnerTopicRoutingMode property: This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: This determines if traffic is allowed over public network.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PartnerNamespaceInner
public PartnerNamespaceInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to Partner Namespace resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
privateEndpointConnections
Get the privateEndpointConnections property: The privateEndpointConnections property.- Returns:
- the privateEndpointConnections value.
-
provisioningState
Get the provisioningState property: Provisioning state of the partner namespace.- Returns:
- the provisioningState value.
-
partnerRegistrationFullyQualifiedId
Get the partnerRegistrationFullyQualifiedId property: The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.- Returns:
- the partnerRegistrationFullyQualifiedId value.
-
withPartnerRegistrationFullyQualifiedId
public PartnerNamespaceInner withPartnerRegistrationFullyQualifiedId(String partnerRegistrationFullyQualifiedId) Set the partnerRegistrationFullyQualifiedId property: The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.- Parameters:
partnerRegistrationFullyQualifiedId
- the partnerRegistrationFullyQualifiedId value to set.- Returns:
- the PartnerNamespaceInner object itself.
-
endpoint
Get the endpoint property: Endpoint for the partner namespace.- Returns:
- the endpoint value.
-
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.PartnerNamespaceProperties.InboundIpRules" />.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
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.PartnerNamespaceProperties.InboundIpRules" />.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the PartnerNamespaceInner 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
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 PartnerNamespaceInner 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 PartnerNamespaceInner object itself.
-
partnerTopicRoutingMode
Get the partnerTopicRoutingMode property: This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.- Returns:
- the partnerTopicRoutingMode value.
-
withPartnerTopicRoutingMode
public PartnerNamespaceInner withPartnerTopicRoutingMode(PartnerTopicRoutingMode partnerTopicRoutingMode) Set the partnerTopicRoutingMode property: This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.- Parameters:
partnerTopicRoutingMode
- the partnerTopicRoutingMode value to set.- Returns:
- the PartnerNamespaceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-