Class

# VMware_VCloud_SDK_ProviderVdc

class VMware_VCloud_SDK_ProviderVdc 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 | getProviderVdcRef() Get a reference to a VMware vCloud provider vDC entity. |
VMware_VCloud_API_ProviderVdcType | getProviderVdc() Get a VMware vCloud provider vDC object. |
string | getId() Constructs vCloud ID of the provider vDC from its UUID. |
array|null | getVdcRefs($name = null) Retrieves all organization vDCs for the given provider vDC. |
an | getProviderVdcStorageProfileRefs() Get provider vDC storage profile. |
array | getVMWNetworkPoolRefs() Get references to VMware network pools. |
array | getExternalNetworkRefs() Get references to VMware external network. |
VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType | getMetadata(string $key = null, string $domain = null) Get metadata associated with the provider vDC or metadata associated with the provider vDC for the specified key in the specified domain. |
VMware_VCloud_API_TaskType | mergeMetadata(VMware_VCloud_API_MetadataType $meta) Merges the metadata for the provider vDC with the information provided. |
VMware_VCloud_API_TaskType | setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null) Sets the metadata for the particular key in the specified domain for the provider vDC to the value provided. |
VMware_VCloud_API_TaskType | deleteMetadataByKey(string $key, string $domain = null) Deletes the metadata for the particular key in the specified domain for the provider vDC. |

## 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 10
`public VMware_VCloud_API_ReferenceType getProviderVdcRef()`

Get a reference to a VMware vCloud provider vDC entity.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 22
`public VMware_VCloud_API_ProviderVdcType getProviderVdc()`

Get a VMware vCloud provider vDC object.

#### Return Value

VMware_VCloud_API_ProviderVdcType |

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

Constructs vCloud ID of the provider vDC from its UUID.

#### Return Value

string |

###
at line 44
`public array|null getVdcRefs($name = null)`

Retrieves all organization vDCs for the given provider vDC.

#### Parameters

| $name |

#### Return Value

array|null | An array of VMwareVCloudAPI_ReferenceType or null.

###
at line 58
`public an getProviderVdcStorageProfileRefs()`

Get provider vDC storage profile.

#### Return Value

an | array of VMwareVCloudAPI_ReferenceType objects

###
at line 69
`public array getVMWNetworkPoolRefs()`

Get references to VMware network pools.

#### Return Value

array | VMwareVCloudAPI_ReferenceType object array

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

Get references to VMware external network.

#### Return Value

array | VMwareVCloudAPI_ReferenceType object array

###
at line 96
`public VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType getMetadata(string $key = null, string $domain = null)`

Get metadata associated with the provider vDC or metadata associated with the provider vDC for the specified key in the specified domain.

#### Parameters

string | $key |
string | $domain |

#### Return Value

VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType |

###
at line 108
`public VMware_VCloud_API_TaskType mergeMetadata(VMware_VCloud_API_MetadataType $meta)`

Merges the metadata for the provider vDC with the information provided.

#### Parameters

VMware_VCloud_API_MetadataType | $meta |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 127
`public VMware_VCloud_API_TaskType setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null)`

Sets the metadata for the particular key in the specified domain for the provider vDC to the value provided.

Note: This will replace any existing metadata information.

#### Parameters

string | $key |
VMware_VCloud_API_MetadataValueType | $value |
string | $domain |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 144
`public VMware_VCloud_API_TaskType deleteMetadataByKey(string $key, string $domain = null)`

Deletes the metadata for the particular key in the specified domain for the provider vDC.

#### Parameters

string | $key |
string | $domain |

#### Return Value

VMware_VCloud_API_TaskType |