vmware-samples / validated-solutions-for-cloud-foundation

A companion repository for the VMware Validated Solutions for VMware Cloud Foundation.
https://vmware.com/go/vvs
BSD 2-Clause "Simplified" License
23 stars 5 forks source link

[HRM] SOS API change for VCF 5.2 - Support for VCF 5.2 #91

Closed bhumitra closed 2 months ago

bhumitra commented 4 months ago

Code of Conduct

Description

Description

New API parameters for VCF 5.2 -

    "healthChecks": {
        "certificateHealth": false,
        "computeHealth": false,
        "connectivityHealth": false,
        "dnsHealth": false,
        "generalHealth": false,
        "hardwareCompatibilityHealth": false,
        "ntpHealth": false,
        "passwordHealth": false,
        "servicesHealth": false,
        "storageHealth": false,
        "versionHealth": false
    },
    "options": {
        "config": {
            "force": false,
            "skipKnownHostCheck": false
        },
        "include": {
            "precheckReport": false,
            "summaryReport": false
        }
    },
    "scope": {
        "domains": [ {
            "clusterNames": [ "" ],
            "domainName": ""
        } ],
        "includeAllDomains": false,
        "includeFreeHosts": false
    }
}

Old payload

Current payload doesnt work with 5.2 and change is needed to support VCF 5.2

Code that needs change is here - https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/blob/8a7eb5dcb038dabf2e627b14c69aee79a2ed981e/VMware.CloudFoundation.Reporting.psm1#L990

Use Case(s)

See desc

Potential Configuration

No response

References

No response

bhumitra commented 2 months ago

Version 2.2 will fix it.