Compartilhar via


ArmAutomationModelFactory.HybridRunbookWorkerData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

ip
String

Obtém ou define o endereço IP do computador atribuído.

registeredOn
Nullable<DateTimeOffset>

Obtém ou define o tempo de registro do computador de trabalho.

lastSeenOn
Nullable<DateTimeOffset>

Última pulsação do Trabalho.

vmResourceId
ResourceIdentifier

ID de Resource Manager do Azure para uma máquina virtual.

workerType
Nullable<HybridWorkerType>

Tipo do HybridWorker.

workerName
String

Nome do HybridWorker.

Retornos

Uma nova HybridRunbookWorkerData instância para zombar.

Aplica-se a