Class PlacementProfile
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.PlacementProfile
Defines the resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.Get the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.hostId()
Get the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.void
validate()
Validates the instance.withClusterId
(String clusterId) Set the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.withDatastoreId
(String datastoreId) Set the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.withHostId
(String hostId) Set the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.withResourcePoolId
(String resourcePoolId) Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
-
Constructor Details
-
PlacementProfile
public PlacementProfile()
-
-
Method Details
-
resourcePoolId
Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.- Returns:
- the resourcePoolId value.
-
withResourcePoolId
Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.- Parameters:
resourcePoolId
- the resourcePoolId value to set.- Returns:
- the PlacementProfile object itself.
-
clusterId
Get the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.- Returns:
- the clusterId value.
-
withClusterId
Set the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.- Parameters:
clusterId
- the clusterId value to set.- Returns:
- the PlacementProfile object itself.
-
hostId
Get the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.- Returns:
- the hostId value.
-
withHostId
Set the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.- Parameters:
hostId
- the hostId value to set.- Returns:
- the PlacementProfile object itself.
-
datastoreId
Get the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.- Returns:
- the datastoreId value.
-
withDatastoreId
Set the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.- Parameters:
datastoreId
- the datastoreId value to set.- Returns:
- the PlacementProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-