Class DscNodeInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.DscNodeInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class DscNodeInner
extends com.azure.core.management.ProxyResource
Definition of a DscNode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accountId property: Gets or sets the account id of the node.etag()
Get the etag property: Gets or sets the etag of the resource.Get the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.static DscNodeInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscNodeInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.ip()
Get the ip property: Gets or sets the ip of the node.lastSeen()
Get the lastSeen property: Gets or sets the last seen time of the node.name()
Get the name property: The name of the resource.Get the name property: Gets or sets the name of the dsc node configuration.nodeId()
Get the nodeId property: Gets or sets the node id.Get the registrationTime property: Gets or sets the registration time of the node.status()
Get the status property: Gets or sets the status of the node.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalCount property: Gets the total number of records matching filter criteria.type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withAccountId
(String accountId) Set the accountId property: Gets or sets the account id of the node.Set the etag property: Gets or sets the etag of the resource.withExtensionHandler
(List<DscNodeExtensionHandlerAssociationProperty> extensionHandler) Set the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.Set the ip property: Gets or sets the ip of the node.withLastSeen
(OffsetDateTime lastSeen) Set the lastSeen property: Gets or sets the last seen time of the node.withNamePropertiesName
(String name) Set the name property: Gets or sets the name of the dsc node configuration.withNodeId
(String nodeId) Set the nodeId property: Gets or sets the node id.withRegistrationTime
(OffsetDateTime registrationTime) Set the registrationTime property: Gets or sets the registration time of the node.withStatus
(String status) Set the status property: Gets or sets the status of the node.withTotalCount
(Integer totalCount) Set the totalCount property: Gets the total number of records matching filter criteria.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
-
DscNodeInner
public DscNodeInner()Creates an instance of DscNodeInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
lastSeen
Get the lastSeen property: Gets or sets the last seen time of the node.- Returns:
- the lastSeen value.
-
withLastSeen
Set the lastSeen property: Gets or sets the last seen time of the node.- Parameters:
lastSeen
- the lastSeen value to set.- Returns:
- the DscNodeInner object itself.
-
registrationTime
Get the registrationTime property: Gets or sets the registration time of the node.- Returns:
- the registrationTime value.
-
withRegistrationTime
Set the registrationTime property: Gets or sets the registration time of the node.- Parameters:
registrationTime
- the registrationTime value to set.- Returns:
- the DscNodeInner object itself.
-
ip
Get the ip property: Gets or sets the ip of the node.- Returns:
- the ip value.
-
withIp
Set the ip property: Gets or sets the ip of the node.- Parameters:
ip
- the ip value to set.- Returns:
- the DscNodeInner object itself.
-
accountId
Get the accountId property: Gets or sets the account id of the node.- Returns:
- the accountId value.
-
withAccountId
Set the accountId property: Gets or sets the account id of the node.- Parameters:
accountId
- the accountId value to set.- Returns:
- the DscNodeInner object itself.
-
status
Get the status property: Gets or sets the status of the node.- Returns:
- the status value.
-
withStatus
Set the status property: Gets or sets the status of the node.- Parameters:
status
- the status value to set.- Returns:
- the DscNodeInner object itself.
-
nodeId
Get the nodeId property: Gets or sets the node id.- Returns:
- the nodeId value.
-
withNodeId
Set the nodeId property: Gets or sets the node id.- Parameters:
nodeId
- the nodeId value to set.- Returns:
- the DscNodeInner object itself.
-
etag
Get the etag property: Gets or sets the etag of the resource.- Returns:
- the etag value.
-
withEtag
Set the etag property: Gets or sets the etag of the resource.- Parameters:
etag
- the etag value to set.- Returns:
- the DscNodeInner object itself.
-
totalCount
Get the totalCount property: Gets the total number of records matching filter criteria.- Returns:
- the totalCount value.
-
withTotalCount
Set the totalCount property: Gets the total number of records matching filter criteria.- Parameters:
totalCount
- the totalCount value to set.- Returns:
- the DscNodeInner object itself.
-
extensionHandler
Get the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.- Returns:
- the extensionHandler value.
-
withExtensionHandler
public DscNodeInner withExtensionHandler(List<DscNodeExtensionHandlerAssociationProperty> extensionHandler) Set the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.- Parameters:
extensionHandler
- the extensionHandler value to set.- Returns:
- the DscNodeInner object itself.
-
namePropertiesName
Get the name property: Gets or sets the name of the dsc node configuration.- Returns:
- the name value.
-
withNamePropertiesName
Set the name property: Gets or sets the name of the dsc node configuration.- Parameters:
name
- the name value to set.- Returns:
- the DscNodeInner 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<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.ProxyResource
- Throws:
IOException
-
fromJson
Reads an instance of DscNodeInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DscNodeInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the DscNodeInner.
-