ExpressRouteCircuitAuthorizationInner Class

public final class ExpressRouteCircuitAuthorizationInner
extends SubResource

Authorization in an ExpressRouteCircuit resource.

Constructor Summary

Constructor Description
ExpressRouteCircuitAuthorizationInner()

Creates an instance of ExpressRouteCircuitAuthorizationInner class.

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey property: The authorization key.

AuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

String connectionResourceUri()

Get the connectionResourceUri property: The reference to the ExpressRoute connection resource using the authorization.

String etag()

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

static ExpressRouteCircuitAuthorizationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitAuthorizationInner from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authorization resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ExpressRouteCircuitAuthorizationInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorization key.

ExpressRouteCircuitAuthorizationInner withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus)

Set the authorizationUseStatus property: The authorization use status.

ExpressRouteCircuitAuthorizationInner withId(String id)
ExpressRouteCircuitAuthorizationInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitAuthorizationInner

public ExpressRouteCircuitAuthorizationInner()

Creates an instance of ExpressRouteCircuitAuthorizationInner class.

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorization key.

Returns:

the authorizationKey value.

authorizationUseStatus

public AuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

Returns:

the authorizationUseStatus value.

connectionResourceUri

public String connectionResourceUri()

Get the connectionResourceUri property: The reference to the ExpressRoute connection resource using the authorization.

Returns:

the connectionResourceUri 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.

fromJson

public static ExpressRouteCircuitAuthorizationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitAuthorizationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCircuitAuthorizationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressRouteCircuitAuthorizationInner.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authorization resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteCircuitAuthorizationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAuthorizationKey

public ExpressRouteCircuitAuthorizationInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorization key.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the ExpressRouteCircuitAuthorizationInner object itself.

withAuthorizationUseStatus

public ExpressRouteCircuitAuthorizationInner withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus)

Set the authorizationUseStatus property: The authorization use status.

Parameters:

authorizationUseStatus - the authorizationUseStatus value to set.

Returns:

the ExpressRouteCircuitAuthorizationInner object itself.

withId

public ExpressRouteCircuitAuthorizationInner withId(String id)

Overrides:

ExpressRouteCircuitAuthorizationInner.withId(String id)

Parameters:

id

withName

public ExpressRouteCircuitAuthorizationInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the ExpressRouteCircuitAuthorizationInner object itself.

Applies to