Class

# VMware_VCloud_SDK_AdminVdcStorageProfile

class VMware_VCloud_SDK_AdminVdcStorageProfile 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_AdminVdcStorageProfileType | getAdminVdcStorageProfile() Get a VMware vCloud vDC storage profile entity in an administrative view. |
VMware_VCloud_API_ReferenceType | getAdminVdcStorageProfileRef() Get a reference to a vDC storage profile entity. |
VMware_VCloud_API_AdminVdcStorageProfileType | update(VMware_VCloud_API_AdminVdcStorageProfileType $profile) Updates a single vDC storage profile. |
VMware_VCloud_API_MetadataType| | getMetadata(string $key = null, string $domain = null) Get metadata associated with the vDC storage profile or metadata associated with the vDC storage profile for the specified key in the specified domain. |
VMware_VCloud_API_TaskType | mergeMetadata(VMware_VCloud_API_MetadataType $meta) Merges the metadata for the vDC storage profile 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 vDC storage profile to the value provided. |
VMware_VCloud_API_TaskType | deleteMetadataByKey($key, $domain = null) Deletes the metadata for the particular key in the specified domain for the vDC storage profile. |
VMware_VCloud_API_ReferenceType | getProviderVdcStorageProfileRef() Get provider vDC storage profile reference. |
VMware_VCloud_API_ProviderVdcStorageProfileType | getProviderVdcStorageProfile() Get provider vDC storage profile. |

## 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_AdminVdcStorageProfileType getAdminVdcStorageProfile()`

Get a VMware vCloud vDC storage profile entity in an administrative view.

#### Return Value

VMware_VCloud_API_AdminVdcStorageProfileType |

###
at line 21
`public VMware_VCloud_API_ReferenceType getAdminVdcStorageProfileRef()`

Get a reference to a vDC storage profile entity.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 34
`public VMware_VCloud_API_AdminVdcStorageProfileType update(VMware_VCloud_API_AdminVdcStorageProfileType $profile)`

Updates a single vDC storage profile.

#### Parameters

VMware_VCloud_API_AdminVdcStorageProfileType | $profile |

#### Return Value

VMware_VCloud_API_AdminVdcStorageProfileType |

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

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

#### Parameters

string | $key |
string | $domain |

#### Return Value

VMware_VCloud_API_MetadataType| | VMwareVCloudAPI_MetadataValueType|null

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

Merges the metadata for the vDC storage profile with the information provided.

#### Parameters

VMware_VCloud_API_MetadataType | $meta |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 83
`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 vDC storage profile 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 98
`public VMware_VCloud_API_TaskType deleteMetadataByKey($key, $domain = null)`

Deletes the metadata for the particular key in the specified domain for the vDC storage profile.

#### Parameters

| $key |
| $domain |

#### Return Value

VMware_VCloud_API_TaskType |

###
at line 110
`public VMware_VCloud_API_ReferenceType getProviderVdcStorageProfileRef()`

Get provider vDC storage profile reference.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 121
`public VMware_VCloud_API_ProviderVdcStorageProfileType getProviderVdcStorageProfile()`

Get provider vDC storage profile.

#### Return Value

VMware_VCloud_API_ProviderVdcStorageProfileType |