PublicIpAddressSku Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PublicIpAddressSku
- com.
Implements
public final class PublicIpAddressSku
implements JsonSerializable<PublicIpAddressSku>
Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
Constructor Summary
Constructor | Description |
---|---|
PublicIpAddressSku() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
Public |
name()
Get the name property: Specify public IP sku name. |
Public |
tier()
Get the tier property: Specify public IP sku tier. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Public |
withName(PublicIpAddressSkuName name)
Set the name property: Specify public IP sku name. |
Public |
withTier(PublicIpAddressSkuTier tier)
Set the tier property: Specify public IP sku tier. |
Methods inherited from java.lang.Object
Constructor Details
PublicIpAddressSku
public PublicIpAddressSku()
Creates an instance of PublicIpAddressSku class.
Method Details
fromJson
public static PublicIpAddressSku fromJson(JsonReader jsonReader)
Reads an instance of PublicIpAddressSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public PublicIpAddressSkuName name()
Get the name property: Specify public IP sku name.
Returns:
tier
public PublicIpAddressSkuTier tier()
Get the tier property: Specify public IP sku tier.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public PublicIpAddressSku withName(PublicIpAddressSkuName name)
Set the name property: Specify public IP sku name.
Parameters:
Returns:
withTier
public PublicIpAddressSku withTier(PublicIpAddressSkuTier tier)
Set the tier property: Specify public IP sku tier.
Parameters:
Returns:
Applies to
Azure SDK for Java