Class DiagnoseRequestProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.DiagnoseRequestProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnoseRequestProperties>

public final class DiagnoseRequestProperties extends Object implements com.azure.json.JsonSerializable<DiagnoseRequestProperties>
The DiagnoseRequestProperties model.
  • Constructor Details

    • DiagnoseRequestProperties

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

    • udr

      public Map<String,Object> udr()
      Get the udr property: Setting for diagnosing user defined routing.
      Returns:
      the udr value.
    • withUdr

      public DiagnoseRequestProperties withUdr(Map<String,Object> udr)
      Set the udr property: Setting for diagnosing user defined routing.
      Parameters:
      udr - the udr value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • nsg

      public Map<String,Object> nsg()
      Get the nsg property: Setting for diagnosing network security group.
      Returns:
      the nsg value.
    • withNsg

      public DiagnoseRequestProperties withNsg(Map<String,Object> nsg)
      Set the nsg property: Setting for diagnosing network security group.
      Parameters:
      nsg - the nsg value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • resourceLock

      public Map<String,Object> resourceLock()
      Get the resourceLock property: Setting for diagnosing resource lock.
      Returns:
      the resourceLock value.
    • withResourceLock

      public DiagnoseRequestProperties withResourceLock(Map<String,Object> resourceLock)
      Set the resourceLock property: Setting for diagnosing resource lock.
      Parameters:
      resourceLock - the resourceLock value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • dnsResolution

      public Map<String,Object> dnsResolution()
      Get the dnsResolution property: Setting for diagnosing dns resolution.
      Returns:
      the dnsResolution value.
    • withDnsResolution

      public DiagnoseRequestProperties withDnsResolution(Map<String,Object> dnsResolution)
      Set the dnsResolution property: Setting for diagnosing dns resolution.
      Parameters:
      dnsResolution - the dnsResolution value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • storageAccount

      public Map<String,Object> storageAccount()
      Get the storageAccount property: Setting for diagnosing dependent storage account.
      Returns:
      the storageAccount value.
    • withStorageAccount

      public DiagnoseRequestProperties withStorageAccount(Map<String,Object> storageAccount)
      Set the storageAccount property: Setting for diagnosing dependent storage account.
      Parameters:
      storageAccount - the storageAccount value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • keyVault

      public Map<String,Object> keyVault()
      Get the keyVault property: Setting for diagnosing dependent key vault.
      Returns:
      the keyVault value.
    • withKeyVault

      public DiagnoseRequestProperties withKeyVault(Map<String,Object> keyVault)
      Set the keyVault property: Setting for diagnosing dependent key vault.
      Parameters:
      keyVault - the keyVault value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • containerRegistry

      public Map<String,Object> containerRegistry()
      Get the containerRegistry property: Setting for diagnosing dependent container registry.
      Returns:
      the containerRegistry value.
    • withContainerRegistry

      public DiagnoseRequestProperties withContainerRegistry(Map<String,Object> containerRegistry)
      Set the containerRegistry property: Setting for diagnosing dependent container registry.
      Parameters:
      containerRegistry - the containerRegistry value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • applicationInsights

      public Map<String,Object> applicationInsights()
      Get the applicationInsights property: Setting for diagnosing dependent application insights.
      Returns:
      the applicationInsights value.
    • withApplicationInsights

      public DiagnoseRequestProperties withApplicationInsights(Map<String,Object> applicationInsights)
      Set the applicationInsights property: Setting for diagnosing dependent application insights.
      Parameters:
      applicationInsights - the applicationInsights value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • others

      public Map<String,Object> others()
      Get the others property: Setting for diagnosing unclassified category of problems.
      Returns:
      the others value.
    • withOthers

      public DiagnoseRequestProperties withOthers(Map<String,Object> others)
      Set the others property: Setting for diagnosing unclassified category of problems.
      Parameters:
      others - the others value to set.
      Returns:
      the DiagnoseRequestProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DiagnoseRequestProperties>
      Throws:
      IOException
    • fromJson

      public static DiagnoseRequestProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DiagnoseRequestProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DiagnoseRequestProperties 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 DiagnoseRequestProperties.