IpAllocationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. IpAllocationInner
- com.
- com.
- com.
public final class IpAllocationInner
extends Resource
IpAllocation resource.
Constructor Summary
| Constructor | Description |
|---|---|
| IpAllocationInner() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,String> |
allocationTags()
Get the allocation |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
| String |
id()
Get the id property: Resource ID. |
| String |
ipamAllocationId()
Get the ipam |
| String |
name()
Get the name property: The name of the resource. |
| String |
prefix()
Get the prefix property: The address prefix for the Ip |
| Integer |
prefixLength()
Get the prefix |
|
Ip |
prefixType()
Get the prefix |
|
Sub |
subnet()
Get the subnet property: The Subnet that using the prefix of this Ip |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Ip |
typePropertiesType()
Get the type property: The type for the Ip |
| void |
validate()
Validates the instance. |
|
Sub |
virtualNetwork()
Get the virtual |
|
Ip |
withAllocationTags(Map<String,String> allocationTags)
Set the allocation |
|
Ip |
withId(String id)
Set the id property: Resource ID. |
|
Ip |
withIpamAllocationId(String ipamAllocationId)
Set the ipam |
|
Ip |
withLocation(String location) |
|
Ip |
withPrefix(String prefix)
Set the prefix property: The address prefix for the Ip |
|
Ip |
withPrefixLength(Integer prefixLength)
Set the prefix |
|
Ip |
withPrefixType(IpVersion prefixType)
Set the prefix |
|
Ip |
withTags(Map<String,String> tags) |
|
Ip |
withTypePropertiesType(IpAllocationType type)
Set the type property: The type for the Ip |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
IpAllocationInner
public IpAllocationInner()
Creates an instance of IpAllocationInner class.
Method Details
allocationTags
public Map<String,String> allocationTags()
Get the allocationTags property: IpAllocation tags.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static IpAllocationInner fromJson(JsonReader jsonReader)
Reads an instance of IpAllocationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
IpAllocationInner.id()Returns:
ipamAllocationId
public String ipamAllocationId()
Get the ipamAllocationId property: The IPAM allocation ID.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
IpAllocationInner.name()Returns:
prefix
public String prefix()
Get the prefix property: The address prefix for the IpAllocation.
Returns:
prefixLength
public Integer prefixLength()
Get the prefixLength property: The address prefix length for the IpAllocation.
Returns:
prefixType
public IpVersion prefixType()
Get the prefixType property: The address prefix Type for the IpAllocation.
Returns:
subnet
public SubResource subnet()
Get the subnet property: The Subnet that using the prefix of this IpAllocation resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
IpAllocationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
IpAllocationInner.type()Returns:
typePropertiesType
public IpAllocationType typePropertiesType()
Get the type property: The type for the IpAllocation.
Returns:
validate
public void validate()
Validates the instance.
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: The VirtualNetwork that using the prefix of this IpAllocation resource.
Returns:
withAllocationTags
public IpAllocationInner withAllocationTags(Map<String,String> allocationTags)
Set the allocationTags property: IpAllocation tags.
Parameters:
Returns:
withId
public IpAllocationInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIpamAllocationId
public IpAllocationInner withIpamAllocationId(String ipamAllocationId)
Set the ipamAllocationId property: The IPAM allocation ID.
Parameters:
Returns:
withLocation
public IpAllocationInner withLocation(String location)
Overrides:
IpAllocationInner.withLocation(String location)Parameters:
withPrefix
public IpAllocationInner withPrefix(String prefix)
Set the prefix property: The address prefix for the IpAllocation.
Parameters:
Returns:
withPrefixLength
public IpAllocationInner withPrefixLength(Integer prefixLength)
Set the prefixLength property: The address prefix length for the IpAllocation.
Parameters:
Returns:
withPrefixType
public IpAllocationInner withPrefixType(IpVersion prefixType)
Set the prefixType property: The address prefix Type for the IpAllocation.
Parameters:
Returns:
withTags
public IpAllocationInner withTags(Map<String,String> tags)
Overrides:
IpAllocationInner.withTags(Map<String,String> tags)Parameters:
withTypePropertiesType
public IpAllocationInner withTypePropertiesType(IpAllocationType type)
Set the type property: The type for the IpAllocation.
Parameters:
Returns: