rubrikinc / polaris-o365-powershell

PowerShell commands for managing Polaris M365 protection
MIT License
7 stars 13 forks source link

Breaking changes for mass recovery endpoints #41

Closed rish-singhal closed 10 months ago

rish-singhal commented 10 months ago

Description

This PR adds the following changes:

  1. Add support for subscription name alongside the mass recovery instance ID for stop and get-progress mass recovery endpoints.
  2. Change 'SubSnappableName' to user-facing 'SubWorkloadType'

Motivation and Context

How Has This Been Tested?

Tested with a bodega environment dev-112.

  1. Tested the name change for SubSnappableName to SubWorkloadType. Now the endpoint does not support argument SubSnappableName.
  2. Tested the conversion of subscription name into subscription ID in cases: No subscription with the name is present; 1 subscription exist; and more than 1 subscription exists.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply: