Class ExpressRoutePortAuthorizationPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRoutePortAuthorizationPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRoutePortAuthorizationPropertiesFormat>
public final class ExpressRoutePortAuthorizationPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ExpressRoutePortAuthorizationPropertiesFormat>
ExpressRoute Port Authorization Properties
Properties of ExpressRoutePort Authorization.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRoutePortAuthorizationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizationKey property: The authorization key.Get the authorizationUseStatus property: The authorization use status.Get the circuitResourceUri property: The reference to the ExpressRoute circuit resource using the authorization.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRoutePortAuthorizationPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the authorization resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRoutePortAuthorizationPropertiesFormat
public ExpressRoutePortAuthorizationPropertiesFormat()Creates an instance of ExpressRoutePortAuthorizationPropertiesFormat class.
-
-
Method Details
-
authorizationKey
Get the authorizationKey property: The authorization key.- Returns:
- the authorizationKey value.
-
authorizationUseStatus
Get the authorizationUseStatus property: The authorization use status.- Returns:
- the authorizationUseStatus value.
-
circuitResourceUri
Get the circuitResourceUri property: The reference to the ExpressRoute circuit resource using the authorization.- Returns:
- the circuitResourceUri value.
-
provisioningState
Get the provisioningState property: The provisioning state of the authorization resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExpressRoutePortAuthorizationPropertiesFormat>- Throws:
IOException
-
fromJson
public static ExpressRoutePortAuthorizationPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRoutePortAuthorizationPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRoutePortAuthorizationPropertiesFormat 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 ExpressRoutePortAuthorizationPropertiesFormat.
-