Interface BackupInstanceResource
-
public interface BackupInstanceResource
An immutable client-side representation of BackupInstanceResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BackupInstanceResource.Definition
The entirety of the BackupInstanceResource definition.static interface
BackupInstanceResource.DefinitionStages
The BackupInstanceResource definition stages.static interface
BackupInstanceResource.Update
The template for BackupInstanceResource update.static interface
BackupInstanceResource.UpdateStages
The BackupInstanceResource update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationJobExtendedInfo
adhocBackup(TriggerBackupRequest parameters)
Trigger adhoc backup.OperationJobExtendedInfo
adhocBackup(TriggerBackupRequest parameters, com.azure.core.util.Context context)
Trigger adhoc backup.String
id()
Gets the id property: Fully qualified resource Id for the resource.BackupInstanceResourceInner
innerModel()
Gets the inner com.azure.resourcemanager.dataprotection.fluent.models.BackupInstanceResourceInner object.String
name()
Gets the name property: The name of the resource.BackupInstance
properties()
Gets the properties property: BackupInstanceResource properties.BackupInstanceResource
refresh()
Refreshes the resource to sync with Azure.BackupInstanceResource
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.void
triggerRehydrate(AzureBackupRehydrationRequest parameters)
rehydrate recovery point for restore for a BackupInstance.void
triggerRehydrate(AzureBackupRehydrationRequest parameters, com.azure.core.util.Context context)
rehydrate recovery point for restore for a BackupInstance.OperationJobExtendedInfo
triggerRestore(AzureBackupRestoreRequest parameters)
Triggers restore for a BackupInstance.OperationJobExtendedInfo
triggerRestore(AzureBackupRestoreRequest parameters, com.azure.core.util.Context context)
Triggers restore for a BackupInstance.String
type()
Gets the type property: The type of the resource.BackupInstanceResource.Update
update()
Begins update for the BackupInstanceResource resource.OperationJobExtendedInfo
validateForRestore(ValidateRestoreRequestObject parameters)
Validates if Restore can be triggered for a DataSource.OperationJobExtendedInfo
validateForRestore(ValidateRestoreRequestObject parameters, com.azure.core.util.Context context)
Validates if Restore can be triggered for a DataSource.
-
-
-
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.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
properties
BackupInstance properties()
Gets the properties property: BackupInstanceResource properties.- Returns:
- the properties value.
-
innerModel
BackupInstanceResourceInner innerModel()
Gets the inner com.azure.resourcemanager.dataprotection.fluent.models.BackupInstanceResourceInner object.- Returns:
- the inner object.
-
update
BackupInstanceResource.Update update()
Begins update for the BackupInstanceResource resource.- Returns:
- the stage of resource update.
-
refresh
BackupInstanceResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
BackupInstanceResource 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.
-
adhocBackup
OperationJobExtendedInfo adhocBackup(TriggerBackupRequest parameters)
Trigger adhoc backup.- Parameters:
parameters
- Request body for operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
adhocBackup
OperationJobExtendedInfo adhocBackup(TriggerBackupRequest parameters, com.azure.core.util.Context context)
Trigger adhoc backup.- Parameters:
parameters
- Request body for operation.context
- The context to associate with this operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
triggerRehydrate
void triggerRehydrate(AzureBackupRehydrationRequest parameters)
rehydrate recovery point for restore for a BackupInstance.- Parameters:
parameters
- Request body for operation.- 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.
-
triggerRehydrate
void triggerRehydrate(AzureBackupRehydrationRequest parameters, com.azure.core.util.Context context)
rehydrate recovery point for restore for a BackupInstance.- Parameters:
parameters
- Request body for operation.context
- The context to associate with this operation.- 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.
-
triggerRestore
OperationJobExtendedInfo triggerRestore(AzureBackupRestoreRequest parameters)
Triggers restore for a BackupInstance.- Parameters:
parameters
- Request body for operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
triggerRestore
OperationJobExtendedInfo triggerRestore(AzureBackupRestoreRequest parameters, com.azure.core.util.Context context)
Triggers restore for a BackupInstance.- Parameters:
parameters
- Request body for operation.context
- The context to associate with this operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
validateForRestore
OperationJobExtendedInfo validateForRestore(ValidateRestoreRequestObject parameters)
Validates if Restore can be triggered for a DataSource.- Parameters:
parameters
- Request body for operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
validateForRestore
OperationJobExtendedInfo validateForRestore(ValidateRestoreRequestObject parameters, com.azure.core.util.Context context)
Validates if Restore can be triggered for a DataSource.- Parameters:
parameters
- Request body for operation.context
- The context to associate with this operation.- Returns:
- operationJobExtendedInfo.
- 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.
-
-