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 Details

    • AzureResource

      public AzureResource()
  • Method Details

    • kind

      public String kind()
      Get the kind property: Azure resource kind.
      Returns:
      the kind value.
    • identity

      public String identity()
      Get the identity property: Azure resource identity.
      Returns:
      the identity value.
    • withLocation

      public AzureResource withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AzureResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.