All Superinterfaces:
HasId, HasName, Indexable
All Known Subinterfaces:
GenericResource, GroupableResource<TManager,InnerT>, IndependentChildResource<ManagerT,InnerT>, ResourceGroup

public interface Resource extends Indexable, HasId, HasName
Base interfaces for fluent resources.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A resource definition allowing a location be selected for the resource.
    static interface 
    A resource definition allowing tags to be modified for the resource.
    static interface 
    An update allowing tags to be modified for the resource.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Resource
    A dummy resource that does nothing.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.management.Region
    Gets the region the resource is in.
    Gets the name of the region the resource is in.
    Gets the tags for the resource.
    Gets the type of the resource.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key
  • Field Details

    • DUMMY

      static final Resource DUMMY
      A dummy resource that does nothing.
  • Method Details

    • type

      String type()
      Gets the type of the resource.
      Returns:
      the type of the resource
    • regionName

      String regionName()
      Gets the name of the region the resource is in.
      Returns:
      the name of the region the resource is in
    • region

      com.azure.core.management.Region region()
      Gets the region the resource is in.
      Returns:
      the region the resource is in
    • tags

      Map<String,String> tags()
      Gets the tags for the resource.
      Returns:
      the tags for the resource