VcenterSettingsV1ConfigComponentsInventoryInventoryManagement

The InventoryManagement structure contains fields describing the inventory of a vCenter Server.


Properties

clusters Optional

List of ClusterConfigurations.


datacenters Optional

List of Datacenters.


datastores Optional

List of Datastores.


folders Optional

List of Folders.


hosts Optional

List of Hosts.


networks Optional

List of standard networks.


storage_pods Optional

List of Datastore Clusters.

JSON Example

{
    "clusters": [
        {
            "drs": {
                "additional_options": {
                    "advanced_options": [
                        {
                            "key": "string",
                            "value": "string"
                        }
                    ],
                    "scalable_shares": "DISABLED"
                },
                "automation": {
                    "automation_level": "MANUAL",
                    "migration_threshold": 0,
                    "proactive_drs_enabled": false,
                    "virtual_machine_automation": false
                },
                "enabled": false,
                "power_management": {
                    "automation_level": "MANUAL",
                    "dpm_enabled": false,
                    "dpm_threshold": {
                        "key": "string",
                        "value": "string"
                    }
                }
            },
            "drs_vm_overrides": [
                {
                    "behavior": "MANUAL",
                    "name": "string"
                }
            ],
            "groups": {
                "host_groups": [
                    {
                        "entities": [
                            "string"
                        ],
                        "name": "string",
                        "user_created": false
                    }
                ],
                "vm_groups": [
                    {
                        "entities": [
                            "string"
                        ],
                        "name": "string",
                        "user_created": false
                    }
                ]
            },
            "ha": {
                "admission_control": {
                    "cluster_resource_percentage": {
                        "cpu": 0,
                        "memory": 0
                    },
                    "dedicated_failover_hosts": [
                        "string"
                    ],
                    "host_fail_over_slot_policy": {
                        "cpu": 0,
                        "memory": 0
                    },
                    "host_failures_cluster_tolerates": 0,
                    "performance_degradation_vm_tolerate": 0,
                    "policy_type": "string"
                },
                "advanced_options": [
                    {
                        "key": "string",
                        "value": "string"
                    }
                ],
                "enabled": false,
                "failures_and_responses": {
                    "additional_delay": 0,
                    "apd_failure_response": "DISABLED",
                    "datastore_with_pdl_failure_response": "DISABLED",
                    "default_vm_restart_priority": "DISABLED",
                    "host_isolation_response": "NONE",
                    "host_monitoring": "DISABLED",
                    "response_delay": 0,
                    "response_recovery": "NONE",
                    "restart_priority_condition_timeout": 0,
                    "vm_monitoring": "VM_MONITORING_DISABLED",
                    "vm_tools_monitoring_settings": {
                        "cluster_settings": false,
                        "enabled": false,
                        "failure_interval": 0,
                        "max_failure_window": 0,
                        "max_failures": 0,
                        "min_up_time": 0
                    }
                },
                "heartbeat_datastores": {
                    "datastores": [
                        "string"
                    ],
                    "heartbeat_datastore_policy": "USER_SELECTED_DS"
                }
            },
            "ha_vm_overrides": [
                {
                    "name": "string",
                    "vm_additional_delay": 0,
                    "vm_apd_failover_delay": 0,
                    "vm_apd_failure_response": "DISABLED",
                    "vm_apd_response_recovery": "NONE",
                    "vm_datastore_with_pdl_failure_response": "DISABLED",
                    "vm_isolation_response": "NONE",
                    "vm_monitoring": "VM_MONITORING_DISABLED",
                    "vm_restart_priority": "DISABLED",
                    "vm_restart_priority_timeout": 0
                }
            ],
            "hosts": [
                "string"
            ],
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ],
            "proactive_ha": {
                "automation_level": "MANUAL",
                "enabled": false,
                "providers": [
                    "string"
                ],
                "remediation": "QUARANTINE_MODE"
            },
            "resource_pools": [
                {
                    "child_resource_pools": [
                        "string"
                    ],
                    "config": {
                        "cpu_allocation": {
                            "expandable_reservation": false,
                            "limit": 0,
                            "reservation": 0,
                            "shares": {
                                "level": "LOW",
                                "shares": 0
                            }
                        },
                        "memory_allocation": {
                            "expandable_reservation": false,
                            "limit": 0,
                            "reservation": 0,
                            "shares": {
                                "level": "LOW",
                                "shares": 0
                            }
                        }
                    },
                    "name": "string",
                    "parent_path": "string",
                    "permissions": [
                        {
                            "group": false,
                            "principal": "string",
                            "propagate": false,
                            "role_id": 0
                        }
                    ]
                }
            ],
            "rules": {
                "dependency_rule": [
                    {
                        "depends_on_vm_group": "string",
                        "enabled": false,
                        "in_compliance": false,
                        "mandatory": false,
                        "name": "string",
                        "status": "GRAY",
                        "user_created": false,
                        "vm_group": "string"
                    }
                ],
                "vm_affinity_rules": [
                    {
                        "enabled": false,
                        "in_compliance": false,
                        "mandatory": false,
                        "name": "string",
                        "status": "GRAY",
                        "user_created": false,
                        "vms": [
                            "string"
                        ]
                    }
                ],
                "vm_anti_affinity_rules": [
                    {
                        "enabled": false,
                        "in_compliance": false,
                        "mandatory": false,
                        "name": "string",
                        "status": "GRAY",
                        "user_created": false,
                        "vms": [
                            "string"
                        ]
                    }
                ],
                "vm_host_rule": [
                    {
                        "affine_host_group_name": "string",
                        "anti_affine_host_group_name": "string",
                        "enabled": false,
                        "in_compliance": false,
                        "mandatory": false,
                        "name": "string",
                        "status": "GRAY",
                        "user_created": false,
                        "vm_group_name": "string"
                    }
                ]
            }
        }
    ],
    "datacenters": [
        {
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ],
            "standalone_hosts": [
                "string"
            ]
        }
    ],
    "datastores": [
        {
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ],
            "summary": {
                "capacity": 0,
                "maintenance_mode": "NORMAL",
                "multiple_host_access": false,
                "type": "string"
            }
        }
    ],
    "folders": {
        "datacenter": [
            {
                "name": "string",
                "parent_path": "string",
                "permissions": [
                    {
                        "group": false,
                        "principal": "string",
                        "propagate": false,
                        "role_id": 0
                    }
                ]
            }
        ],
        "datastore": [
            {
                "name": "string",
                "parent_path": "string",
                "permissions": [
                    {
                        "group": false,
                        "principal": "string",
                        "propagate": false,
                        "role_id": 0
                    }
                ]
            }
        ],
        "host": [
            {
                "name": "string",
                "parent_path": "string",
                "permissions": [
                    {
                        "group": false,
                        "principal": "string",
                        "propagate": false,
                        "role_id": 0
                    }
                ]
            }
        ],
        "network": [
            {
                "name": "string",
                "parent_path": "string",
                "permissions": [
                    {
                        "group": false,
                        "principal": "string",
                        "propagate": false,
                        "role_id": 0
                    }
                ]
            }
        ],
        "vm": [
            {
                "name": "string",
                "parent_path": "string",
                "permissions": [
                    {
                        "group": false,
                        "principal": "string",
                        "propagate": false,
                        "role_id": 0
                    }
                ]
            }
        ]
    },
    "hosts": [
        {
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ]
        }
    ],
    "networks": [
        {
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ]
        }
    ],
    "storage_pods": [
        {
            "name": "string",
            "parent_path": "string",
            "permissions": [
                {
                    "group": false,
                    "principal": "string",
                    "propagate": false,
                    "role_id": 0
                }
            ],
            "pod_storage_drs_entry": {
                "storage_drs_config": {
                    "pod_config": {
                        "enabled": false
                    }
                }
            }
        }
    ]
}

Feedback

Was this page helpful?