你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmEventHubsModelFactory.EventHubsNamespaceData Method

Definition

Initializes a new instance of EventHubsNamespaceData.

public static Azure.ResourceManager.EventHubs.EventHubsNamespaceData EventHubsNamespaceData (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.EventHubs.Models.EventHubsSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.EventHubs.Models.EventHubsTlsVersion? minimumTlsVersion = default, string provisioningState = default, string status = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string serviceBusEndpoint = default, Azure.Core.ResourceIdentifier clusterArmId = default, string metricId = default, bool? isAutoInflateEnabled = default, Azure.ResourceManager.EventHubs.Models.EventHubsPublicNetworkAccess? publicNetworkAccess = default, int? maximumThroughputUnits = default, bool? kafkaEnabled = default, bool? zoneRedundant = default, Azure.ResourceManager.EventHubs.Models.EventHubsEncryption encryption = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionData> privateEndpointConnections = default, bool? disableLocalAuth = default, string alternateName = default);
static member EventHubsNamespaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.EventHubs.Models.EventHubsSku * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsTlsVersion> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.Core.ResourceIdentifier * string * Nullable<bool> * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsPublicNetworkAccess> * Nullable<int> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.EventHubs.Models.EventHubsEncryption * seq<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionData> * Nullable<bool> * string -> Azure.ResourceManager.EventHubs.EventHubsNamespaceData
Public Shared Function EventHubsNamespaceData (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 EventHubsSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional minimumTlsVersion As Nullable(Of EventHubsTlsVersion) = Nothing, Optional provisioningState As String = Nothing, Optional status As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceBusEndpoint As String = Nothing, Optional clusterArmId As ResourceIdentifier = Nothing, Optional metricId As String = Nothing, Optional isAutoInflateEnabled As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of EventHubsPublicNetworkAccess) = Nothing, Optional maximumThroughputUnits As Nullable(Of Integer) = Nothing, Optional kafkaEnabled As Nullable(Of Boolean) = Nothing, Optional zoneRedundant As Nullable(Of Boolean) = Nothing, Optional encryption As EventHubsEncryption = Nothing, Optional privateEndpointConnections As IEnumerable(Of EventHubsPrivateEndpointConnectionData) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional alternateName As String = Nothing) As EventHubsNamespaceData

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
EventHubsSku

Properties of sku resource.

identity
ManagedServiceIdentity

Properties of BYOK Identity description.

minimumTlsVersion
Nullable<EventHubsTlsVersion>

The minimum TLS version for the cluster to support, e.g. '1.2'.

provisioningState
String

Provisioning state of the Namespace.

status
String

Status of the Namespace.

createdOn
Nullable<DateTimeOffset>

The time the Namespace was created.

updatedOn
Nullable<DateTimeOffset>

The time the Namespace was updated.

serviceBusEndpoint
String

Endpoint you can use to perform Service Bus operations.

clusterArmId
ResourceIdentifier

Cluster ARM ID of the Namespace.

metricId
String

Identifier for Azure Insights metrics.

isAutoInflateEnabled
Nullable<Boolean>

Value that indicates whether AutoInflate is enabled for eventhub namespace.

publicNetworkAccess
Nullable<EventHubsPublicNetworkAccess>

This determines if traffic is allowed over public network. By default it is enabled.

maximumThroughputUnits
Nullable<Int32>

Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).

kafkaEnabled
Nullable<Boolean>

Value that indicates whether Kafka is enabled for eventhub namespace.

zoneRedundant
Nullable<Boolean>

Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

encryption
EventHubsEncryption

Properties of BYOK Encryption description.

privateEndpointConnections
IEnumerable<EventHubsPrivateEndpointConnectionData>

List of private endpoint connections.

disableLocalAuth
Nullable<Boolean>

This property disables SAS authentication for the Event Hubs namespace.

alternateName
String

Alternate name specified when alias and namespace names are same.

Returns

A new EventHubsNamespaceData instance for mocking.

Applies to