Enum NamespaceSku
- java.lang.Object
-
- java.lang.Enum<NamespaceSku>
-
- com.microsoft.azure.servicebus.management.NamespaceSku
-
- All Implemented Interfaces:
Serializable
,Comparable<NamespaceSku>
public enum NamespaceSku extends Enum<NamespaceSku>
Specifies the SKU/tier of the service bus namespace.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumVal()
static NamespaceSku
valueOf(String name)
Returns the enum constant of this type with the specified name.static NamespaceSku[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Basic
public static final NamespaceSku Basic
Basic namespace. Shared Resource. Only queues are available.
-
Standard
public static final NamespaceSku Standard
Standard namespace. Shared Resource. Queues and topics.
-
Premium
public static final NamespaceSku Premium
Premium namespace. Dedicated Resource. Queues and topics.
-
Unknown
public static final NamespaceSku Unknown
Unknown SKU.
-
-
Method Detail
-
values
public static NamespaceSku[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NamespaceSku c : NamespaceSku.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamespaceSku valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumVal
public int getNumVal()
-
-