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 Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnoseRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationInsights property: Setting for diagnosing dependent application insights.Get the containerRegistry property: Setting for diagnosing dependent container registry.Get the dnsResolution property: Setting for diagnosing dns resolution.static DiagnoseRequestPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnoseRequestProperties from the JsonReader.keyVault()Get the keyVault property: Setting for diagnosing dependent key vault.nsg()Get the nsg property: Setting for diagnosing network security group.others()Get the others property: Setting for diagnosing unclassified category of problems.Get the resourceLock property: Setting for diagnosing resource lock.Get the storageAccount property: Setting for diagnosing dependent storage account.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) udr()Get the udr property: Setting for diagnosing user defined routing.voidvalidate()Validates the instance.withApplicationInsights(Map<String, Object> applicationInsights) Set the applicationInsights property: Setting for diagnosing dependent application insights.withContainerRegistry(Map<String, Object> containerRegistry) Set the containerRegistry property: Setting for diagnosing dependent container registry.withDnsResolution(Map<String, Object> dnsResolution) Set the dnsResolution property: Setting for diagnosing dns resolution.withKeyVault(Map<String, Object> keyVault) Set the keyVault property: Setting for diagnosing dependent key vault.Set the nsg property: Setting for diagnosing network security group.withOthers(Map<String, Object> others) Set the others property: Setting for diagnosing unclassified category of problems.withResourceLock(Map<String, Object> resourceLock) Set the resourceLock property: Setting for diagnosing resource lock.withStorageAccount(Map<String, Object> storageAccount) Set the storageAccount property: Setting for diagnosing dependent storage account.Set the udr property: Setting for diagnosing user defined routing.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
-
DiagnoseRequestProperties
public DiagnoseRequestProperties()Creates an instance of DiagnoseRequestProperties class.
-
-
Method Details
-
udr
Get the udr property: Setting for diagnosing user defined routing.- Returns:
- the udr value.
-
withUdr
Set the udr property: Setting for diagnosing user defined routing.- Parameters:
udr- the udr value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
nsg
Get the nsg property: Setting for diagnosing network security group.- Returns:
- the nsg value.
-
withNsg
Set the nsg property: Setting for diagnosing network security group.- Parameters:
nsg- the nsg value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
resourceLock
Get the resourceLock property: Setting for diagnosing resource lock.- Returns:
- the resourceLock value.
-
withResourceLock
Set the resourceLock property: Setting for diagnosing resource lock.- Parameters:
resourceLock- the resourceLock value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
dnsResolution
Get the dnsResolution property: Setting for diagnosing dns resolution.- Returns:
- the dnsResolution value.
-
withDnsResolution
Set the dnsResolution property: Setting for diagnosing dns resolution.- Parameters:
dnsResolution- the dnsResolution value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
storageAccount
Get the storageAccount property: Setting for diagnosing dependent storage account.- Returns:
- the storageAccount value.
-
withStorageAccount
Set the storageAccount property: Setting for diagnosing dependent storage account.- Parameters:
storageAccount- the storageAccount value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
keyVault
Get the keyVault property: Setting for diagnosing dependent key vault.- Returns:
- the keyVault value.
-
withKeyVault
Set the keyVault property: Setting for diagnosing dependent key vault.- Parameters:
keyVault- the keyVault value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
containerRegistry
Get the containerRegistry property: Setting for diagnosing dependent container registry.- Returns:
- the containerRegistry value.
-
withContainerRegistry
Set the containerRegistry property: Setting for diagnosing dependent container registry.- Parameters:
containerRegistry- the containerRegistry value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
applicationInsights
Get the applicationInsights property: Setting for diagnosing dependent application insights.- Returns:
- the applicationInsights value.
-
withApplicationInsights
Set the applicationInsights property: Setting for diagnosing dependent application insights.- Parameters:
applicationInsights- the applicationInsights value to set.- Returns:
- the DiagnoseRequestProperties object itself.
-
others
Get the others property: Setting for diagnosing unclassified category of problems.- Returns:
- the others value.
-
withOthers
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
- Specified by:
toJsonin interfacecom.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.
-