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


ArmGuestConfigurationModelFactory.GuestConfigurationAssignmentProperties Method

Definition

Initializes a new instance of GuestConfigurationAssignmentProperties.

public static Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentProperties GuestConfigurationAssignmentProperties (string targetResourceId = default, Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationNavigation guestConfiguration = default, Azure.ResourceManager.GuestConfiguration.Models.AssignedGuestConfigurationMachineComplianceStatus? complianceStatus = default, DateTimeOffset? lastComplianceStatusCheckedOn = default, Azure.Core.ResourceIdentifier latestReportId = default, string parameterHash = default, Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReportInfo latestAssignmentReport = default, string context = default, string assignmentHash = default, Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationProvisioningState? provisioningState = default, string resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationVmssVmInfo> vmssVmList = default);
static member GuestConfigurationAssignmentProperties : string * Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationNavigation * Nullable<Azure.ResourceManager.GuestConfiguration.Models.AssignedGuestConfigurationMachineComplianceStatus> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReportInfo * string * string * Nullable<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationProvisioningState> * string * seq<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationVmssVmInfo> -> Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentProperties
Public Shared Function GuestConfigurationAssignmentProperties (Optional targetResourceId As String = Nothing, Optional guestConfiguration As GuestConfigurationNavigation = Nothing, Optional complianceStatus As Nullable(Of AssignedGuestConfigurationMachineComplianceStatus) = Nothing, Optional lastComplianceStatusCheckedOn As Nullable(Of DateTimeOffset) = Nothing, Optional latestReportId As ResourceIdentifier = Nothing, Optional parameterHash As String = Nothing, Optional latestAssignmentReport As GuestConfigurationAssignmentReportInfo = Nothing, Optional context As String = Nothing, Optional assignmentHash As String = Nothing, Optional provisioningState As Nullable(Of GuestConfigurationProvisioningState) = Nothing, Optional resourceType As String = Nothing, Optional vmssVmList As IEnumerable(Of GuestConfigurationVmssVmInfo) = Nothing) As GuestConfigurationAssignmentProperties

Parameters

targetResourceId
String

VM resource Id.

guestConfiguration
GuestConfigurationNavigation

The guest configuration to assign.

complianceStatus
Nullable<AssignedGuestConfigurationMachineComplianceStatus>

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

lastComplianceStatusCheckedOn
Nullable<DateTimeOffset>

Date and time when last compliance status was checked.

latestReportId
ResourceIdentifier

Id of the latest report for the guest configuration assignment.

parameterHash
String

parameter hash for the guest configuration assignment.

latestAssignmentReport
GuestConfigurationAssignmentReportInfo

Last reported guest configuration assignment report.

context
String

The source which initiated the guest configuration assignment. Ex: Azure Policy.

assignmentHash
String

Combined hash of the configuration package and parameters.

provisioningState
Nullable<GuestConfigurationProvisioningState>

The provisioning state, which only appears in the response.

resourceType
String

Type of the resource - VMSS / VM.

vmssVmList
IEnumerable<GuestConfigurationVmssVmInfo>

The list of VM Compliance data for VMSS.

Returns

A new GuestConfigurationAssignmentProperties instance for mocking.

Applies to