Share via


ArmEventGridModelFactory.EventGridNamespaceData Method

Definition

Initializes a new instance of EventGridNamespaceData.

public static Azure.ResourceManager.EventGrid.EventGridNamespaceData EventGridNamespaceData (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, Azure.ResourceManager.EventGrid.Models.NamespaceSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.EventGrid.Models.NamespaceProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.TopicsConfiguration topicsConfiguration = default, Azure.ResourceManager.EventGrid.Models.TopicSpacesConfiguration topicSpacesConfiguration = default, bool? isZoneRedundant = default, Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> inboundIPRules = default, Azure.ResourceManager.EventGrid.Models.TlsVersion? minimumTlsVersionAllowed = default);
static member EventGridNamespaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.EventGrid.Models.NamespaceSku * Azure.ResourceManager.Models.ManagedServiceIdentity * seq<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.EventGrid.Models.NamespaceProvisioningState> * Azure.ResourceManager.EventGrid.Models.TopicsConfiguration * Azure.ResourceManager.EventGrid.Models.TopicSpacesConfiguration * Nullable<bool> * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess> * seq<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> * Nullable<Azure.ResourceManager.EventGrid.Models.TlsVersion> -> Azure.ResourceManager.EventGrid.EventGridNamespaceData
Public Shared Function EventGridNamespaceData (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 sku As NamespaceSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional privateEndpointConnections As IEnumerable(Of EventGridPrivateEndpointConnectionData) = Nothing, Optional provisioningState As Nullable(Of NamespaceProvisioningState) = Nothing, Optional topicsConfiguration As TopicsConfiguration = Nothing, Optional topicSpacesConfiguration As TopicSpacesConfiguration = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of EventGridPublicNetworkAccess) = Nothing, Optional inboundIPRules As IEnumerable(Of EventGridInboundIPRule) = Nothing, Optional minimumTlsVersionAllowed As Nullable(Of TlsVersion) = Nothing) As EventGridNamespaceData

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.

sku
NamespaceSku

Represents available Sku pricing tiers.

identity
ManagedServiceIdentity

Identity information for the Namespace resource.

privateEndpointConnections
IEnumerable<EventGridPrivateEndpointConnectionData>

List of private endpoint connections.

provisioningState
Nullable<NamespaceProvisioningState>

Provisioning state of the namespace resource.

topicsConfiguration
TopicsConfiguration

Topics configuration information for the namespace resource.

topicSpacesConfiguration
TopicSpacesConfiguration

Topic spaces configuration information for the namespace resource.

isZoneRedundant
Nullable<Boolean>

This is an optional property and it allows the user to specify if the namespace resource supports zone-redundancy capability or not. If this property is not specified explicitly by the user, its default value depends on the following conditions: a. For Availability Zones enabled regions - The default property value would be true. b. For non-Availability Zones enabled regions - The default property value would be false. Once specified, this property cannot be updated.

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.PubSub.NamespaceProperties.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.

minimumTlsVersionAllowed
Nullable<TlsVersion>

Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported.

Returns

A new EventGridNamespaceData instance for mocking.

Applies to