You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get-RubrikVM -SLAID <slaId> should map to a query key to filter at the server-side to the VMs assigned to that SLA policy
Current Behavior
The parameter is not mapped to a query key, so all VMs are retrieved.
Failure Information (for bugs)
Get-RubrikVM -SLAID ( Get-RubrikSLA -Name $slaPolicyName ).id -Verbose
VERBOSE: Validate the Rubrik token exists
VERBOSE: Found a Rubrik token for authentication
VERBOSE: Gather API Data for Get-RubrikVM
VERBOSE: Load API data for
VERBOSE: Description: Get summary of all the VMs
VERBOSE: Determining the SLA Domain id
VERBOSE: Build the URI
VERBOSE: URI = https://rubrik01.domain.tld/api/v1/vmware/vm
VERBOSE: Build the query parameters for sla_assignment,is_relic,name,primary_cluster_id,effective_sla_domain_id
VERBOSE: Query = Found limit flag
VERBOSE: URI = https://rubrik01.domain.tld/api/v1/vmware/vm?limit=9999
VERBOSE: Performing the operation "Get summary of all the VMs" on target "".
VERBOSE: Submitting the request
VERBOSE: GET https://rubrik01.domain.tld/api/v1/vmware/vm?limit=9999 with 0-byte payload
VERBOSE: received 19209795-byte response of content type application/json; charset=UTF-8
...
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
tlindsay42
changed the title
Get-RubrikVM -SLAID <slaId> does not map to query key
Prevent Get-RubrikVM $SLAID parameter value overwrite when it has a value
Mar 8, 2018
Expected Behavior
Get-RubrikVM -SLAID <slaId>
should map to a query key to filter at the server-side to the VMs assigned to that SLA policyCurrent Behavior
The parameter is not mapped to a query key, so all VMs are retrieved.
Failure Information (for bugs)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Connect-Rubrik
$slaPolicyName = '<slaPolicyName>'
Get-RubrikVM -SLAID ( Get-RubrikSLA -Name $slaPolicyName ).id -Verbose
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Get-Module -ListAvailable Rubrik
Get-PSVersion
Failure Logs
N/A
The text was updated successfully, but these errors were encountered: