ExpressRoutePortAuthorizationInner Class

public final class ExpressRoutePortAuthorizationInner
extends SubResource

ExpressRoute Port Authorization ExpressRoutePort Authorization resource definition.

Constructor Summary

Constructor Description
ExpressRoutePortAuthorizationInner()

Creates an instance of ExpressRoutePortAuthorizationInner class.

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey property: The authorization key.

ExpressRoutePortAuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

String circuitResourceUri()

Get the circuitResourceUri property: The reference to the ExpressRoute circuit resource using the authorization.

String etag()

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

static ExpressRoutePortAuthorizationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortAuthorizationInner 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.

ExpressRoutePortAuthorizationInner withId(String id)
ExpressRoutePortAuthorizationInner 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

ExpressRoutePortAuthorizationInner

public ExpressRoutePortAuthorizationInner()

Creates an instance of ExpressRoutePortAuthorizationInner class.

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorization key.

Returns:

the authorizationKey value.

authorizationUseStatus

public ExpressRoutePortAuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

Returns:

the authorizationUseStatus value.

circuitResourceUri

public String circuitResourceUri()

Get the circuitResourceUri property: The reference to the ExpressRoute circuit resource using the authorization.

Returns:

the circuitResourceUri 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 ExpressRoutePortAuthorizationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortAuthorizationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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:

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

withId

public ExpressRoutePortAuthorizationInner withId(String id)

Overrides:

ExpressRoutePortAuthorizationInner.withId(String id)

Parameters:

id

withName

public ExpressRoutePortAuthorizationInner 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 ExpressRoutePortAuthorizationInner object itself.

Applies to