예제 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// GuestConfigurationAssignmentProperties class.
 /// </summary>
 /// <param name="targetResourceId">VM resource Id.</param>
 /// <param name="guestConfiguration">The guest configuration to
 /// assign.</param>
 /// <param name="complianceStatus">A value indicating compliance status
 /// of the machine for the assigned guest configuration. Possible
 /// values include: 'Compliant', 'NonCompliant', 'Pending'</param>
 /// <param name="lastComplianceStatusChecked">Date and time when last
 /// compliance status was checked.</param>
 /// <param name="latestReportId">Id of the latest report for the guest
 /// configuration assignment. </param>
 /// <param name="latestAssignmentReport">Last reported guest
 /// configuration assignment report.</param>
 /// <param name="context">The source which initiated the guest
 /// configuration assignment. Ex: Azure Policy</param>
 /// <param name="assignmentHash">Combined hash of the configuration
 /// package and parameters.</param>
 /// <param name="provisioningState">The provisioning state, which only
 /// appears in the response. Possible values include: 'Succeeded',
 /// 'Failed', 'Canceled', 'Created'</param>
 public GuestConfigurationAssignmentProperties(string targetResourceId = default(string), GuestConfigurationNavigation guestConfiguration = default(GuestConfigurationNavigation), string complianceStatus = default(string), System.DateTime?lastComplianceStatusChecked = default(System.DateTime?), string latestReportId = default(string), AssignmentReport latestAssignmentReport = default(AssignmentReport), string context = default(string), string assignmentHash = default(string), string provisioningState = default(string))
 {
     TargetResourceId            = targetResourceId;
     GuestConfiguration          = guestConfiguration;
     ComplianceStatus            = complianceStatus;
     LastComplianceStatusChecked = lastComplianceStatusChecked;
     LatestReportId         = latestReportId;
     LatestAssignmentReport = latestAssignmentReport;
     Context           = context;
     AssignmentHash    = assignmentHash;
     ProvisioningState = provisioningState;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// GuestConfigurationAssignmentProperties class.
 /// </summary>
 /// <param name="targetResourceId">VM resource Id.</param>
 /// <param name="guestConfiguration">The guest configuration to
 /// assign.</param>
 /// <param name="complianceStatus">A value indicating compliance status
 /// of the machine for the assigned guest configuration. Possible
 /// values include: 'Compliant', 'NonCompliant', 'Pending'</param>
 /// <param name="lastComplianceStatusChecked">Date and time when last
 /// compliance status was checked.</param>
 /// <param name="latestReportId">Id of the latest report for the guest
 /// configuration assignment. </param>
 /// <param name="parameterHash">parameter hash for the guest
 /// configuration assignment. </param>
 /// <param name="latestAssignmentReport">Last reported guest
 /// configuration assignment report.</param>
 /// <param name="context">The source which initiated the guest
 /// configuration assignment. Ex: Azure Policy</param>
 /// <param name="assignmentHash">Combined hash of the configuration
 /// package and parameters.</param>
 /// <param name="provisioningState">The provisioning state, which only
 /// appears in the response. Possible values include: 'Succeeded',
 /// 'Failed', 'Canceled', 'Created'</param>
 /// <param name="resourceType">Type of the resource - VMSS / VM</param>
 /// <param name="vmssVMList">The list of VM Compliance data for
 /// VMSS</param>
 public GuestConfigurationAssignmentProperties(string targetResourceId = default(string), GuestConfigurationNavigation guestConfiguration = default(GuestConfigurationNavigation), string complianceStatus = default(string), System.DateTime?lastComplianceStatusChecked = default(System.DateTime?), string latestReportId = default(string), string parameterHash = default(string), AssignmentReport latestAssignmentReport = default(AssignmentReport), string context = default(string), string assignmentHash = default(string), string provisioningState = default(string), string resourceType = default(string), IList <VMSSVMInfo> vmssVMList = default(IList <VMSSVMInfo>))
 {
     TargetResourceId            = targetResourceId;
     GuestConfiguration          = guestConfiguration;
     ComplianceStatus            = complianceStatus;
     LastComplianceStatusChecked = lastComplianceStatusChecked;
     LatestReportId         = latestReportId;
     ParameterHash          = parameterHash;
     LatestAssignmentReport = latestAssignmentReport;
     Context           = context;
     AssignmentHash    = assignmentHash;
     ProvisioningState = provisioningState;
     ResourceType      = resourceType;
     VmssVMList        = vmssVMList;
     CustomInit();
 }