共用方式為


ArmAutomationModelFactory.SoftwareUpdateConfigurationMachineRun Method

Definition

Initializes a new instance of SoftwareUpdateConfigurationMachineRun.

public static Azure.ResourceManager.Automation.Models.SoftwareUpdateConfigurationMachineRun SoftwareUpdateConfigurationMachineRun (string name = default, Azure.Core.ResourceIdentifier id = default, Azure.Core.ResourceIdentifier targetComputerId = default, string targetComputerType = default, string softwareUpdateName = default, string status = default, string osType = default, Guid? correlationId = default, Guid? sourceComputerId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, TimeSpan? configuredDuration = default, Guid? jobId = default, DateTimeOffset? createdOn = default, string createdBy = default, DateTimeOffset? lastModifiedOn = default, string lastModifiedBy = default, Azure.ResourceManager.Automation.Models.AutomationResponseError error = default);
static member SoftwareUpdateConfigurationMachineRun : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * string * string * Nullable<Guid> * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<TimeSpan> * Nullable<Guid> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Automation.Models.AutomationResponseError -> Azure.ResourceManager.Automation.Models.SoftwareUpdateConfigurationMachineRun
Public Shared Function SoftwareUpdateConfigurationMachineRun (Optional name As String = Nothing, Optional id As ResourceIdentifier = Nothing, Optional targetComputerId As ResourceIdentifier = Nothing, Optional targetComputerType As String = Nothing, Optional softwareUpdateName As String = Nothing, Optional status As String = Nothing, Optional osType As String = Nothing, Optional correlationId As Nullable(Of Guid) = Nothing, Optional sourceComputerId As Nullable(Of Guid) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional configuredDuration As Nullable(Of TimeSpan) = Nothing, Optional jobId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional error As AutomationResponseError = Nothing) As SoftwareUpdateConfigurationMachineRun

Parameters

name
String

Name of the software update configuration machine run.

id
ResourceIdentifier

Resource Id of the software update configuration machine run.

targetComputerId
ResourceIdentifier

name of the updated computer.

targetComputerType
String

type of the updated computer.

softwareUpdateName
String

software update configuration triggered this run.

status
String

Status of the software update configuration machine run.

osType
String

Operating system target of the software update configuration triggered this run.

correlationId
Nullable<Guid>

correlation id of the software update configuration machine run.

sourceComputerId
Nullable<Guid>

source computer id of the software update configuration machine run.

startOn
Nullable<DateTimeOffset>

Start time of the software update configuration machine run.

endOn
Nullable<DateTimeOffset>

End time of the software update configuration machine run.

configuredDuration
Nullable<TimeSpan>

configured duration for the software update configuration run.

jobId
Nullable<Guid>

Job associated with the software update configuration machine run.

createdOn
Nullable<DateTimeOffset>

Creation time of the resource, which only appears in the response.

createdBy
String

createdBy property, which only appears in the response.

lastModifiedOn
Nullable<DateTimeOffset>

Last time resource was modified, which only appears in the response.

lastModifiedBy
String

lastModifiedBy property, which only appears in the response.

error
AutomationResponseError

Details of provisioning error.

Returns

A new SoftwareUpdateConfigurationMachineRun instance for mocking.

Applies to