Class ExpressRouteCircuitPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitPropertiesFormat
-
public final class ExpressRouteCircuitPropertiesFormat extends Object
Properties of ExpressRouteCircuit.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowClassicOperations()Get the allowClassicOperations property: Allow classic operations.List<ExpressRouteCircuitAuthorizationInner>authorizations()Get the authorizations property: The list of authorizations.FloatbandwidthInGbps()Get the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.StringcircuitProvisioningState()Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.com.azure.core.management.SubResourceexpressRoutePort()Get the expressRoutePort property: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.StringgatewayManagerEtag()Get the gatewayManagerEtag property: The GatewayManager Etag.BooleanglobalReachEnabled()Get the globalReachEnabled property: Flag denoting global reach status.List<ExpressRouteCircuitPeeringInner>peerings()Get the peerings property: The list of peerings.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route circuit resource.StringserviceKey()Get the serviceKey property: The ServiceKey.StringserviceProviderNotes()Get the serviceProviderNotes property: The ServiceProviderNotes.ExpressRouteCircuitServiceProviderPropertiesserviceProviderProperties()Get the serviceProviderProperties property: The ServiceProviderProperties.ServiceProviderProvisioningStateserviceProviderProvisioningState()Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.Integerstag()Get the stag property: The identifier of the circuit traffic.voidvalidate()Validates the instance.ExpressRouteCircuitPropertiesFormatwithAllowClassicOperations(Boolean allowClassicOperations)Set the allowClassicOperations property: Allow classic operations.ExpressRouteCircuitPropertiesFormatwithAuthorizations(List<ExpressRouteCircuitAuthorizationInner> authorizations)Set the authorizations property: The list of authorizations.ExpressRouteCircuitPropertiesFormatwithBandwidthInGbps(Float bandwidthInGbps)Set the bandwidthInGbps property: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.ExpressRouteCircuitPropertiesFormatwithCircuitProvisioningState(String circuitProvisioningState)Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.ExpressRouteCircuitPropertiesFormatwithExpressRoutePort(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.ExpressRouteCircuitPropertiesFormatwithGatewayManagerEtag(String gatewayManagerEtag)Set the gatewayManagerEtag property: The GatewayManager Etag.ExpressRouteCircuitPropertiesFormatwithGlobalReachEnabled(Boolean globalReachEnabled)Set the globalReachEnabled property: Flag denoting global reach status.ExpressRouteCircuitPropertiesFormatwithPeerings(List<ExpressRouteCircuitPeeringInner> peerings)Set the peerings property: The list of peerings.ExpressRouteCircuitPropertiesFormatwithServiceKey(String serviceKey)Set the serviceKey property: The ServiceKey.ExpressRouteCircuitPropertiesFormatwithServiceProviderNotes(String serviceProviderNotes)Set the serviceProviderNotes property: The ServiceProviderNotes.ExpressRouteCircuitPropertiesFormatwithServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties)Set the serviceProviderProperties property: The ServiceProviderProperties.ExpressRouteCircuitPropertiesFormatwithServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState)Set the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.
-
-
-
Method Detail
-
allowClassicOperations
public Boolean allowClassicOperations()
Get the allowClassicOperations property: Allow classic operations.- Returns:
- the allowClassicOperations value.
-
withAllowClassicOperations
public ExpressRouteCircuitPropertiesFormat withAllowClassicOperations(Boolean allowClassicOperations)
Set the allowClassicOperations property: Allow classic operations.- Parameters:
allowClassicOperations- the allowClassicOperations value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
circuitProvisioningState
public String circuitProvisioningState()
Get the circuitProvisioningState property: The CircuitProvisioningState state of the resource.- Returns:
- the circuitProvisioningState value.
-
withCircuitProvisioningState
public ExpressRouteCircuitPropertiesFormat withCircuitProvisioningState(String circuitProvisioningState)
Set the circuitProvisioningState property: The CircuitProvisioningState state of the resource.- Parameters:
circuitProvisioningState- the circuitProvisioningState value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
serviceProviderProvisioningState
public ServiceProviderProvisioningState serviceProviderProvisioningState()
Get the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.- Returns:
- the serviceProviderProvisioningState value.
-
withServiceProviderProvisioningState
public ExpressRouteCircuitPropertiesFormat withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState)
Set the serviceProviderProvisioningState property: The ServiceProviderProvisioningState state of the resource.- Parameters:
serviceProviderProvisioningState- the serviceProviderProvisioningState value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
authorizations
public List<ExpressRouteCircuitAuthorizationInner> authorizations()
Get the authorizations property: The list of authorizations.- Returns:
- the authorizations value.
-
withAuthorizations
public ExpressRouteCircuitPropertiesFormat withAuthorizations(List<ExpressRouteCircuitAuthorizationInner> authorizations)
Set the authorizations property: The list of authorizations.- Parameters:
authorizations- the authorizations value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
peerings
public List<ExpressRouteCircuitPeeringInner> peerings()
Get the peerings property: The list of peerings.- Returns:
- the peerings value.
-
withPeerings
public ExpressRouteCircuitPropertiesFormat withPeerings(List<ExpressRouteCircuitPeeringInner> peerings)
Set the peerings property: The list of peerings.- Parameters:
peerings- the peerings value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
serviceKey
public String serviceKey()
Get the serviceKey property: The ServiceKey.- Returns:
- the serviceKey value.
-
withServiceKey
public ExpressRouteCircuitPropertiesFormat withServiceKey(String serviceKey)
Set the serviceKey property: The ServiceKey.- Parameters:
serviceKey- the serviceKey value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
serviceProviderNotes
public String serviceProviderNotes()
Get the serviceProviderNotes property: The ServiceProviderNotes.- Returns:
- the serviceProviderNotes value.
-
withServiceProviderNotes
public ExpressRouteCircuitPropertiesFormat withServiceProviderNotes(String serviceProviderNotes)
Set the serviceProviderNotes property: The ServiceProviderNotes.- Parameters:
serviceProviderNotes- the serviceProviderNotes value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
serviceProviderProperties
public ExpressRouteCircuitServiceProviderProperties serviceProviderProperties()
Get the serviceProviderProperties property: The ServiceProviderProperties.- Returns:
- the serviceProviderProperties value.
-
withServiceProviderProperties
public ExpressRouteCircuitPropertiesFormat withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties)
Set the serviceProviderProperties property: The ServiceProviderProperties.- Parameters:
serviceProviderProperties- the serviceProviderProperties value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat 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 ExpressRouteCircuitPropertiesFormat 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 ExpressRouteCircuitPropertiesFormat object itself.
-
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.
-
withBandwidthInGbps
public ExpressRouteCircuitPropertiesFormat 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 ExpressRouteCircuitPropertiesFormat object itself.
-
stag
public Integer stag()
Get the stag property: The identifier of the circuit traffic. Outer tag for QinQ encapsulation.- Returns:
- the stag value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route circuit resource.- Returns:
- the provisioningState value.
-
gatewayManagerEtag
public String gatewayManagerEtag()
Get the gatewayManagerEtag property: The GatewayManager Etag.- Returns:
- the gatewayManagerEtag value.
-
withGatewayManagerEtag
public ExpressRouteCircuitPropertiesFormat withGatewayManagerEtag(String gatewayManagerEtag)
Set the gatewayManagerEtag property: The GatewayManager Etag.- Parameters:
gatewayManagerEtag- the gatewayManagerEtag value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
globalReachEnabled
public Boolean globalReachEnabled()
Get the globalReachEnabled property: Flag denoting global reach status.- Returns:
- the globalReachEnabled value.
-
withGlobalReachEnabled
public ExpressRouteCircuitPropertiesFormat withGlobalReachEnabled(Boolean globalReachEnabled)
Set the globalReachEnabled property: Flag denoting global reach status.- Parameters:
globalReachEnabled- the globalReachEnabled value to set.- Returns:
- the ExpressRouteCircuitPropertiesFormat object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-