共用方式為


NamespaceResource Class

Definition

Description of a Namespace resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NamespaceResource : Microsoft.Azure.Management.NotificationHubs.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type NamespaceResource = class
    inherit Resource
Public Class NamespaceResource
Inherits Resource
Inheritance
NamespaceResource
Attributes

Constructors

NamespaceResource()

Initializes a new instance of the NamespaceResource class.

NamespaceResource(String, String, String, String, IDictionary<String, String>, Sku, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<NamespaceType>)

Initializes a new instance of the NamespaceResource class.

Properties

CreatedAt

Gets or sets the time the namespace was created.

Critical

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

DataCenter

Gets or sets data center for the namespace

Enabled

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

Id

Gets resource Id

(Inherited from Resource)
Location

Gets or sets resource location

(Inherited from Resource)
MetricId

Gets identifier for Azure Insights metrics

Name

Gets resource name

(Inherited from Resource)
NamespaceResourceName

Gets or sets the name of the namespace.

NamespaceType

Gets or sets the namespace type. Possible values include: 'Messaging', 'NotificationHub'

ProvisioningState

Gets or sets provisioning state of the Namespace.

Region

Gets or sets specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe

ScaleUnit

Gets or sets scaleUnit where the namespace gets created

ServiceBusEndpoint

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

Sku

Gets or sets the sku of the created namespace

(Inherited from Resource)
Status

Gets or sets status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting

SubscriptionId

Gets or sets the Id of the Azure subscription associated with the namespace.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
UpdatedAt

Gets or sets the time the namespace was updated.

Methods

Validate()

Validate the object.

Applies to