Create a Cloud Director site instance

POST /director_sites

Create an instance of a Cloud Director site with specified configurations. The Cloud Director site instance is the infrastructure and associated VMware software stack, which consists of VMware vCenter Server, VMware NSX-T, and VMware Cloud Director. VMware platform management and operations are performed with Cloud Director. The minimum initial order size is 2 hosts (2-Socket 32 Cores, 192 GB RAM) with 24 TB of 2.0 IOPS/GB storage.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.create

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite.create

Request

Request Body

DirectorSitePrototype

name

Required *

string

Name of the Cloud Director site instance. Use a name that is unique to your region and meaningful. Names cannot be changed after initial creation.

resource_group

ResourceGroupIdentity

The resource group to associate with the resource instance. If not specified, the default resource group in the account is used.

id

Required *

string

A unique ID for the resource group.

pvdcs

Required *

array

List of VMware resource pools to deploy on the instance.

services

array

List of services to deploy on the instance.

private_only

boolean

Indicates whether the site is private only.

console_connection_type

string

Type of console connection.

ip_allow_list

array

List of allowed IP addresses.

Path Parameters

Query Parameters

Response

202 - OK

crn

string

A unique ID for the Cloud Director site in IBM Cloud.

href

string

The hyperlink of the Cloud Director site resource.

id

string

ID of the Cloud Director site.

ordered_at

string

The time that the Cloud Director site is ordered.

provisioned_at

string

The time that the Cloud Director site is provisioned and available to use.

name

string

The name of Cloud Director site. The name of the Cloud Director site cannot be changed after creation.

status

string

The status of Cloud Director site.

resource_group

ResourceGroupReference

The resource group information to associate with the resource instance.

pvdcs

array

List of VMware resource pools to deploy on the instance.

type

string

Director site type.

services

array

Services on the Cloud Director site.

rhel_vm_activation_key

string

RHEL activation key. This property is applicable when type is multitenant.

console_connection_type

string

Type of director console connection.

console_connection_status

string

Status of director console connection.

ip_allow_list

array

Director console IP allowlist.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

List Cloud Director site instances

GET /director_sites

List all VMware Cloud Director site instances that the user can access in the cloud account.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Path Parameters

Query Parameters

Response

200 - OK

director_sites

array

List of Cloud Director site instances.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Get a Cloud Director site instance

GET /director_sites/{id}

Get a Cloud Director site instance by specifying the instance ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Path Parameters

Query Parameters

Response

200 - OK

crn

string

A unique ID for the Cloud Director site in IBM Cloud.

href

string

The hyperlink of the Cloud Director site resource.

id

string

ID of the Cloud Director site.

ordered_at

string

The time that the Cloud Director site is ordered.

provisioned_at

string

The time that the Cloud Director site is provisioned and available to use.

name

string

The name of Cloud Director site. The name of the Cloud Director site cannot be changed after creation.

status

string

The status of Cloud Director site.

resource_group

ResourceGroupReference

The resource group information to associate with the resource instance.

pvdcs

array

List of VMware resource pools to deploy on the instance.

type

string

Director site type.

services

array

Services on the Cloud Director site.

rhel_vm_activation_key

string

RHEL activation key. This property is applicable when type is multitenant.

console_connection_type

string

Type of director console connection.

console_connection_status

string

Status of director console connection.

ip_allow_list

array

Director console IP allowlist.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Delete a Cloud Director site instance

DELETE /director_sites/{id}

Delete a Cloud Director site instance by specifying the instance ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.delete

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite.delete

Request

Path Parameters

Query Parameters

Response

202 - OK

crn

string

A unique ID for the Cloud Director site in IBM Cloud.

href

string

The hyperlink of the Cloud Director site resource.

id

string

ID of the Cloud Director site.

ordered_at

string

The time that the Cloud Director site is ordered.

provisioned_at

string

The time that the Cloud Director site is provisioned and available to use.

name

string

The name of Cloud Director site. The name of the Cloud Director site cannot be changed after creation.

status

string

The status of Cloud Director site.

resource_group

ResourceGroupReference

The resource group information to associate with the resource instance.

pvdcs

array

List of VMware resource pools to deploy on the instance.

type

string

Director site type.

services

array

Services on the Cloud Director site.

rhel_vm_activation_key

string

RHEL activation key. This property is applicable when type is multitenant.

console_connection_type

string

Type of director console connection.

console_connection_status

string

Status of director console connection.

ip_allow_list

array

Director console IP allowlist.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Enable or disable Veeam on a Cloud Director site

POST /director_sites/{site_id}/action/enable_veeam

Enable or disable Veeam on a Cloud Director site.

Request

Request Body

EnableServicePrototype

enable

Required *

boolean

Indicates whether it is required to enable or disable a service.

Response

200 - Ok

message

string

Request status.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Enable or disable VCDA on a Cloud Director site

POST /director_sites/{site_id}/action/enable_vcda

Enable or disable VMware Cloud Director Availability (VCDA) on a Cloud Director site.

Request

Request Body

EnableServicePrototype

enable

Required *

boolean

Indicates whether it is required to enable or disable a service.

Response

200 - Ok

message

string

Request status.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Create a VCDA connection

POST /director_sites/{site_id}/vcda/connection_endpoints

Create a VMware Cloud Director Availability (VCDA) connection in the Cloud Director site identified by {site_id}.

Request

Request Body

VcdaConnectionPrototype

type

Required *

string

Connection type.

data_center_name

Required *

string

Where to deploy the cluster.

allow_list

array

List of IP addresses allowed in the public connection.

Response

202 - Ok

id

string

ID of the VCDA connection on the Cloud Director site.

status

string

Status of the VCDA connection.

type

string

Connection type.

speed

string

Connection speed.

data_center_name

string

Where to deploy the cluster.

allow_list

array

List of IP addresses allowed in the public connection.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Delete a VCDA connection

DELETE /director_sites/{site_id}/services/vcda/connection_endpoints/{id}

Delete a VMware Cloud Director Availability (VCDA) connection in the Cloud Director site identified by {site_id} and {vcda_connections_id}.

Request

Response

202 - Ok

id

string

ID of the VCDA connection on the Cloud Director site.

status

string

Status of the VCDA connection.

type

string

Connection type.

speed

string

Connection speed.

data_center_name

string

Where to deploy the cluster.

allow_list

array

List of IP addresses allowed in the public connection.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Update VCDA connection allowlist

PATCH /director_sites/{site_id}/services/vcda/connection_endpoints/{id}

Update the allowlist for a private connection to a specific VCDA instance.

Request

Request Body

PrivateConnectionPatch

Data to update a private connection.

allow_list

Required *

array

List of allowed IP addresses.

Response

202 - Task to update the connection created.

id

string

ID of the VCDA connection.

status

string

Status of the VCDA connection after accepting the request.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Create a VCDA cloud-to-cloud connection

POST /director_sites/{site_id}/services/vcda/c2c_connections

Create a VCDA cloud-to-cloud connection in the Cloud Director site identified by {site_id}.

Request

Request Body

VcdaC2cPrototype

local_data_center_name

Required *

string

Local data center name.

local_site_name

Required *

string

Local site name.

peer_site_name

Required *

string

Peer site name.

peer_region

Required *

string

Peer region.

note

string

Note

Response

202 - Ok

id

string

ID of VCDA connection on the workload domain.

status

string

Status of the VCDA connection.

peer_offering

string

The offering name of the peer site, "vmware_aas" or "vmware_shared".

local_data_center_name

string

Where to deploy the cluster.

local_site_name

string

Site name.

peer_site_name

string

Peer site name.

peer_region

string

Peer region.

note

string

Note

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Delete a VCDA cloud-to-cloud connection

DELETE /director_sites/{site_id}/services/vcda/c2c_connections/{id}

Delete a VCDA cloud-to-cloud connection in the Cloud Director site identified by {site_id}.

Request

Response

202 - Ok

id

string

ID of VCDA connection on the workload domain.

status

string

Status of the VCDA connection.

peer_offering

string

The offering name of the peer site, "vmware_aas" or "vmware_shared".

local_data_center_name

string

Where to deploy the cluster.

local_site_name

string

Site name.

peer_site_name

string

Peer site name.

peer_region

string

Peer region.

note

string

Note

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Update note in the cloud-to-cloud connection

PATCH /director_sites/{site_id}/services/vcda/c2c_connections/{id}

Update the note in the VCDA cloud-to-cloud connection in the Cloud Director site identified by {site_id}.

Request

Request Body

VcdaC2cPatch

note

Required *

string

Note

Response

200 - Ok

id

string

ID of VCDA connection on the workload domain.

note

string

Note

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Get an OIDC configuration

GET /director_sites/{site_id}/oidc_configuration

Return the details of an OpenID Connect (OIDC) configuration on a Cloud Director site.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-iam.read

Request

Response

200 -

400 -

423 -

Set an OIDC configuration

PUT /director_sites/{site_id}/oidc_configuration

Request to configure OpenID Connect (OIDC) on a Cloud Director site.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.account

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-iam.config

Request

Path Parameters

Query Parameters

Response

202 -

400 -

403 -

409 -

423 -

List the resource pools in a Cloud Director site instance

GET /director_sites/{site_id}/pvdcs

List the resource pools in a specified Cloud Director site.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Path Parameters

Query Parameters

Response

200 - OK

pvdcs

array

List of resource pool instances.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Create a resource pool instance in a specified Cloud Director site

POST /director_sites/{site_id}/pvdcs

Create an instance of a resource pool with specified configurations. The Cloud Director site instance is the infrastructure and associated VMware software stack, which consists of VMware vCenter Server, VMware NSX-T, and VMware Cloud Director. VMware platform management and operations are performed with Cloud Director. The minimum initial order size is 2 hosts (2-Socket 32 Cores, 192 GB RAM) with 24 TB of 2.0 IOPS/GB storage.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.create

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-pvdc.create

Request

Request Body

PVDCPrototype

name

Required *

string

Name of the resource pool. Resource pool names must be unique per Cloud Director site instance and they cannot be changed after creation.

data_center_name

Required *

string

Data center location to deploy the cluster. See `GET /director_site_regions` for supported data center locations.

clusters

Required *

array

List of VMware clusters to deploy on the instance. Clusters form VMware workload availability boundaries.

Path Parameters

Query Parameters

Response

202 - OK

name

string

Name of the resource pool. Resource pool names must be unique per Cloud Director site instance and they cannot be changed after creation.

data_center_name

string

Data center location to deploy the cluster. See `GET /director_site_regions` for supported data center locations.

id

string

The resource pool ID.

href

string

The hyperlink of the resource pool resource.

clusters

array

List of VMware clusters to deploy on the instance. Clusters form VMware workload availability boundaries.

status

string

The status of the resource pool.

provider_types

array

List of resource pool types.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Get the specified resource pool in a Cloud Director site instance

GET /director_sites/{site_id}/pvdcs/{id}

Get the specified resource pools in a specified Cloud Director site.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Path Parameters

Query Parameters

Response

200 - OK

name

string

Name of the resource pool. Resource pool names must be unique per Cloud Director site instance and they cannot be changed after creation.

data_center_name

string

Data center location to deploy the cluster. See `GET /director_site_regions` for supported data center locations.

id

string

The resource pool ID.

href

string

The hyperlink of the resource pool resource.

clusters

array

List of VMware clusters to deploy on the instance. Clusters form VMware workload availability boundaries.

status

string

The status of the resource pool.

provider_types

array

List of resource pool types.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

List clusters

GET /director_sites/{site_id}/pvdcs/{pvdc_id}/clusters

List all VMware clusters of a Cloud Director site instance by specifying the instance ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.view

Request

Response

200 - OK

clusters

array

List of cluster objects.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Create a cluster

POST /director_sites/{site_id}/pvdcs/{pvdc_id}/clusters

Create a VMware cluster under a specified resource pool in a Cloud Director site instance.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.create

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-cluster.create

Request

Request Body

ClusterPrototype

name

Required *

string

Name of the VMware cluster. Cluster names must be unique per Cloud Director site instance. Cluster names cannot be changed after creation.

host_count

Required *

integer

Number of hosts in the VMware cluster.

host_profile

Required *

string

The host type. IBM Cloud offers several different host types. Typically, the host type is selected based on the properties of the workload to be run in the VMware cluster.

file_shares

Required *

FileSharesPrototype

Chosen storage policies and their sizes.

STORAGE_POINT_TWO_FIVE_IOPS_GB

integer

The amount of 0.25 IOPS/GB storage in GB (1024^3 bytes).

STORAGE_TWO_IOPS_GB

integer

The amount of 2 IOPS/GB storage in GB (1024^3 bytes).

STORAGE_FOUR_IOPS_GB

integer

The amount of 4 IOPS/GB storage in GB (1024^3 bytes).

STORAGE_TEN_IOPS_GB

integer

The amount of 10 IOPS/GB storage in GB (1024^3 bytes).

Response

202 - Ok

id

string

The cluster ID.

name

string

The cluster name.

href

string

The hyperlink of the cluster resource.

ordered_at

string

The time that the cluster is ordered.

provisioned_at

string

The time that the cluster is provisioned and available to use.

host_count

integer

The number of hosts in the cluster.

status

string

The status of the Cloud Director site cluster.

data_center_name

string

The location of deployed cluster.

director_site

DirectorSiteReference

Back link to associated Cloud Director site resource.

host_profile

string

The name of the host profile.

storage_type

string

The storage type of the cluster.

billing_plan

string

The billing plan for the cluster.

file_shares

FileShares

Chosen storage policies and their sizes.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Get a cluster

GET /director_sites/{site_id}/pvdcs/{pvdc_id}/clusters/{id}

Get a specific VMware cluster from the resource pool in a Cloud Director site instance.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.view

Request

Path Parameters

Query Parameters

Response

200 - OK

id

string

The cluster ID.

name

string

The cluster name.

href

string

The hyperlink of the cluster resource.

ordered_at

string

The time that the cluster is ordered.

provisioned_at

string

The time that the cluster is provisioned and available to use.

host_count

integer

The number of hosts in the cluster.

status

string

The status of the Cloud Director site cluster.

data_center_name

string

The location of deployed cluster.

director_site

DirectorSiteReference

Back link to associated Cloud Director site resource.

host_profile

string

The name of the host profile.

storage_type

string

The storage type of the cluster.

billing_plan

string

The billing plan for the cluster.

file_shares

FileShares

Chosen storage policies and their sizes.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Delete a cluster

DELETE /director_sites/{site_id}/pvdcs/{pvdc_id}/clusters/{id}

Delete a cluster from a resource pool in a Cloud Director site instance by specifying the instance ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.delete

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-cluster.delete

Request

Path Parameters

Query Parameters

Response

202 - OK

name

string

The cluster name.

host_count

integer

Number of hosts in the VMware cluster.

host_profile

string

The host type. IBM Cloud offers several different host types. Typically, the host type is selected based on the properties of the workload to be run in the VMware cluster.

id

string

The cluster ID.

data_center_name

string

The location of the deployed cluster.

status

string

The status of the cluster.

href

string

The hyperlink of the cluster resource.

file_shares

FileShares

Chosen storage policies and their sizes.

400 - Bad Request

errors

array

errors

trace

string

Unique ID value to trace the bad request.

status_code

integer

HTTP status code of the error response.

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

Update a cluster

PATCH /director_sites/{site_id}/pvdcs/{pvdc_id}/clusters/{id}

Update the number of hosts or file storage shares of a specific cluster in a specific Cloud Director site instance. VMware clusters must have between [2-25] hosts.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.update

Auditing

Calling this method generates the following auditing event.

  • vmware.directorsite-host.add
  • vmware.directorsite-host.remove
  • vmware.directorsite-nfs-storage.add
  • vmware.directorsite-nfs-storage.remove

Request

Request Body

Path Parameters

Query Parameters

Response

200 - OK

id

string

The cluster ID.

name

string

The cluster name.

href

string

The hyperlink of the cluster resource.

ordered_at

string

The time that the cluster is ordered.

provisioned_at

string

The time that the cluster is provisioned and available to use.

host_count

integer

The number of hosts in the cluster.

status

string

The status of the Cloud Director site cluster.

data_center_name

string

The location of deployed cluster.

director_site

DirectorSiteReference

Back link to associated Cloud Director site resource.

host_profile

string

The name of the host profile.

storage_type

string

The storage type of the cluster.

billing_plan

string

The billing plan for the cluster.

file_shares

FileShares

Chosen storage policies and their sizes.

message

string

Information of request accepted.

operation_id

string

ID to track the update operation of the cluster.

401 - Unauthorized

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - Not found

errors

array

errors

trace

string

Unique ID value to trace the request.

status_code

integer

HTTP status code of the error response.

List regions

GET /director_site_regions

List all IBM Cloud regions enabled for users to create a new Cloud Director site instance.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.view

Request

Path Parameters

Query Parameters

Response

200 - Enabled regions found.

director_site_regions

array

Regions of Cloud Director sites.

Get all multitenant Cloud Director sites

GET /multitenant_director_sites

Retrieve a collection of multitenant Cloud Director sites.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.view

Request

Path Parameters

Query Parameters

Response

200 - Multitenant Cloud Director sites found.

multitenant_director_sites

array

Multitenant Cloud Director sites.

List host profiles

GET /director_site_host_profiles

List available host profiles that can be used when you create a Cloud Director site instance. IBM Cloud offers several different host types. Typically, the host type is selected based on the properties of the workload to be run in the VMware cluster.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.infrastructure.view

Request

Path Parameters

Query Parameters

Response

200 - Host profiles found.

director_site_host_profiles

array

The list of available host profiles.

List virtual data centers

GET /vdcs

List all virtual data centers (VDCs) that user has access to in the cloud account.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Response

200 -

401 -

403 -

Create a virtual data center

POST /vdcs

Create a virtual data center (VDC) with specified configurations.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.create

Auditing

Calling this method generates the following auditing event.

  • vmware.vdc.create

Request

Request Body

VDCPrototype

edge

VDCEdgePrototype

The networking edge to be deployed on the virtual data center (VDC).

size

string

The size of the edge. Only used for edges of type performance.

type

Required *

string

The type of edge to be deployed on the virtual data center (VDC).

private_only

boolean

Indicates whether the edge is private only. The default value is True for a private Cloud Director site and False for a public Cloud Director site.

network_ha

object

Information about the network regional HA edge to be deployed on the VDC.

name

Required *

string

A human readable ID for the virtual data center (VDC). Use a name that is unique to your region.

fast_provisioning_enabled

boolean

Indicates whether to enable or not fast provisioning.

resource_group

ResourceGroupIdentity

The resource group to associate with the resource instance. If not specified, the default resource group in the account is used.

id

Required *

string

A unique ID for the resource group.

director_site

Required *

VDCDirectorSitePrototype

The Cloud Director site in which to deploy the virtual data center (VDC).

id

Required *

string

A unique ID for the Cloud Director site.

pvdc

Required *

object

The resource pool within the Director Site in which to deploy the virtual data center (VDC).

cpu

integer

The vCPU usage limit on the virtual data center (VDC). Supported for VDCs deployed on a multitenant Cloud Director site. This property is required when the resource pool type is reserved.

ram

integer

The RAM usage limit on the virtual data center (VDC) in GB (1024^3 bytes). Supported for VDCs deployed on a multitenant Cloud Director site. This property is required when the resource pool type is reserved.

rhel_byol

boolean

Indicates if the RHEL VMs will be using the license from IBM or the customer will use their own license (BYOL).

windows_byol

boolean

Indicates if the Microsoft Windows VMs will be using the license from IBM or the customer will use their own license (BYOL).

Response

202 -

400 -

401 -

403 -

404 -

Get a virtual data center

GET /vdcs/{id}

Get details about a virtual data center (VDC) by specifying the VDC ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.view

Request

Response

200 -

401 -

403 -

404 -

Delete a virtual data center

DELETE /vdcs/{id}

Delete a virtual data center (VDC) by specifying the VDC ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.delete

Auditing

Calling this method generates the following auditing event.

  • vmware.vdc.delete

Request

Response

202 -

401 -

403 -

404 -

Update a virtual data center

PATCH /vdcs/{id}

Update a virtual data center with the specified ID.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.update

Request

Request Body

Response

202 -

400 -

401 -

403 -

404 -

423 -

Add IBM Transit Gateway connections to edge

PUT /vdcs/{vdc_id}/edges/{edge_id}/transit_gateways/{id}

Add IBM Transit Gateway connections to an edge and virtual data center.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.update

Auditing

Calling this method generates the following auditing event.

  • vmware.vdc.update

Request

Request Body

TransitGatewayRegion

region

string

The region where the IBM Transit Gateway is deployed.

Path Parameters

Query Parameters

Response

202 -

400 -

401 -

403 -

404 -

Remove IBM Transit Gateway connections from edge

DELETE /vdcs/{vdc_id}/edges/{edge_id}/transit_gateways/{id}

Remove IBM Transit Gateway connections from an edge and virtual data center.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.update

Auditing

Calling this method generates the following auditing event.

  • vmware.vdc.update

Request

Response

202 -

400 -

401 -

403 -

404 -

Swap primary and secondary locations for network regional HA edges

PATCH /vdcs/{vdc_id}/edges/{edge_id}/swap_primary_and_secondary_network_locations

Swap the primary and secondary locations for network regional high availability (HA) edges.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.directorsite.director.update

Auditing

Calling this method generates the following auditing event.

  • vmware.vdc.update

Request

Response

202 -

400 -

401 -

403 -

404 -

List Usage Meter registrations

GET /usage_meter_registrations

List all your Usage Meter registrations.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.usage-meter.read

Auditing

Calling this method generates the following auditing event.

  • vmware.usage-meter.read

Request

Response

200 - The collection of Usage Meter registrations was returned.

usage_meter_registrations

array

List of Usage Meter registrations.

Create a Usage Meter registration

POST /usage_meter_registrations

Register your Usage Meter to start reporting usage.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.usage-meter.write

Auditing

Calling this method generates the following auditing event.

  • vmware.usage-meter.write

Request

Request Body

UsageMeterRegistrationPrototype

name

Required *

string

Human readable identifier.

usage_meter

Required *

UsageMeterIdentity

Details to identify a Usage Meter.

id

Required *

string

Unique identifier.

Response

201 - The Usage Meter registration was created.

id

string

Unique identifier.

crn

string

The Cloud Resource Name (CRN) for this registration.

access_token

string

Used to activate your Usage Meter after registration so that it can start to report usage.

name

string

Human readable identifier.

status

string

Indicates if a Usage Meter registration is active. If the value is "active", then the Usage Meter is currently registered and in use.

usage_meter

UsageMeter

Details of a Usage Meter.

locked

boolean

Indicates if a Usage Meter registration is locked and cannot be deleted.

created_at

string

The date and time when the Usage Meter registration was created.

href

string

The URL with ID as parameter.

400 -

401 -

403 -

503 -

Get a Usage Meter registration

GET /usage_meter_registrations/{id}

Get a Usage Meter registration.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.usage-meter.read

Auditing

Calling this method generates the following auditing event.

  • vmware.usage-meter.read

Request

Response

200 - The Usage Meter registration was returned.

id

string

Unique identifier.

crn

string

The Cloud Resource Name (CRN) for this registration.

access_token

string

Used to activate your Usage Meter after registration so that it can start to report usage.

name

string

Human readable identifier.

status

string

Indicates if a Usage Meter registration is active. If the value is "active", then the Usage Meter is currently registered and in use.

usage_meter

UsageMeter

Details of a Usage Meter.

locked

boolean

Indicates if a Usage Meter registration is locked and cannot be deleted.

created_at

string

The date and time when the Usage Meter registration was created.

href

string

The URL with ID as parameter.

401 -

403 -

404 -

Delete a Usage Meter registration

DELETE /usage_meter_registrations/{id}

Unregister your Usage Meter to stop reporting usage.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.usage-meter.write

Auditing

Calling this method generates the following auditing event.

  • vmware.usage-meter.write

Request

Response

204 - The Usage Meter registration was deleted.

400 -

401 -

403 -

404 -

503 -

List VMware licenses

GET /licenses

List the VMware licenses provided by IBM if you are entitled to them.

Request

Response

200 - The collection of VMware licenses was returned.

licenses

array

Licenses array.

401 -

List all regions supported by VCF on VPC

GET /vcfs/regions

List all regions supported by VCF on VPC

Request

Response

200 - OK

regions

array

List of VCF on VPC Regions

500 - Internal Server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

List VPC host-profiles supported for VCF on VPC

GET /vcfs/hostprofiles

List VPC host-profiles supported for VCF on VPC per region

Request

Response

200 - OK

hostprofiles

array

List of VCF on VPC Host Profiles

500 - Internal Server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

List VCF on VPC pricing metrics per region

GET /vcfs/pricing

List VCF on VPC pricing metrics per region

Request

Response

200 - OK

privatepath_pricing

array

List Pricing info of VCF on VPC Private Path

nlb_pricing

array

List Pricing info of VCF on VPC NLB

vsi_pricing

array

List Pricing info of VCF on VPC VSI

dns_pricing

array

List Pricing info of VCF on VPC DNS

hostprofile_pricing

array

List Pricing info of VCF on VPC Host Profiles

500 - Internal Server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Calculate estimated usable vSAN storage based on local host storage

POST /vcfs/vsan/calculatestorage

Based on the host profiles local disk storage and the quantity of hosts this API estimates the usable ammount of VMware vSAN storage

Request

Request Body

Required info to calculate resources

quantity

Required *

integer

Number of hosts (Min 4 - Max 25)

customized_hardware

Required *

DefCustomizedHardware

specifications for customized order

disks

object

Bare metal local disk size and count

Response

200 - OK

storage

object

vSAN storage estimated information

500 - Internal Server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

List all instances of VCF on VPC

GET /vcfs

List all instances of VCF on VPC

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.read

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.read

Request

Response

200 - Ok

vcfs

array

List of VCF on VPC Instances

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Order a new VCF on VPC Server instance

POST /vcfs

Order an instance of VCF on VPC

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.write

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.create

Request

Request Body

VcfvpcOrderInstance

Order Specification

instance_name

Required *

string

Name of the instance

resource_group

Required *

string

Resource Group

tags

string

Tags used for Resource Controller

consolidated_cluster_name

Required *

string

Consolidated cluster name

zone

Required *

string

Takes Zone id

host_profile

Required *

string

Host profile for the selected region and zone

host_count

Required *

integer

Number of hosts (Min 4 - Max 25)

Required *

string

Baremetal uplink speed (50 Gbps, 100 Gbps, 200 Gbps)

domain_name

Required *

string

Domain name

management_nsx_edge_vm_size

Required *

string

Management NSX Edge VM size

vpc_network

Required *

string

IP Range (e.g., 10.100.0.0/24)

hostname_prefix

string

Must start with a lowercase letter, end with a lowercase letter or digit, \ contain only lowercase letters, digits, or hyphens, and cannot contain \ consecutive hyphens.

hostname_list

array

List of hostnames customized by user.

network_type

string

Indicates a public or private network type

Path Parameters

Query Parameters

Response

200 - Order accepted

id

string

instance uuid

name

string

vcf name

account_id

string

account id

resource_group_id

string

resource group id

tags

string

tags

crn

string

crn

created_at

string

date of creation

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Get the details of a VCF instance

GET /vcfs/{vcf_id}

Get VCF on VPC instance by ID

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.read

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.read

Request

Response

200 - OK

vcf

object

Core details of the VCF deployment

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - VCF instance not found

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Delete VCF on VPC instance with the given id

DELETE /vcfs/{vcf_id}

Delete VCF on VPC instance with the given id

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.manager

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.delete

Request

Path Parameters

Query Parameters

Response

200 - Instance deleted

id

string

Id of the deleted vcf instance

task_group_id

integer

id of the task gorup to delete the vcf

trace_id

string

trace id of the tasks to delete the vcf

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - VCF on VPC instance not found

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Reset vcf error status

PUT /vcfs/{vcf_id}

Reset vcf error status.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.write

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.write

Request

Response

200 - Ok

status_success

boolean

Status of transaction

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - VCF on VPC instance not found

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal server error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Add one or more hosts to a VCF on VPC instance

POST /vcfs/{vcf_id}/domain/{domain_id}/host

Add one or more hosts to a VCF on VPC instance

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.write

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.addhost

Request

Request Body

AddHostVpc

Order Specification

host_profile

Required *

string

Host profile for the selected region and zone

host_count

Required *

integer

Number of hosts (Min 1 - Max 25)

Required *

string

Baremetal uplink speed (50 Gbps, 100 Gbps, 200 Gbps)

hostname_prefix

string

Must start with a lowercase letter, end with a lowercase letter or digit, \ contain only lowercase letters, digits, or hyphens, and cannot contain \ consecutive hyphens.

hostname_list

array

List of hostnames customized by user.

Response

200 - Add host accepted

status

string

vcf-vpc instance status

trace_id

string

uuid for tracking

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Remove one or more hosts from a VCF on VPC instance

PATCH /vcfs/{vcf_id}/domain/{domain_id}/host

Remove one or more hosts from a VCF on VPC instance

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.write

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.removehost

Request

Request Body

RemoveHostVpc

Remove host Specification

hosts

array

List of Hosts

Response

200 - Removing host accepted

hosts

array

list of host with its status

status

string

vcf-vpc instance status

task_group_id

integer

id of the task group to remove host from the vcf

trace_id

string

uuid for tracking

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Change password for sddc manager: ibm_admin

PATCH /vcfs/{vcf_id}/sddcmgr/ibm_admin/password

Change password for sddc manager: ibm_admin

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.manager

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.changepassword

Request

Request Body

password

New password

password

Required *

string

A strong password that must meet the following criteria: - At least 16 characters long - Starts with a letter or digit - Contains only letters (A–Z, a–z), digits (0–9), and special characters: @ ? % ^ - Includes at least 2 lowercase letters - Includes at least 2 uppercase letters - Includes at least 2 digits - Includes at least 2 of the special characters: @ ? % ^ - Must not contain the same character repeated 3 or more times in a row

Response

200 - Status of transaction

status_success

boolean

Status of transaction

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Change password for nsx manager: ibm_admin

PATCH /vcfs/{vcf_id}/nsxmgr/ibm_admin/password

Change password for nsx manager: ibm_admin

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.manager

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.changepassword

Request

Request Body

password

New password

password

Required *

string

A strong password that must meet the following criteria: - At least 16 characters long - Starts with a letter or digit - Contains only letters (A–Z, a–z), digits (0–9), and special characters: @ ? % ^ - Includes at least 2 lowercase letters - Includes at least 2 uppercase letters - Includes at least 2 digits - Includes at least 2 of the special characters: @ ? % ^ - Must not contain the same character repeated 3 or more times in a row

Response

200 - Status of transaction

status_success

boolean

Status of transaction

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Verify if the VCFon VPC name exists under same cloud account and region

POST /vcfs/name

Verify if the VCFon VPC name exists under same cloud account with in the same region

Request

Request Body

VcfvpcName

Order Specification

instance_name

Required *

string

Name of the instance

Response

200 - Order accepted

existing_name

boolean

Flag to confirm if name exist or not

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Retrieve List of hostnames for VPC hosts used in VCF on VPC.

GET /vcfs/hostnames

Retrieve List of hostnames

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • vmware.vcfonvpc.read

Auditing

Calling this method generates the following auditing event.

  • vmware.vcfonvpc.read

Request

Path Parameters

Query Parameters

host_count

Required *

integer

Number of hostnames to generate

hostname_prefix

string

Optional prefix for the hostnames

Response

200 - OK

hostnames

array

Array of generated hostnames

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

403 - Unauthorized_Error_Required_Role

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

404 - VCF instance not found

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

Verifies if the list of hostnames are unique and valid

POST /vcfs/hostnames

Verifies if the list of hostnames are valid

Request

Request Body

VcfvpcHosts

Order Specification

hostnames

Required *

array

List of hostnames

Response

200 - Order accepted

hostnames

array

List of hostnames to validate

401 - Unauthorized_Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error

500 - Internal Server Error

errors

array

errors

status_code

integer

HTTP status code

trace

string

Unique identification value to trace the error