BackupsOperations Class

BackupsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
BackupsOperations

Constructor

BackupsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

trigger

Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.

trigger

Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.

trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, **kwargs)

Parameters

vault_name
str
Required

The name of the recovery services vault.

resource_group_name
str
Required

The name of the resource group where the recovery services vault is present.

fabric_name
str
Required

Fabric name associated with the backup item.

container_name
str
Required

Container name associated with the backup item.

protected_item_name
str
Required

Backup item for which backup needs to be triggered.

parameters
BackupRequestResource
Required

resource backup request.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Attributes

models

models = <module 'azure.mgmt.recoveryservicesbackup.models' from 'c:\\hostedtoolcache\\windows\\python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\recoveryservicesbackup\\models\\__init__.py'>