New-AzureSBNamespace

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

New-AzureSBNamespace

Creates a namespace.

Parameter Set: Default
New-AzureSBNamespace [-Name] <String> [-Location] <String> [ <CommonParameters>]

The New-AzureSBNamespace cmdlet creates a service namespace for use with Service Bus in Windows Azure.

-Location<String>

Specifies a region for the new namespace.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the new namespace.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Create a service namespace

The following examples create a service namespace for use with Service Bus in Windows Azure. Both examples include the required parameter values, but only the first includes the parameter names. The second example can be used because both parameters are positional and their values are given in the required order.

PS C:\>  New-AzureSBNamespace -name myNameSpace -Location East US
PS C:\>  New-AzureSBNamespace myNameSpace 'East US'

Remove-AzureSBNamespace