public class IpAllocationInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
IpAllocationInner() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
allocationTags()
Get the allocationTags property: IpAllocation tags.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
String |
ipamAllocationId()
Get the ipamAllocationId property: The IPAM allocation ID.
|
String |
prefix()
Get the prefix property: The address prefix for the IpAllocation.
|
Integer |
prefixLength()
Get the prefixLength property: The address prefix length for the IpAllocation.
|
IpVersion |
prefixType()
Get the prefixType property: The address prefix Type for the IpAllocation.
|
com.azure.core.management.SubResource |
subnet()
Get the subnet property: The Subnet that using the prefix of this IpAllocation resource.
|
IpAllocationType |
typePropertiesType()
Get the typePropertiesType property: The type for the IpAllocation.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualNetwork()
Get the virtualNetwork property: The VirtualNetwork that using the prefix of this IpAllocation resource.
|
IpAllocationInner |
withAllocationTags(Map<String,String> allocationTags)
Set the allocationTags property: IpAllocation tags.
|
IpAllocationInner |
withId(String id)
Set the id property: Resource ID.
|
IpAllocationInner |
withIpamAllocationId(String ipamAllocationId)
Set the ipamAllocationId property: The IPAM allocation ID.
|
IpAllocationInner |
withLocation(String location) |
IpAllocationInner |
withPrefix(String prefix)
Set the prefix property: The address prefix for the IpAllocation.
|
IpAllocationInner |
withPrefixLength(Integer prefixLength)
Set the prefixLength property: The address prefix length for the IpAllocation.
|
IpAllocationInner |
withPrefixType(IpVersion prefixType)
Set the prefixType property: The address prefix Type for the IpAllocation.
|
IpAllocationInner |
withTags(Map<String,String> tags) |
IpAllocationInner |
withTypePropertiesType(IpAllocationType typePropertiesType)
Set the typePropertiesType property: The type for the IpAllocation.
|
public String etag()
public com.azure.core.management.SubResource subnet()
public com.azure.core.management.SubResource virtualNetwork()
public IpAllocationType typePropertiesType()
public IpAllocationInner withTypePropertiesType(IpAllocationType typePropertiesType)
typePropertiesType - the typePropertiesType value to set.public String prefix()
public IpAllocationInner withPrefix(String prefix)
prefix - the prefix value to set.public Integer prefixLength()
public IpAllocationInner withPrefixLength(Integer prefixLength)
prefixLength - the prefixLength value to set.public IpVersion prefixType()
public IpAllocationInner withPrefixType(IpVersion prefixType)
prefixType - the prefixType value to set.public String ipamAllocationId()
public IpAllocationInner withIpamAllocationId(String ipamAllocationId)
ipamAllocationId - the ipamAllocationId value to set.public Map<String,String> allocationTags()
public IpAllocationInner withAllocationTags(Map<String,String> allocationTags)
allocationTags - the allocationTags value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic IpAllocationInner withId(String id)
id - the id value to set.public IpAllocationInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic IpAllocationInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.