Megosztás a következőn keresztül:


ArmGuestConfigurationModelFactory.GuestConfigurationVmssVmInfo Method

Definition

Initializes a new instance of GuestConfigurationVmssVmInfo.

public static Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationVmssVmInfo GuestConfigurationVmssVmInfo (Guid? vmId = default, Azure.Core.ResourceIdentifier vmResourceId = default, Azure.ResourceManager.GuestConfiguration.Models.AssignedGuestConfigurationMachineComplianceStatus? complianceStatus = default, Guid? latestReportId = default, DateTimeOffset? lastComplianceCheckedOn = default);
static member GuestConfigurationVmssVmInfo : Nullable<Guid> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.GuestConfiguration.Models.AssignedGuestConfigurationMachineComplianceStatus> * Nullable<Guid> * Nullable<DateTimeOffset> -> Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationVmssVmInfo
Public Shared Function GuestConfigurationVmssVmInfo (Optional vmId As Nullable(Of Guid) = Nothing, Optional vmResourceId As ResourceIdentifier = Nothing, Optional complianceStatus As Nullable(Of AssignedGuestConfigurationMachineComplianceStatus) = Nothing, Optional latestReportId As Nullable(Of Guid) = Nothing, Optional lastComplianceCheckedOn As Nullable(Of DateTimeOffset) = Nothing) As GuestConfigurationVmssVmInfo

Parameters

vmId
Nullable<Guid>

UUID of the VM.

vmResourceId
ResourceIdentifier

Azure resource Id of the VM.

complianceStatus
Nullable<AssignedGuestConfigurationMachineComplianceStatus>

A value indicating compliance status of the machine for the assigned guest configuration.

latestReportId
Nullable<Guid>

Id of the latest report for the guest configuration assignment.

lastComplianceCheckedOn
Nullable<DateTimeOffset>

Date and time when last compliance status was checked.

Returns

A new GuestConfigurationVmssVmInfo instance for mocking.

Applies to