Resource Interface
Implements
public interface Resource
extends Indexable, HasId, HasName
Base interfaces for fluent resources.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Resource |
DUMMY
A dummy resource that does nothing. |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Region | region() |
abstract String | regionName() |
abstract Map<String,String> | tags() |
abstract String | type() |
Field Details
DUMMY
public static final Resource DUMMY
A dummy resource that does nothing.
Method Details
region
public abstract Region region()
Returns:
the region the resource is in
regionName
public abstract String regionName()
Returns:
the name of the region the resource is in
tags
public abstract Map
Returns:
the tags for the resource
type
public abstract String type()
Returns:
the type of the resource
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java