Class ComputeNodeIdentityReference
java.lang.Object
com.azure.resourcemanager.batch.models.ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ComputeNodeIdentityReference class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: The ARM resource id of the user assigned identity.void
validate()
Validates the instance.withResourceId
(String resourceId) Set the resourceId property: The ARM resource id of the user assigned identity.
-
Constructor Details
-
ComputeNodeIdentityReference
public ComputeNodeIdentityReference()Creates an instance of ComputeNodeIdentityReference class.
-
-
Method Details
-
resourceId
Get the resourceId property: The ARM resource id of the user assigned identity.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The ARM resource id of the user assigned identity.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the ComputeNodeIdentityReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-