PartnerNamespaceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. eventgrid. fluent. models. PartnerNamespaceInner
- com.
- com.
- com.
public final class PartnerNamespaceInner
extends Resource
EventGrid Partner Namespace.
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerNamespaceInner() |
Creates an instance of Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
disableLocalAuth()
Get the disable |
| String |
endpoint()
Get the endpoint property: Endpoint for the partner namespace. |
|
static
Partner |
fromJson(JsonReader jsonReader)
Reads an instance of Partner |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
| String |
name()
Get the name property: The name of the resource. |
| String |
partnerRegistrationFullyQualifiedId()
Get the partner |
|
Partner |
partnerTopicRoutingMode()
Get the partner |
|
List<Private |
privateEndpointConnections()
Get the private |
|
Partner |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Partner |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Partner |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Partner |
withLocation(String location) |
|
Partner |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Partner |
withPartnerRegistrationFullyQualifiedId(String partnerRegistrationFullyQualifiedId)
Set the partner |
|
Partner |
withPartnerTopicRoutingMode(PartnerTopicRoutingMode partnerTopicRoutingMode)
Set the partner |
|
Partner |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Partner |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PartnerNamespaceInner
public PartnerNamespaceInner()
Creates an instance of PartnerNamespaceInner 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:
endpoint
public String endpoint()
Get the endpoint property: Endpoint for the partner namespace.
Returns:
fromJson
public static PartnerNamespaceInner fromJson(JsonReader jsonReader)
Reads an instance of PartnerNamespaceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PartnerNamespaceInner.id()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:
minimumTlsVersionAllowed
public TlsVersion minimumTlsVersionAllowed()
Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this partner namespace.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PartnerNamespaceInner.name()Returns:
partnerRegistrationFullyQualifiedId
public String 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:
partnerTopicRoutingMode
public PartnerTopicRoutingMode 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:
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections.
Returns:
provisioningState
public PartnerNamespaceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the partner namespace.
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.PartnerNamespaceProperties.InboundIpRules" />.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PartnerNamespaceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PartnerNamespaceInner.type()Returns:
validate
public void validate()
Validates the instance.
withDisableLocalAuth
public PartnerNamespaceInner 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 PartnerNamespaceInner 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:
withLocation
public PartnerNamespaceInner withLocation(String location)
Overrides:
PartnerNamespaceInner.withLocation(String location)Parameters:
withMinimumTlsVersionAllowed
public PartnerNamespaceInner withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this partner namespace.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withPublicNetworkAccess
public PartnerNamespaceInner 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.PartnerNamespaceProperties.InboundIpRules" />.
Parameters:
Returns:
withTags
public PartnerNamespaceInner withTags(Map<String,String> tags)
Overrides:
PartnerNamespaceInner.withTags(Map<String,String> tags)Parameters: