Interface ProtectedItemResource
-
public interface ProtectedItemResource
An immutable client-side representation of ProtectedItemResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ProtectedItemResource.Definition
The entirety of the ProtectedItemResource definition.static interface
ProtectedItemResource.DefinitionStages
The ProtectedItemResource definition stages.static interface
ProtectedItemResource.Update
The template for ProtectedItemResource update.static interface
ProtectedItemResource.UpdateStages
The ProtectedItemResource update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
etag()
Gets the etag property: Optional ETag.String
id()
Gets the id property: Fully qualified resource Id for the resource.ProtectedItemResourceInner
innerModel()
Gets the inner com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ProtectedItemResourceInner object.String
location()
Gets the location property: The geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.ProtectedItem
properties()
Gets the properties property: ProtectedItemResource properties.ProtectedItemResource
refresh()
Refreshes the resource to sync with Azure.ProtectedItemResource
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.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.ProtectedItemResource.Update
update()
Begins update for the ProtectedItemResource 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.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
properties
ProtectedItem properties()
Gets the properties property: ProtectedItemResource properties.- Returns:
- the properties value.
-
etag
String etag()
Gets the etag property: Optional ETag.- Returns:
- the etag 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
ProtectedItemResourceInner innerModel()
Gets the inner com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ProtectedItemResourceInner object.- Returns:
- the inner object.
-
update
ProtectedItemResource.Update update()
Begins update for the ProtectedItemResource resource.- Returns:
- the stage of resource update.
-
refresh
ProtectedItemResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
ProtectedItemResource 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.
-
-