Interface HybridRunbookWorker
public interface HybridRunbookWorker
An immutable client-side representation of HybridRunbookWorker.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the HybridRunbookWorker definition.static interface
The HybridRunbookWorker definition stages. -
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.HybridRunbookWorkerInner object.ip()
Gets the ip property: Gets or sets the assigned machine IP address.Gets the lastSeenDateTime property: Last Heartbeat from the Worker.void
move
(HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters) Move a hybrid worker to a different group.com.azure.core.http.rest.Response<Void>
moveWithResponse
(HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters, com.azure.core.util.Context context) Move a hybrid worker to a different group.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the registeredDateTime property: Gets or sets the registration time of the worker machine.com.azure.core.management.SystemData
Gets the systemData property: Resource system metadata.type()
Gets the type property: The type of the resource.Gets the vmResourceId property: Azure Resource Manager Id for a virtual machine.Gets the workerName property: Name of the HybridWorker.Gets the workerType property: Type of the HybridWorker.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Resource system metadata.- Returns:
- the systemData value.
-
ip
String ip()Gets the ip property: Gets or sets the assigned machine IP address.- Returns:
- the ip value.
-
registeredDateTime
OffsetDateTime registeredDateTime()Gets the registeredDateTime property: Gets or sets the registration time of the worker machine.- Returns:
- the registeredDateTime value.
-
lastSeenDateTime
OffsetDateTime lastSeenDateTime()Gets the lastSeenDateTime property: Last Heartbeat from the Worker.- Returns:
- the lastSeenDateTime value.
-
vmResourceId
String vmResourceId()Gets the vmResourceId property: Azure Resource Manager Id for a virtual machine.- Returns:
- the vmResourceId value.
-
workerType
WorkerType workerType()Gets the workerType property: Type of the HybridWorker.- Returns:
- the workerType value.
-
workerName
String workerName()Gets the workerName property: Name of the HybridWorker.- Returns:
- the workerName value.
-
innerModel
HybridRunbookWorkerInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.HybridRunbookWorkerInner object.- Returns:
- the inner object.
-
refresh
HybridRunbookWorker refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
move
Move a hybrid worker to a different group.- Parameters:
hybridRunbookWorkerMoveParameters
- The hybrid runbook worker move parameters.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
moveWithResponse
com.azure.core.http.rest.Response<Void> moveWithResponse(HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters, com.azure.core.util.Context context) Move a hybrid worker to a different group.- Parameters:
hybridRunbookWorkerMoveParameters
- The hybrid runbook worker move parameters.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-