Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex v3.6.x CLI Reference Guide

PDF

query_properties

Retrieve any set of properties, on any set of objects of the specified type.

The properties that can be queried depend on the type of the object that is being queried. For example, SDS has different attributes than Volume.

A number of preset combinations are available for use with this command. A preset is a predefined set of properties, usually with some logical relationship, which specifies a group of commonly queried properties. The available presets are also dependent on the object type. All object types have at least one preset called all, which queries all the properties for that type.

Syntax

scli --query_properties --object_type <TYPE> (--object_id <ID> | --all_objects) (--properties <PROPS> | --preset <PRESET>) 
  [--group_by_property]
  [--display_property_options]
  [--flat_list]

Parameters

--object_type <TYPE>
Object type to query. One of:

SYSTEM

PROTECTION_DOMAIN

STORAGE_POOL

FAULT_SET

SDS

Host

VOLUME

DEVICE

VTREE

MDM

SP_SDS

ACCELERATION_POOL

SNAPSHOT_POLICY

SDR

PEER_MDM

REPLICATION_PAIR

REPLICATION_CONSISTENCY_GROUP

SDT

NOTE:To view detailed presets and properties options for a type, enter scli --query_properties --object_type <TYPE>, where <TYPE> is one of the above options.
--object_id <ID>
Comma-separated list of object ID used for querying one or more specific objects. Omit the space after each comma.
--all_objects
Query all objects of the specified type.
--properties <PROPS>
Query a comma-separated list of properties. Omit the space after each comma. See the scli help output for a list of properties that can be queried per object type
--preset <PRESET>
Query a predefined set of properties. Omit the space after each comma. See the scli help output for the list of presets that can be used per object type.
--group_by_property
Group results by property type, rather than by object (the default).
--display_property_options
Display all available properties grouped by object type.
--flat_list
Print results as a flat list rather than by group (better for searching).
NOTE:Use scli --query_properties --object_type <TYPE> with one of the valid types above, to get detailed presets and properties options.

Example

scli --query_properties --object_type SDS --all_objects --properties IPS,PORT,PROTECTION_DOMAIN_ID,RMCACHE_ENABLED

Sample output

# scli --query_properties --object_type SDS --all_objects --properties IPS,PORT,PROTECTION_DOMAIN_ID,RMCACHE_ENABLED
SDS 5fcafa4300000001:
        IPS                                                10.55.105.40,10.76.30.11
        PORT                                               7072
        PROTECTION_DOMAIN_ID                               a080539500000000
        RMCACHE_ENABLED                                    Yes

SDS 5fcafa4600000004:
        IPS                                                10.55.105.43,10.76.30.15
        PORT                                               7072
        PROTECTION_DOMAIN_ID                               a080539500000000
        RMCACHE_ENABLED                                    Yes

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\