RadiusServer Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. RadiusServer
- com.
Implements
public final class RadiusServer
implements JsonSerializable<RadiusServer>
Radius Server Settings.
Constructor Summary
| Constructor | Description |
|---|---|
| RadiusServer() |
Creates an instance of Radius |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Radius |
fromJson(JsonReader jsonReader)
Reads an instance of Radius |
| String |
radiusServerAddress()
Get the radius |
| Long |
radiusServerScore()
Get the radius |
| String |
radiusServerSecret()
Get the radius |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Radius |
withRadiusServerAddress(String radiusServerAddress)
Set the radius |
|
Radius |
withRadiusServerScore(Long radiusServerScore)
Set the radius |
|
Radius |
withRadiusServerSecret(String radiusServerSecret)
Set the radius |
Methods inherited from java.lang.Object
Constructor Details
RadiusServer
public RadiusServer()
Creates an instance of RadiusServer class.
Method Details
fromJson
public static RadiusServer fromJson(JsonReader jsonReader)
Reads an instance of RadiusServer from the JsonReader.
Parameters:
Returns:
Throws:
radiusServerAddress
public String radiusServerAddress()
Get the radiusServerAddress property: The address of this radius server.
Returns:
radiusServerScore
public Long radiusServerScore()
Get the radiusServerScore property: The initial score assigned to this radius server.
Returns:
radiusServerSecret
public String radiusServerSecret()
Get the radiusServerSecret property: The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRadiusServerAddress
public RadiusServer withRadiusServerAddress(String radiusServerAddress)
Set the radiusServerAddress property: The address of this radius server.
Parameters:
Returns:
withRadiusServerScore
public RadiusServer withRadiusServerScore(Long radiusServerScore)
Set the radiusServerScore property: The initial score assigned to this radius server.
Parameters:
Returns:
withRadiusServerSecret
public RadiusServer withRadiusServerSecret(String radiusServerSecret)
Set the radiusServerSecret property: The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.
Parameters:
Returns: