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
     
     
     
     

    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()
      Returns:
      the type of the resource
    • regionName

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

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

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