Skip to main content

backup_workload_items

Creates, updates, deletes, gets or lists a backup_workload_items resource.

Overview

Namebackup_workload_items
TypeResource
Idazure.recovery_services_backup.backup_workload_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectWorkloadItemResource properties
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvaultName, resourceGroupName, subscriptionId, fabricName, containerNameapi-version, $filter, $skipTokenProvides a pageable list of workload item of a specific container according to the query filter and the pagination
parameters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
containerNamestringName of the container.
fabricNamestringFabric name associated with the container.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
$filterstringOData filter options.
$skipTokenstringskipToken Filter.
api-versionstringClient Api Version.

SELECT examples

Provides a pageable list of workload item of a specific container according to the query filter and the pagination
parameters.

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.backup_workload_items
WHERE vaultName = '{{ vaultName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND containerName = '{{ containerName }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
AND $skipToken = '{{ $skipToken }}'
;