Model/TrustedInfrastructureTrustAuthorityClustersKmsProvidersKmipServerUpdateSpec.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 Providers.KmipServerUpdateSpec structure contains fields that describe new configuration for KMIP based key server.
 
.PARAMETER Servers
List of KMIP compliant key servers. Key servers must be configured for active-active replication. If the server port is unset, a default value for KMIP's port will be used. If unset, server configuration will remain unchanged.
.PARAMETER Username
Username for authentication. If unset, username will remain unchanged.
.OUTPUTS
 
TrustedInfrastructureTrustAuthorityClustersKmsProvidersKmipServerUpdateSpec<PSCustomObject>
 
.LINK
 
Online Version: https://developer.vmware.com/docs/vsphere-automation/latest/vcenter/data-structures/TrustedInfrastructure/TrustAuthorityClusters/Kms/Providers/KmipServerUpdateSpec/
#>


function Initialize-TrustedInfrastructureTrustAuthorityClustersKmsProvidersKmipServerUpdateSpec {
    [CmdletBinding(HelpURI = "https://developer.vmware.com/docs/vsphere-automation/latest/vcenter/data-structures/TrustedInfrastructure/TrustAuthorityClusters/Kms/Providers/KmipServerUpdateSpec/")]
    Param (
        [Parameter(Mandatory = $false)]
        [PSCustomObject[]]
        ${Servers},
        [Parameter(Mandatory = $false)]
        [ValidateScript({ $_ -is [string] })]
        ${Username}
    )

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


        $PSO = [PSCustomObject]@{
            "PSTypeName" = "TrustedInfrastructureTrustAuthorityClustersKmsProvidersKmipServerUpdateSpec"
            "servers" = ${Servers}
            "username" = ${Username}
        }


        return $PSO
    }
}