ExpressRouteServiceProviderInner Class

public final class ExpressRouteServiceProviderInner
extends Resource

A ExpressRouteResourceProvider object.

Method Summary

Modifier and Type Method and Description
List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered()

Get the bandwidthsOffered property: A list of bandwidths offered.

static ExpressRouteServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteServiceProviderInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

List<String> peeringLocations()

Get the peeringLocations property: A list of peering locations.

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Method Details

bandwidthsOffered

public List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered()

Get the bandwidthsOffered property: A list of bandwidths offered.

Returns:

the bandwidthsOffered value.

fromJson

public static ExpressRouteServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteServiceProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteServiceProviderInner 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.

id

public String id()

Get the id property: Resource ID.

Overrides:

ExpressRouteServiceProviderInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteServiceProviderInner.name()

Returns:

the name value.

peeringLocations

public List<String> peeringLocations()

Get the peeringLocations property: A list of peering locations.

Returns:

the peeringLocations value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteServiceProviderInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteServiceProviderInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to