Class

# VMware_VCloud_SDK_Extension_VMWProviderVdc

class VMware_VCloud_SDK_Extension_VMWProviderVdc extends VMware_VCloud_SDK_Abstract

## Methods

string | getEntityId() Get vCloud ID of the vCloud resource entity from its data object. | from VMware_VCloud_SDK_Abstract
VMware_VCloud_API_ReferenceType | getVMWProviderVdcRef() Get a reference to the provider vDC entity. |
VMware_VCloud_API_Extension_VMWProviderVdcType | getVMWProviderVdc() Get the provider vDC data object. |
string | getId() Constructs vCloud ID of the provider vDC from its UUID. |
array | getNetworkPoolRefs(string $name = null) Get references of network pool settings. |
array | getExternalNetworkRefs() Get references to VMware external network. |
array | getNetworkPools(string $name = null) Get network pool settings objects. |
array|null | getResourcePools() Retrieve a list of provider vDC resource pools. |
array | getResourcePoolRefs() Retrieve a list of provider vDC resource pool references. |
VMware_VCloud_API_TaskType | updateResourcePools(VMware_VCloud_API_Extension_UpdateResourcePoolSetParamsType $params) Update backing resource pools for provider vDC. |
VMware_VCloud_API_Extension_VMWProviderVdcType | modify(VMware_VCloud_API_Extension_VMWProviderVdcType $providerVdc) Modify a provider vDC. |
null | enable(boolean $enable = true) Enable this provider vDC. |
null | disable() Disable this VMware provider vDC. |
boolean | isEnabled() Check the provide vDC is enabled or not. |
VMware_VCloud_API_TaskType | delete() Delete a VMware provider vDC. |
VMware_VCloud_API_TaskType | merge(VMware_VCloud_API_Extension_ProviderVdcMergeParamsType $params) Merge provider vDCs. |
VMware_VCloud_API_TaskType | migrateVms(VMware_VCloud_API_Extension_MigrateParamsType $params) Migrate a VM to a different resource pool. |
VMware_VCloud_API_Extension_VMWStorageProfilesType | getAvailableStorageProfiles() Retrieve a list of storage profiles that can be added to the specified provider vDC. |
VMware_VCloud_API_TaskType | updateStorageProfiles(VMware_VCloud_API_Extension_UpdateProviderVdcStorageProfilesParamsType $params) Update storage profiles belonging to a provider vDC. |
array|null | getStorageProfileRefs($name = null) Get references of provider vDC storage profiles. |
array|null | getStorageProfiles($name = null) Get provider vDC storage profiles. |

## Details

###
in VMware_VCloud_SDK_Abstract at line 85
`public string getEntityId()`

Get vCloud ID of the vCloud resource entity from its data object.

#### Return Value

string |

###
at line 11
`public VMware_VCloud_API_ReferenceType getVMWProviderVdcRef()`

Get a reference to the provider vDC entity.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 23
`public VMware_VCloud_API_Extension_VMWProviderVdcType getVMWProviderVdc()`

Get the provider vDC data object.

#### Return Value

VMware_VCloud_API_Extension_VMWProviderVdcType |

###
at line 34
`public string getId()`

Constructs vCloud ID of the provider vDC from its UUID.

#### Return Value

string |

###
at line 46
`public array getNetworkPoolRefs(string $name = null)`

Get references of network pool settings.

#### Parameters

string | $name | Name of the network pool to get. If null, returns all

#### Return Value

array | VMwareVCloudAPI_ReferenceType object array

###
at line 58
`public array getExternalNetworkRefs()`

Get references to VMware external network.

#### Return Value

array | VMwareVCloudAPI_ReferenceType object array

###
at line 72
`public array getNetworkPools(string $name = null)`

Get network pool settings objects.

#### Parameters

string | $name | Name of the network pool to get. If null, returns all

#### Return Value

array | VMwareVCloudAPIExtensionFencePoolType | VMwareVCloudAPIExtensionPortGroupPoolType | VMwareVCloudAPIExtensionVlanPoolType object array

###
at line 98
`public array|null getResourcePools()`

Retrieve a list of provider vDC resource pools.

#### Return Value

array|null | VMwareVCloudAPIExtensionVMWProviderVdcResourcePoolType object array or null

###
at line 110
`public array getResourcePoolRefs()`

Retrieve a list of provider vDC resource pool references.

#### Return Value

array | VMwareVCloudAPI_ReferenceType object array

###
at line 133
`public VMware_VCloud_API_TaskType updateResourcePools(VMware_VCloud_API_Extension_UpdateResourcePoolSetParamsType $params)`

Update backing resource pools for provider vDC.

#### Parameters

VMware_VCloud_API_Extension_UpdateResourcePoolSetParamsType | $params |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 148
`public VMware_VCloud_API_Extension_VMWProviderVdcType modify(VMware_VCloud_API_Extension_VMWProviderVdcType $providerVdc)`

Modify a provider vDC.

#### Parameters

VMware_VCloud_API_Extension_VMWProviderVdcType | $providerVdc |

#### Return Value

VMware_VCloud_API_Extension_VMWProviderVdcType |

###
at line 162
`public null enable(boolean $enable = true)`

Enable this provider vDC.

#### Parameters

boolean | $enable | To enable, set to true; to disable, set to false

#### Return Value

null |

###
at line 182
`public null disable()`

Disable this VMware provider vDC.

#### Return Value

null |

###
at line 193
`public boolean isEnabled()`

Check the provide vDC is enabled or not.

#### Return Value

boolean |

###
at line 204
`public VMware_VCloud_API_TaskType delete()`

Delete a VMware provider vDC.

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 218
`public VMware_VCloud_API_TaskType merge(VMware_VCloud_API_Extension_ProviderVdcMergeParamsType $params)`

Merge provider vDCs.

#### Parameters

VMware_VCloud_API_Extension_ProviderVdcMergeParamsType | $params |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 233
`public VMware_VCloud_API_TaskType migrateVms(VMware_VCloud_API_Extension_MigrateParamsType $params)`

Migrate a VM to a different resource pool.

#### Parameters

VMware_VCloud_API_Extension_MigrateParamsType | $params |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 247
`public VMware_VCloud_API_Extension_VMWStorageProfilesType getAvailableStorageProfiles()`

Retrieve a list of storage profiles that can be added to the specified provider vDC.

#### Return Value

VMware_VCloud_API_Extension_VMWStorageProfilesType |

###
at line 262
`public VMware_VCloud_API_TaskType updateStorageProfiles(VMware_VCloud_API_Extension_UpdateProviderVdcStorageProfilesParamsType $params)`

Update storage profiles belonging to a provider vDC.

The request parameters specify storage profiles to add or remove.

#### Parameters

VMware_VCloud_API_Extension_UpdateProviderVdcStorageProfilesParamsType | $params |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 277
`public array|null getStorageProfileRefs($name = null)`

Get references of provider vDC storage profiles.

#### Parameters

| $name |

#### Return Value

array|null | VMwareVCloudAPIExtensionReferenceType object array or null

###
at line 291
`public array|null getStorageProfiles($name = null)`

Get provider vDC storage profiles.

#### Parameters

| $name |

#### Return Value

array|null | VMwareVCloudAPIExtensionVMWProviderVdcStorageProfileType object array or null