Class QueryTroubleshootingParameters

java.lang.Object
com.azure.resourcemanager.network.models.QueryTroubleshootingParameters

public final class QueryTroubleshootingParameters extends Object
Parameters that define the resource to query the troubleshooting result.
  • Constructor Details

    • QueryTroubleshootingParameters

      public QueryTroubleshootingParameters()
      Creates an instance of QueryTroubleshootingParameters class.
  • Method Details

    • targetResourceId

      public String targetResourceId()
      Get the targetResourceId property: The target resource ID to query the troubleshooting result.
      Returns:
      the targetResourceId value.
    • withTargetResourceId

      public QueryTroubleshootingParameters withTargetResourceId(String targetResourceId)
      Set the targetResourceId property: The target resource ID to query the troubleshooting result.
      Parameters:
      targetResourceId - the targetResourceId value to set.
      Returns:
      the QueryTroubleshootingParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.