Share via


ServiceBusModelFactory.NamespaceProperties Method

Definition

Creates a new NamespaceProperties instance for mocking.

public static Azure.Messaging.ServiceBus.Administration.NamespaceProperties NamespaceProperties (string name, DateTimeOffset createdTime, DateTimeOffset modifiedTime, Azure.Messaging.ServiceBus.Administration.MessagingSku messagingSku, int messagingUnits, string alias);
static member NamespaceProperties : string * DateTimeOffset * DateTimeOffset * Azure.Messaging.ServiceBus.Administration.MessagingSku * int * string -> Azure.Messaging.ServiceBus.Administration.NamespaceProperties
Public Shared Function NamespaceProperties (name As String, createdTime As DateTimeOffset, modifiedTime As DateTimeOffset, messagingSku As MessagingSku, messagingUnits As Integer, alias As String) As NamespaceProperties

Parameters

name
String

The name to assign as the value of Name.

createdTime
DateTimeOffset

The time interval to assign as the value of CreatedTime.

modifiedTime
DateTimeOffset

The time interval to assign as the value of ModifiedTime.

messagingSku
MessagingSku

The SKU value to assign as the value of MessagingSku.

messagingUnits
Int32

The unit value to assign as the value of MessagingUnits.

alias
String

The alias to assign as the value of Alias.

Returns

The populated NamespaceProperties instance to use for mocking.

Applies to