Interface EnergyService
-
public interface EnergyService
An immutable client-side representation of EnergyService.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EnergyService.Definition
The entirety of the EnergyService definition.static interface
EnergyService.DefinitionStages
The EnergyService definition stages.static interface
EnergyService.Update
The template for EnergyService update.static interface
EnergyService.UpdateStages
The EnergyService update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
id()
Gets the id property: Fully qualified resource Id for the resource.EnergyServiceInner
innerModel()
Gets the inner com.azure.resourcemanager.oep.fluent.models.EnergyServiceInner object.String
location()
Gets the location property: Geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.EnergyServiceProperties
properties()
Gets the properties property: The properties property.EnergyService
refresh()
Refreshes the resource to sync with Azure.EnergyService
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.EnergyService.Update
update()
Begins update for the EnergyService resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
properties
EnergyServiceProperties properties()
Gets the properties property: The properties property.- Returns:
- the properties value.
-
location
String location()
Gets the location property: Geo-location where the resource lives.- Returns:
- the location value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
EnergyServiceInner innerModel()
Gets the inner com.azure.resourcemanager.oep.fluent.models.EnergyServiceInner object.- Returns:
- the inner object.
-
update
EnergyService.Update update()
Begins update for the EnergyService resource.- Returns:
- the stage of resource update.
-
refresh
EnergyService refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
EnergyService refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-