Class ExpressRoutePortInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner
-
public final class ExpressRoutePortInner extends com.azure.core.management.ResourceExpressRoute Port ExpressRoutePort resource definition.
-
-
Constructor Summary
Constructors Constructor Description ExpressRoutePortInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringallocationDate()Get the allocationDate property: Date of the physical port allocation to be used in Letter of Authorization.IntegerbandwidthInGbps()Get the bandwidthInGbps property: Bandwidth of procured ports in Gbps.List<com.azure.core.management.SubResource>circuits()Get the circuits property: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.ExpressRoutePortsEncapsulationencapsulation()Get the encapsulation property: Encapsulation method on physical ports.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.StringetherType()Get the etherType property: Ether type of the physical port.Stringid()Get the id property: Resource ID.ManagedServiceIdentityidentity()Get the identity property: The identity of ExpressRoutePort, if configured.List<ExpressRouteLinkInner>links()Get the links property: ExpressRouteLink Sub-Resources The set of physical links of the ExpressRoutePort resource.Stringmtu()Get the mtu property: Maximum transmission unit of the physical port pair(s).StringpeeringLocation()Get the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.FloatprovisionedBandwidthInGbps()Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route port resource.StringresourceGuid()Get the resourceGuid property: The resource GUID property of the express route port resource.voidvalidate()Validates the instance.ExpressRoutePortInnerwithBandwidthInGbps(Integer bandwidthInGbps)Set the bandwidthInGbps property: Bandwidth of procured ports in Gbps.ExpressRoutePortInnerwithEncapsulation(ExpressRoutePortsEncapsulation encapsulation)Set the encapsulation property: Encapsulation method on physical ports.ExpressRoutePortInnerwithId(String id)Set the id property: Resource ID.ExpressRoutePortInnerwithIdentity(ManagedServiceIdentity identity)Set the identity property: The identity of ExpressRoutePort, if configured.ExpressRoutePortInnerwithLinks(List<ExpressRouteLinkInner> links)Set the links property: ExpressRouteLink Sub-Resources The set of physical links of the ExpressRoutePort resource.ExpressRoutePortInnerwithLocation(String location)ExpressRoutePortInnerwithPeeringLocation(String peeringLocation)Set the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.ExpressRoutePortInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of ExpressRoutePort, if configured.- Returns:
- the identity value.
-
withIdentity
public ExpressRoutePortInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of ExpressRoutePort, if configured.- Parameters:
identity- the identity value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public ExpressRoutePortInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
withLocation
public ExpressRoutePortInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ExpressRoutePortInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.- Returns:
- the peeringLocation value.
-
withPeeringLocation
public ExpressRoutePortInner withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.- Parameters:
peeringLocation- the peeringLocation value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
bandwidthInGbps
public Integer bandwidthInGbps()
Get the bandwidthInGbps property: Bandwidth of procured ports in Gbps.- Returns:
- the bandwidthInGbps value.
-
withBandwidthInGbps
public ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps)
Set the bandwidthInGbps property: Bandwidth of procured ports in Gbps.- Parameters:
bandwidthInGbps- the bandwidthInGbps value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
provisionedBandwidthInGbps
public Float provisionedBandwidthInGbps()
Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.- Returns:
- the provisionedBandwidthInGbps value.
-
mtu
public String mtu()
Get the mtu property: Maximum transmission unit of the physical port pair(s).- Returns:
- the mtu value.
-
encapsulation
public ExpressRoutePortsEncapsulation encapsulation()
Get the encapsulation property: Encapsulation method on physical ports.- Returns:
- the encapsulation value.
-
withEncapsulation
public ExpressRoutePortInner withEncapsulation(ExpressRoutePortsEncapsulation encapsulation)
Set the encapsulation property: Encapsulation method on physical ports.- Parameters:
encapsulation- the encapsulation value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
etherType
public String etherType()
Get the etherType property: Ether type of the physical port.- Returns:
- the etherType value.
-
allocationDate
public String allocationDate()
Get the allocationDate property: Date of the physical port allocation to be used in Letter of Authorization.- Returns:
- the allocationDate value.
-
links
public List<ExpressRouteLinkInner> links()
Get the links property: ExpressRouteLink Sub-Resources The set of physical links of the ExpressRoutePort resource.- Returns:
- the links value.
-
withLinks
public ExpressRoutePortInner withLinks(List<ExpressRouteLinkInner> links)
Set the links property: ExpressRouteLink Sub-Resources The set of physical links of the ExpressRoutePort resource.- Parameters:
links- the links value to set.- Returns:
- the ExpressRoutePortInner object itself.
-
circuits
public List<com.azure.core.management.SubResource> circuits()
Get the circuits property: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.- Returns:
- the circuits value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route port resource.- Returns:
- the provisioningState value.
-
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the express route port resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-