Table of Contents

Class NamespaceDescription

Namespace
Microsoft.ServiceBus.Management
Assembly
Microsoft.ServiceBus.dll

Defines the desired semantics for a service namespace.

[DataContract(Name = "NamespaceDescription", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class NamespaceDescription
Inheritance
NamespaceDescription
Inherited Members

Constructors

NamespaceDescription()

Initializes a new instance of the NamespaceDescription class.

public NamespaceDescription()

Fields

Serializer

The data contract serializer associated with the namespace.

public static readonly DataContractSerializer Serializer

Field Value

DataContractSerializer

Properties

AcsManagementEndpoint

Gets or sets the management endpoint for the access control service.

[DataMember(Name = "AcsManagementEndpoint", IsRequired = false, Order = 105, EmitDefaultValue = false)]
public Uri AcsManagementEndpoint { get; set; }

Property Value

Uri

The management endpoint for the access control service.

ConnectionString

Gets or sets the connection string that is used by the client to connect to the server.

[DataMember(Name = "ConnectionString", IsRequired = false, Order = 107, EmitDefaultValue = false)]
public string ConnectionString { get; set; }

Property Value

string

The connection string that is used by the client to connect to the server.

CreateACSNamespace

Gets or sets a value that indicates whether to create ACS namespace.

[DataMember(Name = "CreateACSNamespace", IsRequired = false, Order = 204, EmitDefaultValue = false)]
public bool CreateACSNamespace { get; set; }

Property Value

bool

true if ACS namespace has been created; otherwise, false.

CreatedAt

Gets or sets the date when the namespace was created.

[DataMember(Name = "CreatedAt", IsRequired = false, Order = 104, EmitDefaultValue = false)]
public DateTime CreatedAt { get; set; }

Property Value

DateTime

The date when the namespace was created.

Critical

Gets or sets whether the description is a nullable critical description.

[DataMember(Name = "Critical", IsRequired = false, Order = 110, EmitDefaultValue = false)]
public bool? Critical { get; set; }

Property Value

bool?

true if the description is a nullable critical description; otherwise, false.

DefaultKey

Gets or sets the default key for the namespace.

[DataMember(Name = "DefaultKey", IsRequired = false, Order = 102, EmitDefaultValue = false)]
public string DefaultKey { get; set; }

Property Value

string

The default key for the namespace.

Enabled

Specifies whether this instance is enabled.

[DataMember(Name = "Enabled", IsRequired = false, Order = 109, EmitDefaultValue = true)]
public bool Enabled { get; set; }

Property Value

bool

true if this instance is enabled; otherwise, false.

EventHubEnabled

Specifies whether the Event Hub is enabled.

[DataMember(Name = "EventHubEnabled", IsRequired = false, Order = 205, EmitDefaultValue = false)]
public bool EventHubEnabled { get; set; }

Property Value

bool

true if the Event Hub is enabled; otherwise, false.

MessagingSku

[DataMember(Name = "MessagingSku", IsRequired = false, Order = 207, EmitDefaultValue = false)]
public int MessagingSku { get; set; }

Property Value

int

MessagingSkuPlan

[DataMember(Name = "MessagingSkuPlan", IsRequired = false, Order = 209, EmitDefaultValue = false)]
public MessagingSKUPlan MessagingSkuPlan { get; set; }

Property Value

MessagingSKUPlan

Name

Gets or sets the name of the namespace.

[DataMember(Name = "Name", IsRequired = false, Order = 100, EmitDefaultValue = false)]
public string Name { get; set; }

Property Value

string

The name of the namespace.

NamespaceType

Gets or sets the type of messaging entities the namespace can contain (queues, topics, relays, Event Hubs, or notification hubs). For more information, see NamespaceType.

[DataMember(Name = "NamespaceType", IsRequired = false, Order = 206, EmitDefaultValue = false)]
public NamespaceType? NamespaceType { get; set; }

Property Value

NamespaceType?

Returns NamespaceType.

Region

Gets or sets the geographic region(s) of the Microsoft datacenters in which Customer Data will be stored.

[DataMember(Name = "Region", IsRequired = false, Order = 101, EmitDefaultValue = false)]
public string Region { get; set; }

Property Value

string

The geographic region(s) of the Microsoft datacenters in which Customer Data will be stored.

ServiceBusEndpoint

Gets or sets the service bus end point value.

[DataMember(Name = "ServiceBusEndpoint", IsRequired = false, Order = 106, EmitDefaultValue = false)]
public Uri ServiceBusEndpoint { get; set; }

Property Value

Uri

The service bus end point value.

Status

Gets or sets the state of the namespace.

[DataMember(Name = "Status", IsRequired = false, Order = 103, EmitDefaultValue = false)]
public NamespaceState Status { get; set; }

Property Value

NamespaceState

The state of the namespace.

SubscriptionId

Gets or sets the namespace subscription identifier.

[DataMember(Name = "SubscriptionId", IsRequired = false, Order = 108, EmitDefaultValue = false)]
public string SubscriptionId { get; set; }

Property Value

string

The namespace subscription identifier.

UserIdentities

[DataMember(Name = "UserIdentities", IsRequired = false, Order = 214, EmitDefaultValue = false)]
public List<NamespaceIdentity> UserIdentities { get; set; }

Property Value

List<NamespaceIdentity>