Interface AzResource
-
- All Superinterfaces:
AzComponent,Refreshable
- All Known Subinterfaces:
ISenderReceiver,Startable
- All Known Implementing Classes:
AbstractAzResource,AbstractAzServiceSubscription,AbstractEmulatableAzResource,AzResource.None,GenericResource,ResourceDeployment,ResourceDeploymentDraft,ResourceGroup,ResourceGroupDraft,ResourcesServiceSubscription
public interface AzResource extends Refreshable, AzComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAzResource.Draft<T extends AzResource,R>static classAzResource.FormalStatusstatic classAzResource.Nonestatic interfaceAzResource.Status
-
Field Summary
Fields Modifier and Type Field Description static longCACHE_LIFETIMEstatic Action.Id<AzResource>CONNECT_RESOURCEstatic Action.Id<Object>CREATE_RESOURCEstatic Action.Id<AzResource>DEPLOYstatic AzResource.NoneNONEstatic StringRESOURCE_GROUP_PLACEHOLDER
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voiddelete()booleanexists()default AzResource.FormalStatusgetFormalStatus()default StringgetFullResourceType()AzResourceModule<?>getModule()default StringgetPortalUrl()default StringgetResourceGroupName()default StringgetResourceTypeName()StringgetStatus()default SubscriptiongetSubscription()default StringgetSubscriptionId()default Stringid()Deprecated.default Stringname()Deprecated.voidrefresh()-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzComponent
getId, getName
-
-
-
-
Field Detail
-
CONNECT_RESOURCE
static final Action.Id<AzResource> CONNECT_RESOURCE
-
DEPLOY
static final Action.Id<AzResource> DEPLOY
-
CACHE_LIFETIME
static final long CACHE_LIFETIME
- See Also:
- Constant Field Values
-
NONE
static final AzResource.None NONE
-
RESOURCE_GROUP_PLACEHOLDER
static final String RESOURCE_GROUP_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
exists
boolean exists()
-
refresh
void refresh()
- Specified by:
refreshin interfaceRefreshable
-
getModule
@Nonnull AzResourceModule<?> getModule()
-
getFullResourceType
@Nonnull default String getFullResourceType()
- Specified by:
getFullResourceTypein interfaceAzComponent
-
getResourceTypeName
@Nonnull default String getResourceTypeName()
- Specified by:
getResourceTypeNamein interfaceAzComponent
-
delete
void delete()
-
getSubscription
@Nonnull default Subscription getSubscription()
-
getFormalStatus
default AzResource.FormalStatus getFormalStatus()
-
name
@Deprecated default String name()
Deprecated.
-
id
@Deprecated default String id()
Deprecated.
-
-