Class AgentRegistrationInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.AgentRegistrationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AgentRegistrationInner>
public final class AgentRegistrationInner
extends Object
implements com.azure.json.JsonSerializable<AgentRegistrationInner>
Definition of the agent registration information type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AgentRegistrationInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dscMetaConfiguration property: Gets or sets the dsc meta configuration.endpoint()
Get the endpoint property: Gets or sets the dsc server endpoint.static AgentRegistrationInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AgentRegistrationInner from the JsonReader.id()
Get the id property: Gets or sets the id.keys()
Get the keys property: Gets or sets the agent registration keys.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDscMetaConfiguration
(String dscMetaConfiguration) Set the dscMetaConfiguration property: Gets or sets the dsc meta configuration.withEndpoint
(String endpoint) Set the endpoint property: Gets or sets the dsc server endpoint.Set the id property: Gets or sets the id.Set the keys property: Gets or sets the agent registration keys.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AgentRegistrationInner
public AgentRegistrationInner()Creates an instance of AgentRegistrationInner class.
-
-
Method Details
-
dscMetaConfiguration
Get the dscMetaConfiguration property: Gets or sets the dsc meta configuration.- Returns:
- the dscMetaConfiguration value.
-
withDscMetaConfiguration
Set the dscMetaConfiguration property: Gets or sets the dsc meta configuration.- Parameters:
dscMetaConfiguration
- the dscMetaConfiguration value to set.- Returns:
- the AgentRegistrationInner object itself.
-
endpoint
Get the endpoint property: Gets or sets the dsc server endpoint.- Returns:
- the endpoint value.
-
withEndpoint
Set the endpoint property: Gets or sets the dsc server endpoint.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the AgentRegistrationInner object itself.
-
keys
Get the keys property: Gets or sets the agent registration keys.- Returns:
- the keys value.
-
withKeys
Set the keys property: Gets or sets the agent registration keys.- Parameters:
keys
- the keys value to set.- Returns:
- the AgentRegistrationInner object itself.
-
id
Get the id property: Gets or sets the id.- Returns:
- the id value.
-
withId
Set the id property: Gets or sets the id.- Parameters:
id
- the id value to set.- Returns:
- the AgentRegistrationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AgentRegistrationInner>
- Throws:
IOException
-
fromJson
public static AgentRegistrationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AgentRegistrationInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AgentRegistrationInner 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 AgentRegistrationInner.
-