InternalNetworkPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch

Implements

public final class InternalNetworkPatch
implements JsonSerializable<InternalNetworkPatch>

The InternalNetwork patch resource definition.

Constructor Summary

Constructor Description
InternalNetworkPatch()

Creates an instance of InternalNetworkPatch class.

Method Summary

Modifier and Type Method and Description
String annotation()

Get the annotation property: Switch configuration description.

BgpPatchConfiguration bgpConfiguration()

Get the bgpConfiguration property: BGP configuration properties.

List<ConnectedSubnetPatch> connectedIPv4Subnets()

Get the connectedIPv4Subnets property: List of Connected IPv4 Subnets.

List<ConnectedSubnetPatch> connectedIPv6Subnets()

Get the connectedIPv6Subnets property: List of connected IPv6 Subnets.

String egressAclId()

Get the egressAclId property: Egress Acl.

ExportRoutePolicy exportRoutePolicy()

Get the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.

static InternalNetworkPatch fromJson(JsonReader jsonReader)

Reads an instance of InternalNetworkPatch from the JsonReader.

ImportRoutePolicy importRoutePolicy()

Get the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.

String ingressAclId()

Get the ingressAclId property: Ingress Acl.

IsMonitoringEnabled isMonitoringEnabled()

Get the isMonitoringEnabled property: To check whether monitoring of internal network is enabled or not.

Integer mtu()

Get the mtu property: Maximum transmission unit.

NativeIpv4PrefixLimitPatchProperties nativeIpv4PrefixLimit()

Get the nativeIpv4PrefixLimit property: Native IPv4 Prefix Limit Configuration properties.

NativeIpv6PrefixLimitPatchProperties nativeIpv6PrefixLimit()

Get the nativeIpv6PrefixLimit property: Native IPv6 Prefix Limit Configuration properties.

StaticRoutePatchConfiguration staticRouteConfiguration()

Get the staticRouteConfiguration property: Static Route Configuration properties.

JsonWriter toJson(JsonWriter jsonWriter)
InternalNetworkPatch withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

InternalNetworkPatch withBgpConfiguration(BgpPatchConfiguration bgpConfiguration)

Set the bgpConfiguration property: BGP configuration properties.

InternalNetworkPatch withConnectedIPv4Subnets(List<ConnectedSubnetPatch> connectedIPv4Subnets)

Set the connectedIPv4Subnets property: List of Connected IPv4 Subnets.

InternalNetworkPatch withConnectedIPv6Subnets(List<ConnectedSubnetPatch> connectedIPv6Subnets)

Set the connectedIPv6Subnets property: List of connected IPv6 Subnets.

InternalNetworkPatch withEgressAclId(String egressAclId)

Set the egressAclId property: Egress Acl.

InternalNetworkPatch withExportRoutePolicy(ExportRoutePolicy exportRoutePolicy)

Set the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.

InternalNetworkPatch withImportRoutePolicy(ImportRoutePolicy importRoutePolicy)

Set the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.

InternalNetworkPatch withIngressAclId(String ingressAclId)

Set the ingressAclId property: Ingress Acl.

InternalNetworkPatch withIsMonitoringEnabled(IsMonitoringEnabled isMonitoringEnabled)

Set the isMonitoringEnabled property: To check whether monitoring of internal network is enabled or not.

InternalNetworkPatch withMtu(Integer mtu)

Set the mtu property: Maximum transmission unit.

InternalNetworkPatch withNativeIpv4PrefixLimit(NativeIpv4PrefixLimitPatchProperties nativeIpv4PrefixLimit)

Set the nativeIpv4PrefixLimit property: Native IPv4 Prefix Limit Configuration properties.

InternalNetworkPatch withNativeIpv6PrefixLimit(NativeIpv6PrefixLimitPatchProperties nativeIpv6PrefixLimit)

Set the nativeIpv6PrefixLimit property: Native IPv6 Prefix Limit Configuration properties.

InternalNetworkPatch withStaticRouteConfiguration(StaticRoutePatchConfiguration staticRouteConfiguration)

Set the staticRouteConfiguration property: Static Route Configuration properties.

Methods inherited from java.lang.Object

Constructor Details

InternalNetworkPatch

public InternalNetworkPatch()

Creates an instance of InternalNetworkPatch class.

Method Details

annotation

public String annotation()

Get the annotation property: Switch configuration description.

Returns:

the annotation value.

bgpConfiguration

public BgpPatchConfiguration bgpConfiguration()

Get the bgpConfiguration property: BGP configuration properties.

Returns:

the bgpConfiguration value.

connectedIPv4Subnets

public List<ConnectedSubnetPatch> connectedIPv4Subnets()

Get the connectedIPv4Subnets property: List of Connected IPv4 Subnets.

Returns:

the connectedIPv4Subnets value.

connectedIPv6Subnets

public List<ConnectedSubnetPatch> connectedIPv6Subnets()

Get the connectedIPv6Subnets property: List of connected IPv6 Subnets.

Returns:

the connectedIPv6Subnets value.

egressAclId

public String egressAclId()

Get the egressAclId property: Egress Acl. ARM resource ID of Access Control Lists.

Returns:

the egressAclId value.

exportRoutePolicy

public ExportRoutePolicy exportRoutePolicy()

Get the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.

Returns:

the exportRoutePolicy value.

fromJson

public static InternalNetworkPatch fromJson(JsonReader jsonReader)

Reads an instance of InternalNetworkPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the InternalNetworkPatch.

importRoutePolicy

public ImportRoutePolicy importRoutePolicy()

Get the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.

Returns:

the importRoutePolicy value.

ingressAclId

public String ingressAclId()

Get the ingressAclId property: Ingress Acl. ARM resource ID of Access Control Lists.

Returns:

the ingressAclId value.

isMonitoringEnabled

public IsMonitoringEnabled isMonitoringEnabled()

Get the isMonitoringEnabled property: To check whether monitoring of internal network is enabled or not.

Returns:

the isMonitoringEnabled value.

mtu

public Integer mtu()

Get the mtu property: Maximum transmission unit. Default value is 1500.

Returns:

the mtu value.

nativeIpv4PrefixLimit

public NativeIpv4PrefixLimitPatchProperties nativeIpv4PrefixLimit()

Get the nativeIpv4PrefixLimit property: Native IPv4 Prefix Limit Configuration properties.

Returns:

the nativeIpv4PrefixLimit value.

nativeIpv6PrefixLimit

public NativeIpv6PrefixLimitPatchProperties nativeIpv6PrefixLimit()

Get the nativeIpv6PrefixLimit property: Native IPv6 Prefix Limit Configuration properties.

Returns:

the nativeIpv6PrefixLimit value.

staticRouteConfiguration

public StaticRoutePatchConfiguration staticRouteConfiguration()

Get the staticRouteConfiguration property: Static Route Configuration properties.

Returns:

the staticRouteConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAnnotation

public InternalNetworkPatch withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

Parameters:

annotation - the annotation value to set.

Returns:

the InternalNetworkPatch object itself.

withBgpConfiguration

public InternalNetworkPatch withBgpConfiguration(BgpPatchConfiguration bgpConfiguration)

Set the bgpConfiguration property: BGP configuration properties.

Parameters:

bgpConfiguration - the bgpConfiguration value to set.

Returns:

the InternalNetworkPatch object itself.

withConnectedIPv4Subnets

public InternalNetworkPatch withConnectedIPv4Subnets(List<ConnectedSubnetPatch> connectedIPv4Subnets)

Set the connectedIPv4Subnets property: List of Connected IPv4 Subnets.

Parameters:

connectedIPv4Subnets - the connectedIPv4Subnets value to set.

Returns:

the InternalNetworkPatch object itself.

withConnectedIPv6Subnets

public InternalNetworkPatch withConnectedIPv6Subnets(List<ConnectedSubnetPatch> connectedIPv6Subnets)

Set the connectedIPv6Subnets property: List of connected IPv6 Subnets.

Parameters:

connectedIPv6Subnets - the connectedIPv6Subnets value to set.

Returns:

the InternalNetworkPatch object itself.

withEgressAclId

public InternalNetworkPatch withEgressAclId(String egressAclId)

Set the egressAclId property: Egress Acl. ARM resource ID of Access Control Lists.

Parameters:

egressAclId - the egressAclId value to set.

Returns:

the InternalNetworkPatch object itself.

withExportRoutePolicy

public InternalNetworkPatch withExportRoutePolicy(ExportRoutePolicy exportRoutePolicy)

Set the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.

Parameters:

exportRoutePolicy - the exportRoutePolicy value to set.

Returns:

the InternalNetworkPatch object itself.

withImportRoutePolicy

public InternalNetworkPatch withImportRoutePolicy(ImportRoutePolicy importRoutePolicy)

Set the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.

Parameters:

importRoutePolicy - the importRoutePolicy value to set.

Returns:

the InternalNetworkPatch object itself.

withIngressAclId

public InternalNetworkPatch withIngressAclId(String ingressAclId)

Set the ingressAclId property: Ingress Acl. ARM resource ID of Access Control Lists.

Parameters:

ingressAclId - the ingressAclId value to set.

Returns:

the InternalNetworkPatch object itself.

withIsMonitoringEnabled

public InternalNetworkPatch withIsMonitoringEnabled(IsMonitoringEnabled isMonitoringEnabled)

Set the isMonitoringEnabled property: To check whether monitoring of internal network is enabled or not.

Parameters:

isMonitoringEnabled - the isMonitoringEnabled value to set.

Returns:

the InternalNetworkPatch object itself.

withMtu

public InternalNetworkPatch withMtu(Integer mtu)

Set the mtu property: Maximum transmission unit. Default value is 1500.

Parameters:

mtu - the mtu value to set.

Returns:

the InternalNetworkPatch object itself.

withNativeIpv4PrefixLimit

public InternalNetworkPatch withNativeIpv4PrefixLimit(NativeIpv4PrefixLimitPatchProperties nativeIpv4PrefixLimit)

Set the nativeIpv4PrefixLimit property: Native IPv4 Prefix Limit Configuration properties.

Parameters:

nativeIpv4PrefixLimit - the nativeIpv4PrefixLimit value to set.

Returns:

the InternalNetworkPatch object itself.

withNativeIpv6PrefixLimit

public InternalNetworkPatch withNativeIpv6PrefixLimit(NativeIpv6PrefixLimitPatchProperties nativeIpv6PrefixLimit)

Set the nativeIpv6PrefixLimit property: Native IPv6 Prefix Limit Configuration properties.

Parameters:

nativeIpv6PrefixLimit - the nativeIpv6PrefixLimit value to set.

Returns:

the InternalNetworkPatch object itself.

withStaticRouteConfiguration

public InternalNetworkPatch withStaticRouteConfiguration(StaticRoutePatchConfiguration staticRouteConfiguration)

Set the staticRouteConfiguration property: Static Route Configuration properties.

Parameters:

staticRouteConfiguration - the staticRouteConfiguration value to set.

Returns:

the InternalNetworkPatch object itself.

Applies to