From 029a915cdbcb9424795e2ee6da937fbf62ef5b2d Mon Sep 17 00:00:00 2001 From: Jaap Brasser Date: Sun, 13 Sep 2020 07:20:33 +0200 Subject: [PATCH] Updated APIData for #689 --- Rubrik/Private/Get-RubrikAPIData.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Rubrik/Private/Get-RubrikAPIData.ps1 b/Rubrik/Private/Get-RubrikAPIData.ps1 index a4ef45529..c28f83c1e 100644 --- a/Rubrik/Private/Get-RubrikAPIData.ps1 +++ b/Rubrik/Private/Get-RubrikAPIData.ps1 @@ -2317,6 +2317,21 @@ function Get-RubrikAPIData { Success = '200' ObjectTName = 'Rubrik.VMwareVM' } + '5.2' = @{ + Description = 'Update a VM with the specified SLA Domain.' + URI = '/api/v2/sla_domain/{id}/assign' + Method = 'Patch' + Body = @{ + managedIds = [System.Collections.ArrayList]@() + configuredSlaDomainId = 'configuredSlaDomainId' + existingSnapshotRetention = 'existingSnapshotRetention' + } + Query = '' + Result = '' + Filter = '' + Success = '200' + ObjectTName = 'Rubrik.VMwareVM' + } } 'Protect-RubrikVolumeGroup' = @{ '1.0' = @{