ExpressRouteCircuitAuthorizationInner Class

public final class ExpressRouteCircuitAuthorizationInner
extends SubResourceModel

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.

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

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: Name of the resource.

Methods inherited from SubResource

id

Methods inherited from SubResourceModel

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.

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: Resource type.

Overrides:

ExpressRouteCircuitAuthorizationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ExpressRouteCircuitAuthorizationInner.validate()

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: Name of the resource.

Overrides:

ExpressRouteCircuitAuthorizationInner.withName(String name)

Parameters:

name

Applies to