Share via


PartnerNamespace Constructors

Definition

Overloads

PartnerNamespace()

Initializes a new instance of the PartnerNamespace class.

PartnerNamespace(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, String, String, String, IList<InboundIpRule>, Nullable<Boolean>, String, SystemData)

Initializes a new instance of the PartnerNamespace class.

PartnerNamespace()

Initializes a new instance of the PartnerNamespace class.

public PartnerNamespace ();
Public Sub New ()

Applies to

PartnerNamespace(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, String, String, String, IList<InboundIpRule>, Nullable<Boolean>, String, SystemData)

Initializes a new instance of the PartnerNamespace class.

public PartnerNamespace (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> privateEndpointConnections = default, string provisioningState = default, string partnerRegistrationFullyQualifiedId = default, string endpoint = default, string publicNetworkAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> inboundIpRules = default, bool? disableLocalAuth = default, string partnerTopicRoutingMode = default, Microsoft.Azure.Management.EventGrid.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventGrid.Models.PartnerNamespace : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> * Nullable<bool> * string * Microsoft.Azure.Management.EventGrid.Models.SystemData -> Microsoft.Azure.Management.EventGrid.Models.PartnerNamespace
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional provisioningState As String = Nothing, Optional partnerRegistrationFullyQualifiedId As String = Nothing, Optional endpoint As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional inboundIpRules As IList(Of InboundIpRule) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional partnerTopicRoutingMode As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

location
String

Location of the resource.

id
String

Fully qualified identifier of the resource.

name
String

Name of the resource.

type
String

Type of the resource.

tags
IDictionary<String,String>

Tags of the resource.

privateEndpointConnections
IList<PrivateEndpointConnection>
provisioningState
String

Provisioning state of the partner namespace. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'

partnerRegistrationFullyQualifiedId
String

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}.

endpoint
String

Endpoint for the partner namespace.

publicNetworkAccess
String

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" />. Possible values include: 'Enabled', 'Disabled'

inboundIpRules
IList<InboundIpRule>

This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

disableLocalAuth
Nullable<Boolean>

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.

partnerTopicRoutingMode
String

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. Possible values include: 'SourceEventAttribute', 'ChannelNameHeader'

systemData
SystemData

The system metadata relating to Partner Namespace resource.

Applies to