共用方式為


NotificationHubNamespaceData Class

Definition

A class representing the NotificationHubNamespace data model. Description of a Namespace resource.

public class NotificationHubNamespaceData : Azure.ResourceManager.Models.TrackedResourceData
public class NotificationHubNamespaceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceData>
type NotificationHubNamespaceData = class
    inherit TrackedResourceData
type NotificationHubNamespaceData = class
    inherit TrackedResourceData
    interface IJsonModel<NotificationHubNamespaceData>
    interface IPersistableModel<NotificationHubNamespaceData>
Public Class NotificationHubNamespaceData
Inherits TrackedResourceData
Public Class NotificationHubNamespaceData
Inherits TrackedResourceData
Implements IJsonModel(Of NotificationHubNamespaceData), IPersistableModel(Of NotificationHubNamespaceData)
Inheritance
NotificationHubNamespaceData
Implements

Constructors

NotificationHubNamespaceData(AzureLocation, NotificationHubSku)

Initializes a new instance of NotificationHubNamespaceData.

NotificationHubNamespaceData(AzureLocation)

Initializes a new instance of NotificationHubNamespaceData.

Properties

CreatedOn

Time when the namespace was created.

DataCenter

Deprecated.

HubNamespaceType

Defines values for NamespaceType.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsCritical

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

IsEnabled

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

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MetricId

Azure Insights Metrics id.

Name

The name of the resource.

(Inherited from ResourceData)
NamespaceName

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

NamespaceStatus

Namespace status.

NetworkAcls

A collection of network authorization rules.

OperationProvisioningState

Defines values for OperationProvisioningState.

PnsCredentials

Collection of Notification Hub or Notification Hub Namespace PNS credentials.

PrivateEndpointConnections

Private Endpoint Connections for namespace.

PublicNetworkAccess

Type of public network access.

Region

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

ReplicationRegion

Allowed replication region.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScaleUnit

Gets or sets scaleUnit where the namespace gets created.

ServiceBusEndpoint

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

Sku

The Sku description for a namespace.

SubscriptionId

Namespace subscription id.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UpdatedOn

Time when the namespace was updated.

ZoneRedundancy

Namespace SKU name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<NotificationHubNamespaceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NotificationHubNamespaceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationHubNamespaceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationHubNamespaceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NotificationHubNamespaceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to