NamespaceSku Class

  • java.lang.Object
    • com.microsoft.azure.management.servicebus.NamespaceSku

public class NamespaceSku

Defines values for NamespaceSku.

Field Summary

Modifier and Type Field and Description
final NamespaceSku BASIC

Static value NamespaceSku for BASIC.

final NamespaceSku PREMIUM_CAPACITY1

Static value NamespaceSku for PREMIUM_CAPACITY1.

final NamespaceSku PREMIUM_CAPACITY2

Static value NamespaceSku for PREMIUM_CAPACITY2.

final NamespaceSku PREMIUM_CAPACITY4

Static value NamespaceSku for PREMIUM_CAPACITY4.

final NamespaceSku STANDARD

Static value NamespaceSku for STANDARD.

Constructor Summary

Constructor Description
NamespaceSku(Sku sku)

Creates Service Bus namespace SKU.

NamespaceSku(String name, String tier)

Creates Service Bus namespace sku.

NamespaceSku(String name, String tier, int capacity)

Creates Service Bus namespace SKU.

Method Summary

Modifier and Type Method and Description
int capacity()
boolean equals(Object obj)
int hashCode()
SkuName name()
SkuTier tier()
String toString()

Field Details

BASIC

public static final NamespaceSku BASIC= new NamespaceSku(new Sku().withName(SkuName.BASIC).withTier(SkuTier.BASIC))

Static value NamespaceSku for BASIC.

PREMIUM_CAPACITY1

public static final NamespaceSku PREMIUM_CAPACITY1= new NamespaceSku(new Sku().withCapacity(1).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))

Static value NamespaceSku for PREMIUM_CAPACITY1.

PREMIUM_CAPACITY2

public static final NamespaceSku PREMIUM_CAPACITY2= new NamespaceSku(new Sku().withCapacity(2).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))

Static value NamespaceSku for PREMIUM_CAPACITY2.

PREMIUM_CAPACITY4

public static final NamespaceSku PREMIUM_CAPACITY4= new NamespaceSku(new Sku().withCapacity(4).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))

Static value NamespaceSku for PREMIUM_CAPACITY4.

STANDARD

public static final NamespaceSku STANDARD= new NamespaceSku(new Sku().withName(SkuName.STANDARD).withTier(SkuTier.STANDARD))

Static value NamespaceSku for STANDARD.

Constructor Details

NamespaceSku

public NamespaceSku(Sku sku)

Creates Service Bus namespace SKU.

Parameters:

sku - inner sku model instance

NamespaceSku

public NamespaceSku(String name, String tier)

Creates Service Bus namespace sku.

Parameters:

name - sku name
tier - sku tier

NamespaceSku

public NamespaceSku(String name, String tier, int capacity)

Creates Service Bus namespace SKU.

Parameters:

name - sku name
tier - sku tier
capacity - factor of resources allocated to host Service Bus

Method Details

capacity

public int capacity()

Returns:

sku capacity

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

name

public SkuName name()

Returns:

sku name

tier

public SkuTier tier()

Returns:

sku tier

toString

public String toString()

Applies to