Resources
  • 06 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Resources

  • Dark
    Light
  • PDF

Article summary

Get-LiquitResource

Synopsis

This command displays a list of all resources within a connector.

Syntax

Get-LiquitResource
    [-Connector] <ConnectorPull> 
    [-LiquitContext <LiquitContext>]  
    [<CommonParameters>]

 Get-LiquitResource 
    [-Connector] <ConnectorPull> 
    [-Type] <string[]> 
    [-LiquitContext <LiquitContext>]  
    [<CommonParameters>]

Get-LiquitResource 
    [-Connector] <ConnectorPull> 
    [-ID] <string[]> 
    [-LiquitContext <LiquitContext>]  
    [<CommonParameters>]

Get-LiquitResource 
    [-Connector] <ConnectorPull> 
    [-Search] <string> 
    [-LiquitContext <LiquitContext>]  
    [<CommonParameters>]

Get-LiquitResource 
    [-Connector] <ConnectorPull> 
    [-Name] <string> 
    [-LiquitContext <LiquitContext>]  
    [<CommonParameters>]

Parameters

NameValueDescriptionRequiredDefault value
Connector<ConnectorPull>The name of the connector from which you want to pull resources.Yes
Type<string[]>The type of connector.
Search<string>This parameter serves a similar purpose to the search box found in the resources table from the Liquit Workspace UI. It enables users to search multiple columns within the table, such as Name and Version. When a search term is provided, the parameter filters records by matching values in these indexed columns. However, it's important to note that not all columns in the table are indexed, meaning that searches for values in these non-indexed columns will not return results. Non-indexed columns include for example the ID and columns containing checkboxes.
Name<string>Searches on the resource name itself.
LiquitContext<LiquitContext>Determines the selected zone.NoDefault

Examples

Example 1: Get-LiquitResource

$connector = Get-LiquitConnector -ID 00000000-0000-0000-0000-000000000000
 Get-LiquitResource  -Connector $connector

This command displays all the resources available in the specified connector.

Example 2: Get-LiquitResource

$connector = Get-LiquitConnector -id 00000000-0000-0000-0000-000000000000
 Get-LiquitResource  -Connector $connector -ID 00000000-0000-0000-0000-000000000000

This command selects a particular resource in the connector.


Was this article helpful?