|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.VmAffinityRuleType>
com.vmware.vcloud.sdk.VmAffinityRule
public class VmAffinityRule
| Method Summary | |
|---|---|
com.vmware.vcloud.api.rest.schema.TaskType |
delete()
Deletes the specified VM affinity/anti-affinity rule |
com.vmware.vcloud.api.rest.schema.VmAffinityRuleType |
getVmAffinityRule()
Retrieves the specific VM affinity/anti-affinity rule |
static VmAffinityRule |
getVmAffinityRuleByObject(VcloudClient client,
com.vmware.vcloud.api.rest.schema.VmAffinityRuleType vmAffinityRuleType)
Returns the VmAffinityRule Helper by VmAffinityRuleByObject |
static VmAffinityRule |
getVmAffinityRuleByUrl(VcloudClient client,
String url)
Get VMAffinityRule helper for the given Url |
com.vmware.vcloud.api.rest.schema.TaskType |
updateVmAffinityRule(com.vmware.vcloud.api.rest.schema.VmAffinityRuleType vmAffinityRuleType)
Updates the specified VM affinity/anti-affinity rule. |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity |
|---|
getMetadata, getReference, getTasks |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudResource |
|---|
getResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static VmAffinityRule getVmAffinityRuleByObject(VcloudClient client,
com.vmware.vcloud.api.rest.schema.VmAffinityRuleType vmAffinityRuleType)
throws VCloudException
client - vmAffinityRuleType -
VmAffinityRule
VCloudException
public static VmAffinityRule getVmAffinityRuleByUrl(VcloudClient client,
String url)
throws VCloudException
client - vCloud API client VcloudClienturl - Url to the VmAffinityRule String
VCloudException
public com.vmware.vcloud.api.rest.schema.VmAffinityRuleType getVmAffinityRule()
throws VCloudException
VCloudException
public com.vmware.vcloud.api.rest.schema.TaskType delete()
throws VCloudException
TaskType
VCloudException
public com.vmware.vcloud.api.rest.schema.TaskType updateVmAffinityRule(com.vmware.vcloud.api.rest.schema.VmAffinityRuleType vmAffinityRuleType)
throws VCloudException
vmAffinityRuleType - VmAffinityRuleType
TaskType
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||