Class DscNodeInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.DscNodeInner
public final class DscNodeInner
extends com.azure.core.management.ProxyResource
Definition of a DscNode.
-
Constructor Summary
-
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.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.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.Get the totalCount property: Gets the total number of records matching filter criteria.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 com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DscNodeInner
public DscNodeInner()
-
-
Method Details
-
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.
-