Class MachineUpdateProperties
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.MachineUpdateProperties
Describes the ARM updatable properties of a hybrid machine.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MachineUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the locationData property: Metadata pertaining to the geographic location of the resource.Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.void
validate()
Validates the instance.withLocationData
(LocationData locationData) Set the locationData property: Metadata pertaining to the geographic location of the resource.withParentClusterResourceId
(String parentClusterResourceId) Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.withPrivateLinkScopeResourceId
(String privateLinkScopeResourceId) Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.
-
Constructor Details
-
MachineUpdateProperties
public MachineUpdateProperties()Creates an instance of MachineUpdateProperties class.
-
-
Method Details
-
locationData
Get the locationData property: Metadata pertaining to the geographic location of the resource.- Returns:
- the locationData value.
-
withLocationData
Set the locationData property: Metadata pertaining to the geographic location of the resource.- Parameters:
locationData
- the locationData value to set.- Returns:
- the MachineUpdateProperties object itself.
-
parentClusterResourceId
Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.- Returns:
- the parentClusterResourceId value.
-
withParentClusterResourceId
Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.- Parameters:
parentClusterResourceId
- the parentClusterResourceId value to set.- Returns:
- the MachineUpdateProperties object itself.
-
privateLinkScopeResourceId
Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.- Returns:
- the privateLinkScopeResourceId value.
-
withPrivateLinkScopeResourceId
Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.- Parameters:
privateLinkScopeResourceId
- the privateLinkScopeResourceId value to set.- Returns:
- the MachineUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-