Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Programatic capacity scaling with Powershell / Microsoft.WindowsAzure.Management.ServiceBus nuget version="0.17.1-preview"

$
0
0

Using the Nuget Library I can create a new Service-Bus-Namespace

sbClient.Namespaces.CreateNamespace("my-own-demo", new ServiceBusNamespaceCreateParameters
{
 Region = region,
 NamespaceType = NamespaceType.Messaging,
 CreateACSNamespace = false
});

Same is true with powershell:

New-AzureSBNamespace [-Name] <string> [[-Location] <string>] [[-CreateACSNamespace] <bool>] [-NamespaceType] <NamespaceType> {Messaging | NotificationHub} [-Profile <AzureProfile>]  [<CommonParameters>]

This creates a new Hub with "standard" scaling and 1 unit. How can I change this values programatically without using the Azure Portal?


Dan Danneberg


Viewing all articles
Browse latest Browse all 1916

Trending Articles