Dela via


ArmEventGridModelFactory.PartnerNamespaceData Method

Definition

Initializes a new instance of PartnerNamespaceData.

public static Azure.ResourceManager.EventGrid.PartnerNamespaceData PartnerNamespaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.EventGrid.Models.PartnerNamespaceProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier partnerRegistrationFullyQualifiedId = default, Azure.ResourceManager.EventGrid.Models.TlsVersion? minimumTlsVersionAllowed = default, Uri endpoint = default, Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> inboundIPRules = default, bool? isLocalAuthDisabled = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicRoutingMode? partnerTopicRoutingMode = default);
static member PartnerNamespaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceProvisioningState> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.EventGrid.Models.TlsVersion> * Uri * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess> * seq<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> * Nullable<bool> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerTopicRoutingMode> -> Azure.ResourceManager.EventGrid.PartnerNamespaceData
Public Shared Function PartnerNamespaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional privateEndpointConnections As IEnumerable(Of EventGridPrivateEndpointConnectionData) = Nothing, Optional provisioningState As Nullable(Of PartnerNamespaceProvisioningState) = Nothing, Optional partnerRegistrationFullyQualifiedId As ResourceIdentifier = Nothing, Optional minimumTlsVersionAllowed As Nullable(Of TlsVersion) = Nothing, Optional endpoint As Uri = Nothing, Optional publicNetworkAccess As Nullable(Of EventGridPublicNetworkAccess) = Nothing, Optional inboundIPRules As IEnumerable(Of EventGridInboundIPRule) = Nothing, Optional isLocalAuthDisabled As Nullable(Of Boolean) = Nothing, Optional partnerTopicRoutingMode As Nullable(Of PartnerTopicRoutingMode) = Nothing) As PartnerNamespaceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

privateEndpointConnections
IEnumerable<EventGridPrivateEndpointConnectionData>

List of private endpoint connections.

provisioningState
Nullable<PartnerNamespaceProvisioningState>

Provisioning state of the partner namespace.

partnerRegistrationFullyQualifiedId
ResourceIdentifier

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

minimumTlsVersionAllowed
Nullable<TlsVersion>

Minimum TLS version of the publisher allowed to publish to this partner namespace.

endpoint
Uri

Endpoint for the partner namespace.

publicNetworkAccess
Nullable<EventGridPublicNetworkAccess>

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" />

inboundIPRules
IEnumerable<EventGridInboundIPRule>

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

isLocalAuthDisabled
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
Nullable<PartnerTopicRoutingMode>

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

A new PartnerNamespaceData instance for mocking.

Applies to