L3NetworkInner Class

public final class L3NetworkInner
extends Resource

L3Network represents a network that utilizes a single isolation domain set up for layer-3 resources.

Constructor Summary

Constructor Description
L3NetworkInner()

Creates an instance of L3NetworkInner class.

Method Summary

Modifier and Type Method and Description
List<String> associatedResourceIds()

Get the associatedResourceIds property: The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

String clusterId()

Get the clusterId property: The resource ID of the Network Cloud cluster this L3 network is associated with.

L3NetworkDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the L3 network.

String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the resource.

static L3NetworkInner fromJson(JsonReader jsonReader)

Reads an instance of L3NetworkInner from the JsonReader.

List<String> hybridAksClustersAssociatedIds()

Get the hybridAksClustersAssociatedIds property: Field Deprecated.

HybridAksIpamEnabled hybridAksIpamEnabled()

Get the hybridAksIpamEnabled property: Field Deprecated.

HybridAksPluginType hybridAksPluginType()

Get the hybridAksPluginType property: Field Deprecated.

String id()

Get the id property: Fully qualified resource Id for the resource.

String interfaceName()

Get the interfaceName property: The default interface name for this L3 network in the virtual machine.

IpAllocationType ipAllocationType()

Get the ipAllocationType property: The type of the IP address allocation, defaulted to "DualStack".

String ipv4ConnectedPrefix()

Get the ipv4ConnectedPrefix property: The IPV4 prefix (CIDR) assigned to this L3 network.

String ipv6ConnectedPrefix()

Get the ipv6ConnectedPrefix property: The IPV6 prefix (CIDR) assigned to this L3 network.

String l3IsolationDomainId()

Get the l3IsolationDomainId property: The resource ID of the Network Fabric l3IsolationDomain.

String name()

Get the name property: The name of the resource.

L3NetworkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the L3 network.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

List<String> virtualMachinesAssociatedIds()

Get the virtualMachinesAssociatedIds property: Field Deprecated.

long vlan()

Get the vlan property: The VLAN from the l3IsolationDomain that is used for this network.

L3NetworkInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the resource.

L3NetworkInner withHybridAksIpamEnabled(HybridAksIpamEnabled hybridAksIpamEnabled)

Set the hybridAksIpamEnabled property: Field Deprecated.

L3NetworkInner withHybridAksPluginType(HybridAksPluginType hybridAksPluginType)

Set the hybridAksPluginType property: Field Deprecated.

L3NetworkInner withInterfaceName(String interfaceName)

Set the interfaceName property: The default interface name for this L3 network in the virtual machine.

L3NetworkInner withIpAllocationType(IpAllocationType ipAllocationType)

Set the ipAllocationType property: The type of the IP address allocation, defaulted to "DualStack".

L3NetworkInner withIpv4ConnectedPrefix(String ipv4ConnectedPrefix)

Set the ipv4ConnectedPrefix property: The IPV4 prefix (CIDR) assigned to this L3 network.

L3NetworkInner withIpv6ConnectedPrefix(String ipv6ConnectedPrefix)

Set the ipv6ConnectedPrefix property: The IPV6 prefix (CIDR) assigned to this L3 network.

L3NetworkInner withL3IsolationDomainId(String l3IsolationDomainId)

Set the l3IsolationDomainId property: The resource ID of the Network Fabric l3IsolationDomain.

L3NetworkInner withLocation(String location)
L3NetworkInner withTags(Map<String,String> tags)
L3NetworkInner withVlan(long vlan)

Set the vlan property: The VLAN from the l3IsolationDomain that is used for this network.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

L3NetworkInner

public L3NetworkInner()

Creates an instance of L3NetworkInner class.

Method Details

associatedResourceIds

public List<String> associatedResourceIds()

Get the associatedResourceIds property: The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

Returns:

the associatedResourceIds value.

clusterId

public String clusterId()

Get the clusterId property: The resource ID of the Network Cloud cluster this L3 network is associated with.

Returns:

the clusterId value.

detailedStatus

public L3NetworkDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the L3 network.

Returns:

the detailedStatus value.

detailedStatusMessage

public String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

Returns:

the detailedStatusMessage value.

etag

public String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

Returns:

the etag value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the resource. This property is required when creating the resource.

Returns:

the extendedLocation value.

fromJson

public static L3NetworkInner fromJson(JsonReader jsonReader)

Reads an instance of L3NetworkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of L3NetworkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hybridAksClustersAssociatedIds

public List<String> hybridAksClustersAssociatedIds()

Get the hybridAksClustersAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this L3 network.

Returns:

the hybridAksClustersAssociatedIds value.

hybridAksIpamEnabled

public HybridAksIpamEnabled hybridAksIpamEnabled()

Get the hybridAksIpamEnabled property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The indicator of whether or not to disable IPAM allocation on the network attachment definition injected into the Hybrid AKS Cluster.

Returns:

the hybridAksIpamEnabled value.

hybridAksPluginType

public HybridAksPluginType hybridAksPluginType()

Get the hybridAksPluginType property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.

Returns:

the hybridAksPluginType value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

L3NetworkInner.id()

Returns:

the id value.

interfaceName

public String interfaceName()

Get the interfaceName property: The default interface name for this L3 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.

Returns:

the interfaceName value.

ipAllocationType

public IpAllocationType ipAllocationType()

Get the ipAllocationType property: The type of the IP address allocation, defaulted to "DualStack".

Returns:

the ipAllocationType value.

ipv4ConnectedPrefix

public String ipv4ConnectedPrefix()

Get the ipv4ConnectedPrefix property: The IPV4 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV4 or DualStack.

Returns:

the ipv4ConnectedPrefix value.

ipv6ConnectedPrefix

public String ipv6ConnectedPrefix()

Get the ipv6ConnectedPrefix property: The IPV6 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV6 or DualStack.

Returns:

the ipv6ConnectedPrefix value.

l3IsolationDomainId

public String l3IsolationDomainId()

Get the l3IsolationDomainId property: The resource ID of the Network Fabric l3IsolationDomain.

Returns:

the l3IsolationDomainId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

L3NetworkInner.name()

Returns:

the name value.

provisioningState

public L3NetworkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the L3 network.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

L3NetworkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

L3NetworkInner.type()

Returns:

the type value.

virtualMachinesAssociatedIds

public List<String> virtualMachinesAssociatedIds()

Get the virtualMachinesAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this L3 network.

Returns:

the virtualMachinesAssociatedIds value.

vlan

public long vlan()

Get the vlan property: The VLAN from the l3IsolationDomain that is used for this network.

Returns:

the vlan value.

withExtendedLocation

public L3NetworkInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the resource. This property is required when creating the resource.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the L3NetworkInner object itself.

withHybridAksIpamEnabled

public L3NetworkInner withHybridAksIpamEnabled(HybridAksIpamEnabled hybridAksIpamEnabled)

Set the hybridAksIpamEnabled property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The indicator of whether or not to disable IPAM allocation on the network attachment definition injected into the Hybrid AKS Cluster.

Parameters:

hybridAksIpamEnabled - the hybridAksIpamEnabled value to set.

Returns:

the L3NetworkInner object itself.

withHybridAksPluginType

public L3NetworkInner withHybridAksPluginType(HybridAksPluginType hybridAksPluginType)

Set the hybridAksPluginType property: Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.

Parameters:

hybridAksPluginType - the hybridAksPluginType value to set.

Returns:

the L3NetworkInner object itself.

withInterfaceName

public L3NetworkInner withInterfaceName(String interfaceName)

Set the interfaceName property: The default interface name for this L3 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.

Parameters:

interfaceName - the interfaceName value to set.

Returns:

the L3NetworkInner object itself.

withIpAllocationType

public L3NetworkInner withIpAllocationType(IpAllocationType ipAllocationType)

Set the ipAllocationType property: The type of the IP address allocation, defaulted to "DualStack".

Parameters:

ipAllocationType - the ipAllocationType value to set.

Returns:

the L3NetworkInner object itself.

withIpv4ConnectedPrefix

public L3NetworkInner withIpv4ConnectedPrefix(String ipv4ConnectedPrefix)

Set the ipv4ConnectedPrefix property: The IPV4 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV4 or DualStack.

Parameters:

ipv4ConnectedPrefix - the ipv4ConnectedPrefix value to set.

Returns:

the L3NetworkInner object itself.

withIpv6ConnectedPrefix

public L3NetworkInner withIpv6ConnectedPrefix(String ipv6ConnectedPrefix)

Set the ipv6ConnectedPrefix property: The IPV6 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV6 or DualStack.

Parameters:

ipv6ConnectedPrefix - the ipv6ConnectedPrefix value to set.

Returns:

the L3NetworkInner object itself.

withL3IsolationDomainId

public L3NetworkInner withL3IsolationDomainId(String l3IsolationDomainId)

Set the l3IsolationDomainId property: The resource ID of the Network Fabric l3IsolationDomain.

Parameters:

l3IsolationDomainId - the l3IsolationDomainId value to set.

Returns:

the L3NetworkInner object itself.

withLocation

public L3NetworkInner withLocation(String location)

Overrides:

L3NetworkInner.withLocation(String location)

Parameters:

location

withTags

public L3NetworkInner withTags(Map<String,String> tags)

Overrides:

L3NetworkInner.withTags(Map<String,String> tags)

Parameters:

tags

withVlan

public L3NetworkInner withVlan(long vlan)

Set the vlan property: The VLAN from the l3IsolationDomain that is used for this network.

Parameters:

vlan - the vlan value to set.

Returns:

the L3NetworkInner object itself.

Applies to