Updating all availability zones

Updating all availability zones

Use of this endpoint is not recommended. Please use create, update, or delete.

If you are using the multi-datacenter feature on vSphere, this endpoint is not available. On all other IaaS, the iaas_configuration_guid property of availability zones will be ignored and automatically set to the default configuration.

This endpoint allows you to completely replace the collection of availability zones. OpsManager uses GUIDs to match existing objects in the collection. Unmatched availability zones will be added, matched availability zones will be updated, and omitted availability zones will be deleted.

There are different fields for availability zones per IaaS. Look at the examples to see the valid fields for each IaaS. Availability zones cannot be updated or replaced on Azure.

Availability zones that are already on a deployed product cannot be updated or deleted.

Request
URI
PUT
https://{opsmanager-installation}//api/v0/staged/director/availability_zones
COPY
Request Body
PutAvailabilityZoneExperimental of type(s) application/json
Required
{
    "availability_zones": [
        {
            "guid": "string",
            "name": "string",
            "iaas_identifier": "string",
            "iaas_configuration_guid": "string",
            "clusters": [
                {
                    "guid": "string",
                    "cluster": "string",
                    "resource_pool": "string",
                    "host_group": "string",
                    "drs_rule": "string"
                }
            ]
        }
    ]
}
array of availability_zones
availability_zones
Required

availability_zones

Responses
207

Multi-Status

Returns CommonWarnings of type(s) application/json
{
    "warnings": {
        "errors": [
            {}
        ]
    }
}
warnings
Optional

warnings