swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector BackupWorkloadItems API schemes: - https tags: - name: BackupWorkloadItems paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/items : get: tags: - BackupWorkloadItems description: Provides a pageable list of workload item of a specific container according to the query filter and the pagination
parameters. operationId: microsoftAzureBackupworkloaditemsList produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/VaultName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: fabricName in: path description: Fabric name associated with the container. required: true type: string - name: containerName in: path description: Name of the container. required: true type: string - name: $filter in: query description: OData filter options. required: false type: string - name: $skipToken in: query description: skipToken Filter. required: false type: string responses: '200': description: OK schema: $ref: '#/definitions/WorkloadItemResourceList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-odata: '#/definitions/BMSWorkloadItemQueryObject' x-ms-pageable: nextLinkName: nextLink x-ms-examples: List Workload Items in Container: $ref: ./examples/AzureWorkload/BackupWorkloadItems_List.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Recoveryservices Vaults Vaultname Backupfabrics Fabricname Protectioncontainers Containername Items definitions: WorkloadItemResourceList: description: List of WorkloadItem resources type: object allOf: - $ref: '#/definitions/ResourceList' properties: value: description: List of resources. type: array items: $ref: '#/definitions/WorkloadItemResource' WorkloadItem: description: Base class for backup item. Workload-specific backup items are derived from this class. type: object required: - workloadItemType properties: backupManagementType: description: Type of backup management to backup an item. type: string workloadType: description: Type of workload for the backup management type: string workloadItemType: description: Type of the backup item. type: string friendlyName: description: Friendly name of the backup item. type: string protectionState: description: State of the back up item. enum: - Invalid - NotProtected - Protecting - Protected - ProtectionFailed type: string x-ms-enum: name: ProtectionStatus modelAsString: true discriminator: workloadItemType Resource: description: ARM Resource. type: object properties: id: description: Resource Id represents the complete path to the resource. type: string readOnly: true name: description: Resource name associated with the resource. type: string readOnly: true type: description: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... type: string readOnly: true location: description: Resource location. type: string tags: description: Resource tags. type: object additionalProperties: type: string eTag: description: Optional ETag. type: string x-ms-azure-resource: true CloudError: x-ms-external: true properties: error: type: object $ref: '#/definitions/CloudErrorBody' description: The error object. description: An error response from the Container Instance service. WorkloadItemResource: description: Base class for backup item. Workload-specific backup items are derived from this class. allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/WorkloadItem' description: WorkloadItemResource properties CloudErrorBody: x-ms-external: true properties: code: readOnly: true type: string description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. message: readOnly: true type: string description: A message describing the error, intended to be suitable for display in a user interface. target: readOnly: true type: string description: The target of the particular error. For example, the name of the property in error. details: readOnly: true type: array items: $ref: '#/definitions/CloudErrorBody' x-ms-identifiers: - code description: A list of additional details about the error. additionalInfo: readOnly: true type: array items: $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorAdditionalInfo x-ms-identifiers: [] description: The error additional info. description: An error response from the Container Instance service. ResourceList: description: Base for all lists of resources. type: object properties: nextLink: description: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. type: string parameters: ResourceGroupName: name: resourceGroupName in: path description: The name of the resource group where the recovery services vault is present. required: true type: string x-ms-parameter-location: method VaultName: name: vaultName in: path description: The name of the recovery services vault. required: true type: string x-ms-parameter-location: method ApiVersion: name: api-version in: query description: Client Api Version. required: true type: string SubscriptionId: name: subscriptionId in: path description: The subscription Id. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'