ArmAutomationModelFactory.HybridRunbookWorkerData Method

Definition

Initializes a new instance of HybridRunbookWorkerData.

public static Azure.ResourceManager.Automation.HybridRunbookWorkerData HybridRunbookWorkerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string ip = default, DateTimeOffset? registeredOn = default, DateTimeOffset? lastSeenOn = default, Azure.Core.ResourceIdentifier vmResourceId = default, Azure.ResourceManager.Automation.Models.HybridWorkerType? workerType = default, string workerName = default);
static member HybridRunbookWorkerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Automation.Models.HybridWorkerType> * string -> Azure.ResourceManager.Automation.HybridRunbookWorkerData
Public Shared Function HybridRunbookWorkerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional ip As String = Nothing, Optional registeredOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastSeenOn As Nullable(Of DateTimeOffset) = Nothing, Optional vmResourceId As ResourceIdentifier = Nothing, Optional workerType As Nullable(Of HybridWorkerType) = Nothing, Optional workerName As String = Nothing) As HybridRunbookWorkerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

ip
String

Gets or sets the assigned machine IP address.

registeredOn
Nullable<DateTimeOffset>

Gets or sets the registration time of the worker machine.

lastSeenOn
Nullable<DateTimeOffset>

Last Heartbeat from the Worker.

vmResourceId
ResourceIdentifier

Azure Resource Manager Id for a virtual machine.

workerType
Nullable<HybridWorkerType>

Type of the HybridWorker.

workerName
String

Name of the HybridWorker.

Returns

A new HybridRunbookWorkerData instance for mocking.

Applies to