Model/TrustedInfrastructureTrustAuthorityClustersAttestationTpm2SettingsUpdateSpec.ps1

#
# TrustedInfrastructure Paths
# The vcenter trusted_infrastructure package provides services that enable a Trusted Infrastructure. They are responsible for ensuring that infrastructure nodes are running trusted software and for releasing encryption keys only to trusted infrastructure nodes.
# Contact: powercli@vmware.com
# Generated by OpenAPI Generator: https://openapi-generator.tech
#

<#
.DESCRIPTION
 
The Settings.UpdateSpec structure contains information that describes changes to the TPM 2.0 protocol settings.
 
.PARAMETER RequireEndorsementKeys
Require registered TPM endorsement keys. If unset the current state will remain unchanged.
.PARAMETER RequireCertificateValidation
Require TPM endorsement key certificate validation. If unset the current state will remain unchanged.
.OUTPUTS
 
TrustedInfrastructureTrustAuthorityClustersAttestationTpm2SettingsUpdateSpec<PSCustomObject>
 
.LINK
 
Online Version: https://developer.vmware.com/docs/vsphere-automation/latest/vcenter/data-structures/TrustedInfrastructure/TrustAuthorityClusters/Attestation/Tpm2/Settings/UpdateSpec/
#>


function Initialize-TrustedInfrastructureTrustAuthorityClustersAttestationTpm2SettingsUpdateSpec {
    [CmdletBinding(HelpURI = "https://developer.vmware.com/docs/vsphere-automation/latest/vcenter/data-structures/TrustedInfrastructure/TrustAuthorityClusters/Attestation/Tpm2/Settings/UpdateSpec/")]
    Param (
        [Parameter(Mandatory = $false)]
        [System.Nullable[Boolean]]
        ${RequireEndorsementKeys},
        [Parameter(Mandatory = $false)]
        [System.Nullable[Boolean]]
        ${RequireCertificateValidation}
    )

    Process {
        'Creating PSCustomObject: VMware.Sdk.vSphere.vCenter.TrustedInfrastructure => vSphereTrustedInfrastructureTrustAuthorityClustersAttestationTpm2SettingsUpdateSpec' | Write-Debug


        $PSO = [PSCustomObject]@{
            "PSTypeName" = "TrustedInfrastructureTrustAuthorityClustersAttestationTpm2SettingsUpdateSpec"
            "require_endorsement_keys" = ${RequireEndorsementKeys}
            "require_certificate_validation" = ${RequireCertificateValidation}
        }


        return $PSO
    }
}