Compartilhar via


ArmNotificationHubsModelFactory.NotificationHubNamespaceProperties Method

Definition

Initializes a new instance of NotificationHubNamespaceProperties.

public static Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceProperties NotificationHubNamespaceProperties (string namespaceName = default, Azure.ResourceManager.NotificationHubs.Models.OperationProvisioningState? provisioningState = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceStatus? status = default, bool? isEnabled = default, bool? isCritical = default, string subscriptionId = default, string region = default, string metricId = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceTypeExt? namespaceType = default, Azure.ResourceManager.NotificationHubs.Models.AllowedReplicationRegion? replicationRegion = default, Azure.ResourceManager.NotificationHubs.Models.ZoneRedundancyPreference? zoneRedundancy = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubNetworkAcls networkAcls = default, Azure.ResourceManager.NotificationHubs.Models.PnsCredentials pnsCredentials = default, Uri serviceBusEndpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NotificationHubs.NotificationHubPrivateEndpointConnectionData> privateEndpointConnections = default, string scaleUnit = default, string dataCenter = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubPublicNetworkAccess? publicNetworkAccess = default);
static member NotificationHubNamespaceProperties : string * Nullable<Azure.ResourceManager.NotificationHubs.Models.OperationProvisioningState> * Nullable<Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceStatus> * Nullable<bool> * Nullable<bool> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceTypeExt> * Nullable<Azure.ResourceManager.NotificationHubs.Models.AllowedReplicationRegion> * Nullable<Azure.ResourceManager.NotificationHubs.Models.ZoneRedundancyPreference> * Azure.ResourceManager.NotificationHubs.Models.NotificationHubNetworkAcls * Azure.ResourceManager.NotificationHubs.Models.PnsCredentials * Uri * seq<Azure.ResourceManager.NotificationHubs.NotificationHubPrivateEndpointConnectionData> * string * string * Nullable<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPublicNetworkAccess> -> Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespaceProperties
Public Shared Function NotificationHubNamespaceProperties (Optional namespaceName As String = Nothing, Optional provisioningState As Nullable(Of OperationProvisioningState) = Nothing, Optional status As Nullable(Of NotificationHubNamespaceStatus) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional isCritical As Nullable(Of Boolean) = Nothing, Optional subscriptionId As String = Nothing, Optional region As String = Nothing, Optional metricId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional namespaceType As Nullable(Of NotificationHubNamespaceTypeExt) = Nothing, Optional replicationRegion As Nullable(Of AllowedReplicationRegion) = Nothing, Optional zoneRedundancy As Nullable(Of ZoneRedundancyPreference) = Nothing, Optional networkAcls As NotificationHubNetworkAcls = Nothing, Optional pnsCredentials As PnsCredentials = Nothing, Optional serviceBusEndpoint As Uri = Nothing, Optional privateEndpointConnections As IEnumerable(Of NotificationHubPrivateEndpointConnectionData) = Nothing, Optional scaleUnit As String = Nothing, Optional dataCenter As String = Nothing, Optional publicNetworkAccess As Nullable(Of NotificationHubPublicNetworkAccess) = Nothing) As NotificationHubNamespaceProperties

Parameters

namespaceName
String

Name of the Notification Hubs namespace. This is immutable property, set automatically by the service when the namespace is created.

provisioningState
Nullable<OperationProvisioningState>

Defines values for OperationProvisioningState.

status
Nullable<NotificationHubNamespaceStatus>

Namespace status.

isEnabled
Nullable<Boolean>

Gets or sets whether or not the namespace is currently enabled.

isCritical
Nullable<Boolean>

Gets or sets whether or not the namespace is set as Critical.

subscriptionId
String

Namespace subscription id.

region
String

Region. The value is always set to the same value as Namespace.Location, so we are deprecating this property.

metricId
String

Azure Insights Metrics id.

createdOn
Nullable<DateTimeOffset>

Time when the namespace was created.

updatedOn
Nullable<DateTimeOffset>

Time when the namespace was updated.

namespaceType
Nullable<NotificationHubNamespaceTypeExt>

Defines values for NamespaceType.

replicationRegion
Nullable<AllowedReplicationRegion>

Allowed replication region.

zoneRedundancy
Nullable<ZoneRedundancyPreference>

Namespace SKU name.

networkAcls
NotificationHubNetworkAcls

A collection of network authorization rules.

pnsCredentials
PnsCredentials

Collection of Notification Hub or Notification Hub Namespace PNS credentials.

serviceBusEndpoint
Uri

Gets or sets endpoint you can use to perform NotificationHub operations.

privateEndpointConnections
IEnumerable<NotificationHubPrivateEndpointConnectionData>

Private Endpoint Connections for namespace.

scaleUnit
String

Gets or sets scaleUnit where the namespace gets created.

dataCenter
String

Deprecated.

publicNetworkAccess
Nullable<NotificationHubPublicNetworkAccess>

Type of public network access.

Returns

A new NotificationHubNamespaceProperties instance for mocking.

Applies to