ExpressRouteLagPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteLagPropertiesFormat

Implements

public final class ExpressRouteLagPropertiesFormat
implements JsonSerializable<ExpressRouteLagPropertiesFormat>

ExpressRouteLag Resource Properties Properties specific to ExpressRouteLag resources.

Constructor Summary

Constructor Description
ExpressRouteLagPropertiesFormat()

Creates an instance of ExpressRouteLagPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
String allocationDate()

Get the allocationDate property: The date and time when the ExpressRouteLag was allocated.

Integer bandwidthInGbps()

Get the bandwidthInGbps property: Bandwidth of procured LAG in Gbps.

ExpressRouteLagBillingType billingType()

Get the billingType property: The billing type of the ExpressRouteLag resource.

ExpressRouteLagEncapsulation encapsulation()

Get the encapsulation property: Encapsulation method on LAG.

String etherType()

Get the etherType property: Ether type of the LAG.

static ExpressRouteLagPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagPropertiesFormat from the JsonReader.

ExpressRouteLagLacpTimer lacpTimer()

Get the lacpTimer property: LACP timer configuration.

List<ExpressRouteLagLinkInner> links()

Get the links property: ExpressRouteLagLink Sub-Resources The set of links of the ExpressRouteLag resource.

Integer minimumActivePortsRequired()

Get the minimumActivePortsRequired property: Minimum number of active ports required for LAG.

String mtu()

Get the mtu property: Maximum transmission unit of the LAG.

Integer numberOfPorts()

Get the numberOfPorts property: Number of ports in the LAG.

String peeringLocation()

Get the peeringLocation property: The name of the peering location that the ExpressRouteLag is mapped to physically.

Double provisionedBandwidthInGbps()

Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route LAG resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the express route LAG resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteLagPropertiesFormat withBandwidthInGbps(Integer bandwidthInGbps)

Set the bandwidthInGbps property: Bandwidth of procured LAG in Gbps.

ExpressRouteLagPropertiesFormat withBillingType(ExpressRouteLagBillingType billingType)

Set the billingType property: The billing type of the ExpressRouteLag resource.

ExpressRouteLagPropertiesFormat withEncapsulation(ExpressRouteLagEncapsulation encapsulation)

Set the encapsulation property: Encapsulation method on LAG.

ExpressRouteLagPropertiesFormat withLacpTimer(ExpressRouteLagLacpTimer lacpTimer)

Set the lacpTimer property: LACP timer configuration.

ExpressRouteLagPropertiesFormat withLinks(List<ExpressRouteLagLinkInner> links)

Set the links property: ExpressRouteLagLink Sub-Resources The set of links of the ExpressRouteLag resource.

ExpressRouteLagPropertiesFormat withMinimumActivePortsRequired(Integer minimumActivePortsRequired)

Set the minimumActivePortsRequired property: Minimum number of active ports required for LAG.

ExpressRouteLagPropertiesFormat withNumberOfPorts(Integer numberOfPorts)

Set the numberOfPorts property: Number of ports in the LAG.

ExpressRouteLagPropertiesFormat withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The name of the peering location that the ExpressRouteLag is mapped to physically.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagPropertiesFormat

public ExpressRouteLagPropertiesFormat()

Creates an instance of ExpressRouteLagPropertiesFormat class.

Method Details

allocationDate

public String allocationDate()

Get the allocationDate property: The date and time when the ExpressRouteLag was allocated.

Returns:

the allocationDate value.

bandwidthInGbps

public Integer bandwidthInGbps()

Get the bandwidthInGbps property: Bandwidth of procured LAG in Gbps.

Returns:

the bandwidthInGbps value.

billingType

public ExpressRouteLagBillingType billingType()

Get the billingType property: The billing type of the ExpressRouteLag resource.

Returns:

the billingType value.

encapsulation

public ExpressRouteLagEncapsulation encapsulation()

Get the encapsulation property: Encapsulation method on LAG.

Returns:

the encapsulation value.

etherType

public String etherType()

Get the etherType property: Ether type of the LAG.

Returns:

the etherType value.

fromJson

public static ExpressRouteLagPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteLagPropertiesFormat 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 ExpressRouteLagPropertiesFormat.

lacpTimer

public ExpressRouteLagLacpTimer lacpTimer()

Get the lacpTimer property: LACP timer configuration.

Returns:

the lacpTimer value.

links

public List<ExpressRouteLagLinkInner> links()

Get the links property: ExpressRouteLagLink Sub-Resources The set of links of the ExpressRouteLag resource.

Returns:

the links value.

minimumActivePortsRequired

public Integer minimumActivePortsRequired()

Get the minimumActivePortsRequired property: Minimum number of active ports required for LAG.

Returns:

the minimumActivePortsRequired value.

mtu

public String mtu()

Get the mtu property: Maximum transmission unit of the LAG.

Returns:

the mtu value.

numberOfPorts

public Integer numberOfPorts()

Get the numberOfPorts property: Number of ports in the LAG.

Returns:

the numberOfPorts value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: The name of the peering location that the ExpressRouteLag is mapped to physically.

Returns:

the peeringLocation value.

provisionedBandwidthInGbps

public Double provisionedBandwidthInGbps()

Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.

Returns:

the provisionedBandwidthInGbps value.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route LAG resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the express route LAG resource.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBandwidthInGbps

public ExpressRouteLagPropertiesFormat withBandwidthInGbps(Integer bandwidthInGbps)

Set the bandwidthInGbps property: Bandwidth of procured LAG in Gbps.

Parameters:

bandwidthInGbps - the bandwidthInGbps value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withBillingType

public ExpressRouteLagPropertiesFormat withBillingType(ExpressRouteLagBillingType billingType)

Set the billingType property: The billing type of the ExpressRouteLag resource.

Parameters:

billingType - the billingType value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withEncapsulation

public ExpressRouteLagPropertiesFormat withEncapsulation(ExpressRouteLagEncapsulation encapsulation)

Set the encapsulation property: Encapsulation method on LAG.

Parameters:

encapsulation - the encapsulation value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withLacpTimer

public ExpressRouteLagPropertiesFormat withLacpTimer(ExpressRouteLagLacpTimer lacpTimer)

Set the lacpTimer property: LACP timer configuration.

Parameters:

lacpTimer - the lacpTimer value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withLinks

public ExpressRouteLagPropertiesFormat withLinks(List<ExpressRouteLagLinkInner> links)

Set the links property: ExpressRouteLagLink Sub-Resources The set of links of the ExpressRouteLag resource.

Parameters:

links - the links value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withMinimumActivePortsRequired

public ExpressRouteLagPropertiesFormat withMinimumActivePortsRequired(Integer minimumActivePortsRequired)

Set the minimumActivePortsRequired property: Minimum number of active ports required for LAG.

Parameters:

minimumActivePortsRequired - the minimumActivePortsRequired value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withNumberOfPorts

public ExpressRouteLagPropertiesFormat withNumberOfPorts(Integer numberOfPorts)

Set the numberOfPorts property: Number of ports in the LAG.

Parameters:

numberOfPorts - the numberOfPorts value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

withPeeringLocation

public ExpressRouteLagPropertiesFormat withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The name of the peering location that the ExpressRouteLag is mapped to physically.

Parameters:

peeringLocation - the peeringLocation value to set.

Returns:

the ExpressRouteLagPropertiesFormat object itself.

Applies to