Class P2SVpnConnectionHealthRequest
java.lang.Object
com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<P2SVpnConnectionHealthRequest>
public final class P2SVpnConnectionHealthRequest
extends Object
implements com.azure.json.JsonSerializable<P2SVpnConnectionHealthRequest>
List of P2S Vpn connection health request.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of P2SVpnConnectionHealthRequest class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of P2SVpnConnectionHealthRequest from the JsonReader.Get the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.withOutputBlobSasUrl(String outputBlobSasUrl) Set the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.withVpnUserNamesFilter(List<String> vpnUserNamesFilter) Set the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.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
-
P2SVpnConnectionHealthRequest
public P2SVpnConnectionHealthRequest()Creates an instance of P2SVpnConnectionHealthRequest class.
-
-
Method Details
-
vpnUserNamesFilter
Get the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.- Returns:
- the vpnUserNamesFilter value.
-
withVpnUserNamesFilter
Set the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.- Parameters:
vpnUserNamesFilter- the vpnUserNamesFilter value to set.- Returns:
- the P2SVpnConnectionHealthRequest object itself.
-
outputBlobSasUrl
Get the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.- Returns:
- the outputBlobSasUrl value.
-
withOutputBlobSasUrl
Set the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.- Parameters:
outputBlobSasUrl- the outputBlobSasUrl value to set.- Returns:
- the P2SVpnConnectionHealthRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<P2SVpnConnectionHealthRequest>- Throws:
IOException
-
fromJson
public static P2SVpnConnectionHealthRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of P2SVpnConnectionHealthRequest from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of P2SVpnConnectionHealthRequest 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 P2SVpnConnectionHealthRequest.
-