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()
Gets the region the resource is in. |
abstract String |
regionName()
Gets the name of the region the resource is in. |
abstract Map<String,String> |
tags()
Gets the tags for the resource. |
abstract String |
type()
Gets the type of the resource. |
Field Details
DUMMY
public static final Resource DUMMY
A dummy resource that does nothing.
Method Details
region
public abstract Region region()
Gets the region the resource is in.
Returns:
the region the resource is in
regionName
public abstract String regionName()
Gets the name of the region the resource is in.
Returns:
the name of the region the resource is in
tags
public abstract Map
Gets the tags for the resource.
Returns:
the tags for the resource
type
public abstract String type()
Gets the type of the resource.
Returns:
the type of the resource
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java