Class AzureResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.monitor.models.AzureResource
- Direct Known Subclasses:
ActionGroupResourceInner
public class AzureResource
extends com.azure.core.management.Resource
An azure resource object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentity()Get the identity property: Azure resource identity.kind()Get the kind property: Azure resource kind.voidvalidate()Validates the instance.withLocation(String location) Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AzureResource
public AzureResource()
-
-
Method Details
-
kind
Get the kind property: Azure resource kind.- Returns:
- the kind value.
-
identity
Get the identity property: Azure resource identity.- Returns:
- the identity value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-