Class AzureResource

  • Direct Known Subclasses:
    ActionGroupResourceInner

    public class AzureResource
    extends com.azure.core.management.Resource
    An azure resource object.
    • Constructor Detail

      • AzureResource

        public AzureResource()
    • Method Detail

      • 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.