StaticCidrProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. StaticCidrProperties
- com.
Implements
public final class StaticCidrProperties
implements JsonSerializable<StaticCidrProperties>
Properties of static CIDR resource.
Constructor Summary
Constructor | Description |
---|---|
StaticCidrProperties() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
addressPrefixes()
Get the address |
String |
description()
Get the description property: The description property. |
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
String |
numberOfIpAddressesToAllocate()
Get the number |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
totalNumberOfIpAddresses()
Get the total |
void |
validate()
Validates the instance. |
Static |
withAddressPrefixes(List<String> addressPrefixes)
Set the address |
Static |
withDescription(String description)
Set the description property: The description property. |
Static |
withNumberOfIpAddressesToAllocate(String numberOfIpAddressesToAllocate)
Set the number |
Static |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
Methods inherited from java.lang.Object
Constructor Details
StaticCidrProperties
public StaticCidrProperties()
Creates an instance of StaticCidrProperties class.
Method Details
addressPrefixes
public List
Get the addressPrefixes property: List of IP address prefixes of the resource.
Returns:
description
public String description()
Get the description property: The description property.
Returns:
fromJson
public static StaticCidrProperties fromJson(JsonReader jsonReader)
Reads an instance of StaticCidrProperties from the JsonReader.
Parameters:
Returns:
Throws:
numberOfIpAddressesToAllocate
public String numberOfIpAddressesToAllocate()
Get the numberOfIpAddressesToAllocate property: Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning states of a resource.
Returns:
toJson
totalNumberOfIpAddresses
public String totalNumberOfIpAddresses()
Get the totalNumberOfIpAddresses property: Total number of IP addresses allocated for the static CIDR resource.
Returns:
validate
public void validate()
Validates the instance.
withAddressPrefixes
public StaticCidrProperties withAddressPrefixes(List
Set the addressPrefixes property: List of IP address prefixes of the resource.
Parameters:
Returns:
withDescription
public StaticCidrProperties withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
withNumberOfIpAddressesToAllocate
public StaticCidrProperties withNumberOfIpAddressesToAllocate(String numberOfIpAddressesToAllocate)
Set the numberOfIpAddressesToAllocate property: Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
Parameters:
Returns:
withProvisioningState
public StaticCidrProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: Provisioning states of a resource.
Parameters:
Returns:
Applies to
Azure SDK for Java