Interface ResourceGuardProxyBaseResource
-
public interface ResourceGuardProxyBaseResource
An immutable client-side representation of ResourceGuardProxyBaseResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ResourceGuardProxyBaseResource.Definition
The entirety of the ResourceGuardProxyBaseResource definition.static interface
ResourceGuardProxyBaseResource.DefinitionStages
The ResourceGuardProxyBaseResource definition stages.static interface
ResourceGuardProxyBaseResource.Update
The template for ResourceGuardProxyBaseResource update.static interface
ResourceGuardProxyBaseResource.UpdateStages
The ResourceGuardProxyBaseResource 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.ResourceGuardProxyBaseResourceInner
innerModel()
Gets the inner com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ResourceGuardProxyBaseResourceInner 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.ResourceGuardProxyBase
properties()
Gets the properties property: ResourceGuardProxyBaseResource properties.ResourceGuardProxyBaseResource
refresh()
Refreshes the resource to sync with Azure.ResourceGuardProxyBaseResource
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.String
resourceGroupName()
Gets the name of the resource group.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.UnlockDeleteResponse
unlockDelete(UnlockDeleteRequest parameters)
Secures delete ResourceGuardProxy operations.com.azure.core.http.rest.Response<UnlockDeleteResponse>
unlockDeleteWithResponse(UnlockDeleteRequest parameters, com.azure.core.util.Context context)
Secures delete ResourceGuardProxy operations.ResourceGuardProxyBaseResource.Update
update()
Begins update for the ResourceGuardProxyBaseResource 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
ResourceGuardProxyBase properties()
Gets the properties property: ResourceGuardProxyBaseResource 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.
-
resourceGroupName
String resourceGroupName()
Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ResourceGuardProxyBaseResourceInner innerModel()
Gets the inner com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ResourceGuardProxyBaseResourceInner object.- Returns:
- the inner object.
-
update
ResourceGuardProxyBaseResource.Update update()
Begins update for the ResourceGuardProxyBaseResource resource.- Returns:
- the stage of resource update.
-
refresh
ResourceGuardProxyBaseResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
ResourceGuardProxyBaseResource 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.
-
unlockDelete
UnlockDeleteResponse unlockDelete(UnlockDeleteRequest parameters)
Secures delete ResourceGuardProxy operations.- Parameters:
parameters
- Request body for operation.- Returns:
- response of Unlock Delete API.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
unlockDeleteWithResponse
com.azure.core.http.rest.Response<UnlockDeleteResponse> unlockDeleteWithResponse(UnlockDeleteRequest parameters, com.azure.core.util.Context context)
Secures delete ResourceGuardProxy operations.- Parameters:
parameters
- Request body for operation.context
- The context to associate with this operation.- Returns:
- response of Unlock Delete API along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-