BackupScheduleGroups interface
Interface representing a BackupScheduleGroups.
Methods
begin |
Creates or Updates the backup schedule Group. |
begin |
Creates or Updates the backup schedule Group. |
begin |
Deletes the backup schedule group. |
begin |
Deletes the backup schedule group. |
get(string, string, string, string, Backup |
Returns the properties of the specified backup schedule group name. |
list |
Retrieves all the backup schedule groups in a device. |
Method Details
beginCreateOrUpdate(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)
Creates or Updates the backup schedule Group.
function beginCreateOrUpdate(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, scheduleGroup: BackupScheduleGroup, options?: BackupScheduleGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupScheduleGroup>, BackupScheduleGroup>>
Parameters
- deviceName
-
string
The name of the device.
- scheduleGroupName
-
string
The name of the schedule group.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- scheduleGroup
- BackupScheduleGroup
The schedule group to be created
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<BackupScheduleGroup>, BackupScheduleGroup>>
beginCreateOrUpdateAndWait(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)
Creates or Updates the backup schedule Group.
function beginCreateOrUpdateAndWait(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, scheduleGroup: BackupScheduleGroup, options?: BackupScheduleGroupsCreateOrUpdateOptionalParams): Promise<BackupScheduleGroup>
Parameters
- deviceName
-
string
The name of the device.
- scheduleGroupName
-
string
The name of the schedule group.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- scheduleGroup
- BackupScheduleGroup
The schedule group to be created
The options parameters.
Returns
Promise<BackupScheduleGroup>
beginDelete(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)
Deletes the backup schedule group.
function beginDelete(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- deviceName
-
string
The name of the device.
- scheduleGroupName
-
string
The name of the schedule group.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)
Deletes the backup schedule group.
function beginDeleteAndWait(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsDeleteOptionalParams): Promise<void>
Parameters
- deviceName
-
string
The name of the device.
- scheduleGroupName
-
string
The name of the schedule group.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Promise<void>
get(string, string, string, string, BackupScheduleGroupsGetOptionalParams)
Returns the properties of the specified backup schedule group name.
function get(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsGetOptionalParams): Promise<BackupScheduleGroup>
Parameters
- deviceName
-
string
The name of the device.
- scheduleGroupName
-
string
The name of the schedule group.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Promise<BackupScheduleGroup>
listByDevice(string, string, string, BackupScheduleGroupsListByDeviceOptionalParams)
Retrieves all the backup schedule groups in a device.
function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsListByDeviceOptionalParams): PagedAsyncIterableIterator<BackupScheduleGroup, BackupScheduleGroup[], PageSettings>
Parameters
- deviceName
-
string
The name of the device.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Azure SDK for JavaScript