def METHOD_NAME():
    client = HDInsightManagementClient(
        credential=DefaultAzureCredential(),
        subscription_id="subid",
    )
    response = client.locations.validate_cluster_create_request(
        location="southcentralus",
        parameters={
            "fetchAaddsResource": False,
            "location": "southcentralus",
            "name": "testclustername",
            "properties": {
                "clusterDefinition": {
                    "componentVersion": {"Spark": "2.4"},
                    "configurations": {
                        "gateway": {
                            "restAuthCredential.isEnabled": True,
                            "restAuthCredential.password": "**********",
                            "restAuthCredential.username": "admin",
                        }
                    },
                    "kind": "spark",
                },
                "clusterVersion": "4.0",
                "computeProfile": {
                    "roles": [
                        {
                            "autoscale": None,
                            "dataDisksGroups": None,
                            "hardwareProfile": {"vmSize": "Standard_E8_V3"},
                            "minInstanceCount": 1,
                            "name": "headnode",
                            "osProfile": {
                                "linuxOperatingSystemProfile": {"password": "********", "username": "sshuser"}
                            },
                            "scriptActions": [],
                            "targetInstanceCount": 2,
                            "virtualNetworkProfile": None,
                        },
                        {
                            "autoscale": None,
                            "dataDisksGroups": None,
                            "hardwareProfile": {"vmSize": "Standard_E8_V3"},
                            "name": "workernode",
                            "osProfile": {
                                "linuxOperatingSystemProfile": {"password": "********", "username": "sshuser"}
                            },
                            "scriptActions": [],
                            "targetInstanceCount": 4,
                            "virtualNetworkProfile": None,
                        },
                        {
                            "autoscale": None,
                            "dataDisksGroups": None,
                            "hardwareProfile": {"vmSize": "Standard_D13_V2"},
                            "minInstanceCount": 1,
                            "name": "zookeepernode",
                            "osProfile": {
                                "linuxOperatingSystemProfile": {"password": "**********", "username": "sshuser"}
                            },
                            "scriptActions": [],
                            "targetInstanceCount": 3,
                            "virtualNetworkProfile": None,
                        },
                    ]
                },
                "minSupportedTlsVersion": "1.2",
                "osType": "Linux",
                "storageProfile": {
                    "storageaccounts": [
                        {
                            "container": "contianername",
                            "enableSecureChannel": True,
                            "isDefault": True,
                            "key": "*******",
                            "name": "storagename.blob.core.windows.net",
                            "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storagename",
                        }
                    ]
                },
                "tier": "Standard",
            },
            "tags": {},
            "tenantId": "00000000-0000-0000-0000-000000000000",
            "type": "Microsoft.HDInsight/clusters",
        },
    )
    print(response)