---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances"
tags: ["Maintenances"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List Maintenance resources by subscription ID

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `privateCloudName` string, required

## Query parameters

- `api-version` string, required
- `stateName` 'NotScheduled' | 'Scheduled' | 'InProgress' | 'Success' | 'Failed' | 'Canceled'
- `status` 'Active' | 'Inactive'
- `from` string, date-time
- `to` string, date-time

## Response `200`

Azure operation completed successfully.

- MaintenanceListResult: The response of a Maintenance list operation.
  - `value` Maintenance[], required: The Maintenance items on this page
    - `id` string, arm-id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `properties` MaintenanceProperties: properties of a maintenance
      - `component` 'VCSA' | 'ESXI' | 'NSXT': type of the maintenance
      - `displayName` string: Display name for maintenance
      - `clusterId` integer: Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level
      - `infoLink` string: Link to maintenance info
      - `impact` string: Impact on the resource during maintenance period
      - `scheduledByMicrosoft` boolean: If maintenance is scheduled by Microsoft
      - `state` MaintenanceState: state of the maintenance
        - `name` 'NotScheduled' | 'Scheduled' | 'InProgress' | 'Success' | 'Failed' | 'Canceled': Customer presentable maintenance state
        - `message` string: Failure/Success info
        - `startedAt` string, date-time: Time when current state started
        - `endedAt` string, date-time: Time when current state ended
      - `scheduledStartTime` string, date-time: Scheduled maintenance start time
      - `estimatedDurationInMinutes` integer: Estimated time maintenance will take in minutes
      - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Updating': provisioning state of the maintenance
      - `operations` MaintenanceManagementOperation[]: Operations on maintenance
        - `kind` 'Schedule' | 'Reschedule' | 'MaintenanceReadinessRefresh', required: Defines the type of operation
      - `maintenanceReadiness` MaintenanceReadiness: Maintenance readiness details
        - `type` 'Precheck' | 'Preflight', required: Defines the type of maintenance readiness check
        - `status` 'Ready' | 'NotReady' | 'DataNotAvailable' | 'NotApplicable', required: Defines the readiness status of maintenance
        - `message` string: A summary message of the readiness check result
        - `failedChecks` MaintenanceFailedCheck[]: A list of failed checks, if any
          - `name` string: The name of the failed check
          - `impactedResources` ImpactedMaintenanceResource[]: A list of resources impacted by the failed check
            - `id` string: The ID of the impacted resource
            - `errors` ImpactedMaintenanceResourceError[]: A list of errors associated with the impacted resource
              - …
        - `lastUpdated` string, date-time: The timestamp of the last readiness update
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2020-03-20) `fb4a386ef505`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.AVS/privateClouds/:privateCloudName/maintenances/get.md)

---

[API](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs.md) - [All operations](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/revisions/fb4a386ef505?raw)
