ExpressRouteProviderPortInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. ExpressRouteProviderPortInner
- com.
- com.
- com.
public final class ExpressRouteProviderPortInner
extends Resource
ExpressRouteProviderPort resource.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteProviderPortInner() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Integer |
overprovisionFactor()
Get the overprovision |
String |
peeringLocation()
Get the peering |
Integer |
portBandwidthInMbps()
Get the port |
String |
portPairDescriptor()
Get the port |
String |
primaryAzurePort()
Get the primary |
Integer |
remainingBandwidthInMbps()
Get the remaining |
String |
secondaryAzurePort()
Get the secondary |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Integer |
usedBandwidthInMbps()
Get the used |
void |
validate()
Validates the instance. |
Express |
withId(String id)
Set the id property: Resource ID. |
Express |
withLocation(String location) |
Express |
withOverprovisionFactor(Integer overprovisionFactor)
Set the overprovision |
Express |
withPeeringLocation(String peeringLocation)
Set the peering |
Express |
withPortBandwidthInMbps(Integer portBandwidthInMbps)
Set the port |
Express |
withRemainingBandwidthInMbps(Integer remainingBandwidthInMbps)
Set the remaining |
Express |
withTags(Map<String,String> tags) |
Express |
withUsedBandwidthInMbps(Integer usedBandwidthInMbps)
Set the used |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteProviderPortInner
public ExpressRouteProviderPortInner()
Creates an instance of ExpressRouteProviderPortInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteProviderPortInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
ExpressRouteProviderPortInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ExpressRouteProviderPortInner.name()Returns:
overprovisionFactor
public Integer overprovisionFactor()
Get the overprovisionFactor property: Overprovisioning factor for the port pair.
Returns:
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The peering location of the port pair.
Returns:
portBandwidthInMbps
public Integer portBandwidthInMbps()
Get the portBandwidthInMbps property: Bandwidth of the port in Mbps.
Returns:
portPairDescriptor
public String portPairDescriptor()
Get the portPairDescriptor property: The name of the port pair.
Returns:
primaryAzurePort
public String primaryAzurePort()
Get the primaryAzurePort property: The name of the primary port.
Returns:
remainingBandwidthInMbps
public Integer remainingBandwidthInMbps()
Get the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps.
Returns:
secondaryAzurePort
public String secondaryAzurePort()
Get the secondaryAzurePort property: The name of the secondary port.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExpressRouteProviderPortInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ExpressRouteProviderPortInner.type()Returns:
usedBandwidthInMbps
public Integer usedBandwidthInMbps()
Get the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps.
Returns:
validate
public void validate()
Validates the instance.
withId
public ExpressRouteProviderPortInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public ExpressRouteProviderPortInner withLocation(String location)
Overrides:
ExpressRouteProviderPortInner.withLocation(String location)Parameters:
withOverprovisionFactor
public ExpressRouteProviderPortInner withOverprovisionFactor(Integer overprovisionFactor)
Set the overprovisionFactor property: Overprovisioning factor for the port pair.
Parameters:
Returns:
withPeeringLocation
public ExpressRouteProviderPortInner withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The peering location of the port pair.
Parameters:
Returns:
withPortBandwidthInMbps
public ExpressRouteProviderPortInner withPortBandwidthInMbps(Integer portBandwidthInMbps)
Set the portBandwidthInMbps property: Bandwidth of the port in Mbps.
Parameters:
Returns:
withRemainingBandwidthInMbps
public ExpressRouteProviderPortInner withRemainingBandwidthInMbps(Integer remainingBandwidthInMbps)
Set the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps.
Parameters:
Returns:
withTags
public ExpressRouteProviderPortInner withTags(Map
Overrides:
ExpressRouteProviderPortInner.withTags(Map<String,String> tags)Parameters:
withUsedBandwidthInMbps
public ExpressRouteProviderPortInner withUsedBandwidthInMbps(Integer usedBandwidthInMbps)
Set the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps.
Parameters:
Returns:
Applies to
Azure SDK for Java