Class ExpressRouteCircuitInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ExpressRouteCircuitInner
extends com.azure.core.management.Resource
ExpressRouteCircuit resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteCircuitInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowClassicOperations property: Allow classic operations.Get the authorizationKey property: The authorizationKey.Get the authorizations property: The list of authorizations.Get the authorizationStatus property: The authorization status of the Circuit.Get the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.Get the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceGet the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.static ExpressRouteCircuitInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteCircuitInner from the JsonReader.Get the gatewayManagerEtag property: The GatewayManager Etag.Get the globalReachEnabled property: Flag denoting global reach status.id()Get the id property: Resource ID.name()Get the name property: The name of the resource.peerings()Get the peerings property: The list of peerings.Get the provisioningState property: The provisioning state of the express route circuit resource.Get the serviceKey property: The ServiceKey.Get the serviceProviderNotes property: The ServiceProviderNotes.Get the serviceProviderProperties property: The ServiceProviderProperties.Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.sku()Get the sku property: The SKU.stag()Get the stag property: The identifier of the circuit traffic.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAllowClassicOperations(Boolean allowClassicOperations) Set the allowClassicOperations property: Allow classic operations.withAuthorizationKey(String authorizationKey) Set the authorizationKey property: The authorizationKey.withAuthorizations(List<ExpressRouteCircuitAuthorizationInner> authorizations) Set the authorizations property: The list of authorizations.withBandwidthInGbps(Float bandwidthInGbps) Set the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.withCircuitProvisioningState(String circuitProvisioningState) Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.withEnableDirectPortRateLimit(Boolean enableDirectPortRateLimit) Set the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.withExpressRoutePort(com.azure.core.management.SubResource expressRoutePort) Set the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.withGatewayManagerEtag(String gatewayManagerEtag) Set the gatewayManagerEtag property: The GatewayManager Etag.withGlobalReachEnabled(Boolean globalReachEnabled) Set the globalReachEnabled property: Flag denoting global reach status.Set the id property: Resource ID.withLocation(String location) withPeerings(List<ExpressRouteCircuitPeeringInner> peerings) Set the peerings property: The list of peerings.withServiceKey(String serviceKey) Set the serviceKey property: The ServiceKey.withServiceProviderNotes(String serviceProviderNotes) Set the serviceProviderNotes property: The ServiceProviderNotes.withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties) Set the serviceProviderProperties property: The ServiceProviderProperties.withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState) Set the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.Set the sku property: The SKU.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteCircuitInner
public ExpressRouteCircuitInner()Creates an instance of ExpressRouteCircuitInner class.
-
-
Method Details
-
sku
Get the sku property: The SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU.- Parameters:
sku- the sku value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
allowClassicOperations
Get the allowClassicOperations property: Allow classic operations.- Returns:
- the allowClassicOperations value.
-
withAllowClassicOperations
Set the allowClassicOperations property: Allow classic operations.- Parameters:
allowClassicOperations- the allowClassicOperations value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
circuitProvisioningState
Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.- Returns:
- the circuitProvisioningState value.
-
withCircuitProvisioningState
Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.- Parameters:
circuitProvisioningState- the circuitProvisioningState value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
serviceProviderProvisioningState
Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.- Returns:
- the serviceProviderProvisioningState value.
-
withServiceProviderProvisioningState
public ExpressRouteCircuitInner withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState) Set the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.- Parameters:
serviceProviderProvisioningState- the serviceProviderProvisioningState value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
authorizations
Get the authorizations property: The list of authorizations.- Returns:
- the authorizations value.
-
withAuthorizations
public ExpressRouteCircuitInner withAuthorizations(List<ExpressRouteCircuitAuthorizationInner> authorizations) Set the authorizations property: The list of authorizations.- Parameters:
authorizations- the authorizations value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
peerings
Get the peerings property: The list of peerings.- Returns:
- the peerings value.
-
withPeerings
Set the peerings property: The list of peerings.- Parameters:
peerings- the peerings value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
serviceKey
Get the serviceKey property: The ServiceKey.- Returns:
- the serviceKey value.
-
withServiceKey
Set the serviceKey property: The ServiceKey.- Parameters:
serviceKey- the serviceKey value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
serviceProviderNotes
Get the serviceProviderNotes property: The ServiceProviderNotes.- Returns:
- the serviceProviderNotes value.
-
withServiceProviderNotes
Set the serviceProviderNotes property: The ServiceProviderNotes.- Parameters:
serviceProviderNotes- the serviceProviderNotes value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
serviceProviderProperties
Get the serviceProviderProperties property: The ServiceProviderProperties.- Returns:
- the serviceProviderProperties value.
-
withServiceProviderProperties
public ExpressRouteCircuitInner withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties) Set the serviceProviderProperties property: The ServiceProviderProperties.- Parameters:
serviceProviderProperties- the serviceProviderProperties value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
expressRoutePort
public com.azure.core.management.SubResource expressRoutePort()Get the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.- Returns:
- the expressRoutePort value.
-
withExpressRoutePort
public ExpressRouteCircuitInner withExpressRoutePort(com.azure.core.management.SubResource expressRoutePort) Set the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.- Parameters:
expressRoutePort- the expressRoutePort value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
bandwidthInGbps
Get the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.- Returns:
- the bandwidthInGbps value.
-
withBandwidthInGbps
Set the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.- Parameters:
bandwidthInGbps- the bandwidthInGbps value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
stag
Get the stag property: The identifier of the circuit traffic. Outer tag for QinQ encapsulation.- Returns:
- the stag value.
-
provisioningState
Get the provisioningState property: The provisioning state of the express route circuit resource.- Returns:
- the provisioningState value.
-
gatewayManagerEtag
Get the gatewayManagerEtag property: The GatewayManager Etag.- Returns:
- the gatewayManagerEtag value.
-
withGatewayManagerEtag
Set the gatewayManagerEtag property: The GatewayManager Etag.- Parameters:
gatewayManagerEtag- the gatewayManagerEtag value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
globalReachEnabled
Get the globalReachEnabled property: Flag denoting global reach status.- Returns:
- the globalReachEnabled value.
-
withGlobalReachEnabled
Set the globalReachEnabled property: Flag denoting global reach status.- Parameters:
globalReachEnabled- the globalReachEnabled value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
authorizationKey
Get the authorizationKey property: The authorizationKey.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
Set the authorizationKey property: The authorizationKey.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
authorizationStatus
Get the authorizationStatus property: The authorization status of the Circuit.- Returns:
- the authorizationStatus value.
-
enableDirectPortRateLimit
Get the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.- Returns:
- the enableDirectPortRateLimit value.
-
withEnableDirectPortRateLimit
Set the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.- Parameters:
enableDirectPortRateLimit- the enableDirectPortRateLimit value to set.- Returns:
- the ExpressRouteCircuitInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static ExpressRouteCircuitInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteCircuitInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRouteCircuitInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ExpressRouteCircuitInner.
-