Class NetworkConfigurationDiagnosticParameters
- java.lang.Object
-
- com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticParameters
-
public final class NetworkConfigurationDiagnosticParameters extends Object
Parameters to get network configuration diagnostic.
-
-
Constructor Summary
Constructors Constructor Description NetworkConfigurationDiagnosticParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NetworkConfigurationDiagnosticProfile>profiles()Get the profiles property: List of network configuration diagnostic profiles.StringtargetResourceId()Get the targetResourceId property: The ID of the target resource to perform network configuration diagnostic.voidvalidate()Validates the instance.VerbosityLevelverbosityLevel()Get the verbosityLevel property: Verbosity level.NetworkConfigurationDiagnosticParameterswithProfiles(List<NetworkConfigurationDiagnosticProfile> profiles)Set the profiles property: List of network configuration diagnostic profiles.NetworkConfigurationDiagnosticParameterswithTargetResourceId(String targetResourceId)Set the targetResourceId property: The ID of the target resource to perform network configuration diagnostic.NetworkConfigurationDiagnosticParameterswithVerbosityLevel(VerbosityLevel verbosityLevel)Set the verbosityLevel property: Verbosity level.
-
-
-
Method Detail
-
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.- Returns:
- the targetResourceId value.
-
withTargetResourceId
public NetworkConfigurationDiagnosticParameters withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the NetworkConfigurationDiagnosticParameters object itself.
-
verbosityLevel
public VerbosityLevel verbosityLevel()
Get the verbosityLevel property: Verbosity level.- Returns:
- the verbosityLevel value.
-
withVerbosityLevel
public NetworkConfigurationDiagnosticParameters withVerbosityLevel(VerbosityLevel verbosityLevel)
Set the verbosityLevel property: Verbosity level.- Parameters:
verbosityLevel- the verbosityLevel value to set.- Returns:
- the NetworkConfigurationDiagnosticParameters object itself.
-
profiles
public List<NetworkConfigurationDiagnosticProfile> profiles()
Get the profiles property: List of network configuration diagnostic profiles.- Returns:
- the profiles value.
-
withProfiles
public NetworkConfigurationDiagnosticParameters withProfiles(List<NetworkConfigurationDiagnosticProfile> profiles)
Set the profiles property: List of network configuration diagnostic profiles.- Parameters:
profiles- the profiles value to set.- Returns:
- the NetworkConfigurationDiagnosticParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-