All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.policy.kotlin.outputs.GetVirtualMachineConfigurationAssignmentResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.policy.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getVirtualMachineConfigurationAssignment.
 * @property assignmentHash Combined hash of the configuration package and parameters.
 * @property complianceStatus A value indicating compliance status of the machine for the assigned guest configuration. Possible return values are `Compliant`, `NonCompliant` and `Pending`.
 * @property contentHash The content hash for the Guest Configuration package.
 * @property contentUri The content URI where the Guest Configuration package is stored.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property lastComplianceStatusChecked Date and time, in RFC3339 format, when the machines compliance status was last checked.
 * @property latestReportId The ID of the latest report for the guest configuration assignment.
 * @property name
 * @property resourceGroupName
 * @property virtualMachineName
 */
public data class GetVirtualMachineConfigurationAssignmentResult(
    public val assignmentHash: String,
    public val complianceStatus: String,
    public val contentHash: String,
    public val contentUri: String,
    public val id: String,
    public val lastComplianceStatusChecked: String,
    public val latestReportId: String,
    public val name: String,
    public val resourceGroupName: String,
    public val virtualMachineName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.policy.outputs.GetVirtualMachineConfigurationAssignmentResult): GetVirtualMachineConfigurationAssignmentResult =
            GetVirtualMachineConfigurationAssignmentResult(
                assignmentHash = javaType.assignmentHash(),
                complianceStatus = javaType.complianceStatus(),
                contentHash = javaType.contentHash(),
                contentUri = javaType.contentUri(),
                id = javaType.id(),
                lastComplianceStatusChecked = javaType.lastComplianceStatusChecked(),
                latestReportId = javaType.latestReportId(),
                name = javaType.name(),
                resourceGroupName = javaType.resourceGroupName(),
                virtualMachineName = javaType.virtualMachineName(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy