ExpressRouteCircuitInner Class

public final class ExpressRouteCircuitInner
extends Resource

ExpressRouteCircuit resource.

Constructor Summary

Constructor Description
ExpressRouteCircuitInner()

Creates an instance of ExpressRouteCircuitInner class.

Method Summary

Modifier and Type Method and Description
Boolean allowClassicOperations()

Get the allowClassicOperations property: Allow classic operations.

String authorizationKey()

Get the authorizationKey property: The authorizationKey.

String authorizationStatus()

Get the authorizationStatus property: The authorization status of the Circuit.

List<ExpressRouteCircuitAuthorizationInner> authorizations()

Get the authorizations property: The list of authorizations.

Float bandwidthInGbps()

Get the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.

String circuitProvisioningState()

Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.

Boolean enableDirectPortRateLimit()

Get the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource expressRoutePort()

Get the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.

static ExpressRouteCircuitInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitInner from the JsonReader.

String gatewayManagerEtag()

Get the gatewayManagerEtag property: The GatewayManager Etag.

Boolean globalReachEnabled()

Get the globalReachEnabled property: Flag denoting global reach status.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

List<ExpressRouteCircuitPeeringInner> peerings()

Get the peerings property: The list of peerings.

ProvisioningState provisioningState()

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

String serviceKey()

Get the serviceKey property: The ServiceKey.

String serviceProviderNotes()

Get the serviceProviderNotes property: The ServiceProviderNotes.

ExpressRouteCircuitServiceProviderProperties serviceProviderProperties()

Get the serviceProviderProperties property: The ServiceProviderProperties.

ServiceProviderProvisioningState serviceProviderProvisioningState()

Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.

ExpressRouteCircuitSku sku()

Get the sku property: The SKU.

Integer stag()

Get the stag property: The identifier of the circuit traffic.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteCircuitInner withAllowClassicOperations(Boolean allowClassicOperations)

Set the allowClassicOperations property: Allow classic operations.

ExpressRouteCircuitInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

ExpressRouteCircuitInner withAuthorizations(List<ExpressRouteCircuitAuthorizationInner> authorizations)

Set the authorizations property: The list of authorizations.

ExpressRouteCircuitInner withBandwidthInGbps(Float bandwidthInGbps)

Set the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.

ExpressRouteCircuitInner withCircuitProvisioningState(String circuitProvisioningState)

Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.

ExpressRouteCircuitInner withEnableDirectPortRateLimit(Boolean enableDirectPortRateLimit)

Set the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.

ExpressRouteCircuitInner withExpressRoutePort(SubResource expressRoutePort)

Set the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.

ExpressRouteCircuitInner withGatewayManagerEtag(String gatewayManagerEtag)

Set the gatewayManagerEtag property: The GatewayManager Etag.

ExpressRouteCircuitInner withGlobalReachEnabled(Boolean globalReachEnabled)

Set the globalReachEnabled property: Flag denoting global reach status.

ExpressRouteCircuitInner withId(String id)

Set the id property: Resource ID.

ExpressRouteCircuitInner withLocation(String location)
ExpressRouteCircuitInner withPeerings(List<ExpressRouteCircuitPeeringInner> peerings)

Set the peerings property: The list of peerings.

ExpressRouteCircuitInner withServiceKey(String serviceKey)

Set the serviceKey property: The ServiceKey.

ExpressRouteCircuitInner withServiceProviderNotes(String serviceProviderNotes)

Set the serviceProviderNotes property: The ServiceProviderNotes.

ExpressRouteCircuitInner withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties)

Set the serviceProviderProperties property: The ServiceProviderProperties.

ExpressRouteCircuitInner withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState)

Set the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.

ExpressRouteCircuitInner withSku(ExpressRouteCircuitSku sku)

Set the sku property: The SKU.

ExpressRouteCircuitInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitInner

public ExpressRouteCircuitInner()

Creates an instance of ExpressRouteCircuitInner class.

Method Details

allowClassicOperations

public Boolean allowClassicOperations()

Get the allowClassicOperations property: Allow classic operations.

Returns:

the allowClassicOperations value.

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorizationKey.

Returns:

the authorizationKey value.

authorizationStatus

public String authorizationStatus()

Get the authorizationStatus property: The authorization status of the Circuit.

Returns:

the authorizationStatus value.

authorizations

public List authorizations()

Get the authorizations property: The list of authorizations.

Returns:

the authorizations value.

bandwidthInGbps

public Float bandwidthInGbps()

Get the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.

Returns:

the bandwidthInGbps value.

circuitProvisioningState

public String circuitProvisioningState()

Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.

Returns:

the circuitProvisioningState value.

enableDirectPortRateLimit

public Boolean enableDirectPortRateLimit()

Get the enableDirectPortRateLimit property: Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.

Returns:

the enableDirectPortRateLimit value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

expressRoutePort

public 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.

fromJson

public static ExpressRouteCircuitInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

gatewayManagerEtag

public String gatewayManagerEtag()

Get the gatewayManagerEtag property: The GatewayManager Etag.

Returns:

the gatewayManagerEtag value.

globalReachEnabled

public Boolean globalReachEnabled()

Get the globalReachEnabled property: Flag denoting global reach status.

Returns:

the globalReachEnabled value.

id

public String id()

Get the id property: Resource ID.

Overrides:

ExpressRouteCircuitInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteCircuitInner.name()

Returns:

the name value.

peerings

public List peerings()

Get the peerings property: The list of peerings.

Returns:

the peerings value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

serviceKey

public String serviceKey()

Get the serviceKey property: The ServiceKey.

Returns:

the serviceKey value.

serviceProviderNotes

public String serviceProviderNotes()

Get the serviceProviderNotes property: The ServiceProviderNotes.

Returns:

the serviceProviderNotes value.

serviceProviderProperties

public ExpressRouteCircuitServiceProviderProperties serviceProviderProperties()

Get the serviceProviderProperties property: The ServiceProviderProperties.

Returns:

the serviceProviderProperties value.

serviceProviderProvisioningState

public ServiceProviderProvisioningState serviceProviderProvisioningState()

Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.

Returns:

the serviceProviderProvisioningState value.

sku

public ExpressRouteCircuitSku sku()

Get the sku property: The SKU.

Returns:

the sku value.

stag

public Integer stag()

Get the stag property: The identifier of the circuit traffic. Outer tag for QinQ encapsulation.

Returns:

the stag value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteCircuitInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteCircuitInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAllowClassicOperations

public ExpressRouteCircuitInner withAllowClassicOperations(Boolean allowClassicOperations)

Set the allowClassicOperations property: Allow classic operations.

Parameters:

allowClassicOperations - the allowClassicOperations value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withAuthorizationKey

public ExpressRouteCircuitInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withAuthorizations

public ExpressRouteCircuitInner withAuthorizations(List authorizations)

Set the authorizations property: The list of authorizations.

Parameters:

authorizations - the authorizations value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withBandwidthInGbps

public ExpressRouteCircuitInner withBandwidthInGbps(Float bandwidthInGbps)

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.

withCircuitProvisioningState

public ExpressRouteCircuitInner withCircuitProvisioningState(String circuitProvisioningState)

Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.

Parameters:

circuitProvisioningState - the circuitProvisioningState value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withEnableDirectPortRateLimit

public ExpressRouteCircuitInner withEnableDirectPortRateLimit(Boolean enableDirectPortRateLimit)

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.

withExpressRoutePort

public ExpressRouteCircuitInner withExpressRoutePort(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.

withGatewayManagerEtag

public ExpressRouteCircuitInner withGatewayManagerEtag(String gatewayManagerEtag)

Set the gatewayManagerEtag property: The GatewayManager Etag.

Parameters:

gatewayManagerEtag - the gatewayManagerEtag value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withGlobalReachEnabled

public ExpressRouteCircuitInner withGlobalReachEnabled(Boolean globalReachEnabled)

Set the globalReachEnabled property: Flag denoting global reach status.

Parameters:

globalReachEnabled - the globalReachEnabled value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withId

public ExpressRouteCircuitInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withLocation

public ExpressRouteCircuitInner withLocation(String location)

Overrides:

ExpressRouteCircuitInner.withLocation(String location)

Parameters:

location

withPeerings

public ExpressRouteCircuitInner withPeerings(List peerings)

Set the peerings property: The list of peerings.

Parameters:

peerings - the peerings value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withServiceKey

public ExpressRouteCircuitInner withServiceKey(String serviceKey)

Set the serviceKey property: The ServiceKey.

Parameters:

serviceKey - the serviceKey value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withServiceProviderNotes

public ExpressRouteCircuitInner withServiceProviderNotes(String serviceProviderNotes)

Set the serviceProviderNotes property: The ServiceProviderNotes.

Parameters:

serviceProviderNotes - the serviceProviderNotes value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withServiceProviderProperties

public ExpressRouteCircuitInner withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties)

Set the serviceProviderProperties property: The ServiceProviderProperties.

Parameters:

serviceProviderProperties - the serviceProviderProperties value to set.

Returns:

the ExpressRouteCircuitInner object itself.

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.

withSku

public ExpressRouteCircuitInner withSku(ExpressRouteCircuitSku sku)

Set the sku property: The SKU.

Parameters:

sku - the sku value to set.

Returns:

the ExpressRouteCircuitInner object itself.

withTags

public ExpressRouteCircuitInner withTags(Map tags)

Overrides:

ExpressRouteCircuitInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to