Class ApiEntityReference
java.lang.Object
com.azure.resourcemanager.compute.models.ApiEntityReference
The API entity reference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...voidvalidate()Validates the instance.Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
-
Constructor Details
-
ApiEntityReference
public ApiEntityReference()
-
-
Method Details
-
id
Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...- Returns:
- the id value.
-
withId
Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...- Parameters:
id- the id value to set.- Returns:
- the ApiEntityReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-