Get-ITGlueConfigurationInterface
SYNOPSIS
List all configuration interfaces for a particular configuration / Retrieve a configuration interface
SYNTAX
ByConfiguration (Default)
Get-ITGlueConfigurationInterface [-ConfigurationId] <long> [-FilterId <long>]
[-FilterIpAddress <string>] [-PageNumber <long>] [-PageSize <long>] [-Sort <string>] [-AllResults]
[-Raw]
ByConfigurationById
Get-ITGlueConfigurationInterface [-ConfigurationId] <long> [-Id] <long> [-Raw]
ById
Get-ITGlueConfigurationInterface [-Id] <long> [-Raw]
ALIASES
This cmdlet has the following aliases,
- None
DESCRIPTION
Parameter set [ ByConfiguration ] - The Get-ITGlueConfigurationInterface cmdlet invokes the GET method of the /configurations/{configuration_id}/relationships/configuration_interfaces endpoint (List all configuration interfaces for a particular configuration)
Returns the configuration interfaces for a specified configuration.
Example return value:
{ “data”: [ { “type”: “configuration-interfaces”, “attributes”: { “primary”: true, “name”: “Ethernet Card”, “ip-address”: “10.10.1.111”, “mac-address”:”C4:7A:92:14:3D:78”, “notes”: null, “id”: 63, “created-at”: “2017-05-14T18:15:28.000Z”, “updated-at”: “2017-05-29T20:55:16.000Z” } }, { “type”: “configuration-interfaces”, “attributes”: { “primary”: false, “name”: “WLAN Card”, “ip-address”: “10.0.1.23”, “mac-address”:”D4:6A:91:13:2D:77”, “notes”: “Fujitsu 802.11b Wireless LAN Adapter(A)”, “id”: 64, “created-at”: “2017-05-14T18:15:28.000Z”, “updated-at”: “2017-05-29T20:55:16.000Z” } } ] }
Parameter set [ ById ] - The Get-ITGlueConfigurationInterface cmdlet invokes the GET method of the /configuration_interfaces/{id} endpoint (Retrieve a configuration interface)
Returns the details of an existing configuration interface.
Example return value:
{ “data”: { “type”: “configuration-interfaces”, “attributes”: { “primary”: true, “name”: null, “ip-address”: “10.10.2.231”, “mac-address”:”D4:6A:91:13:2D:77”, “notes”: null, “id”: 68, “created-at”: “2017-05-14T18:15:28.000Z”, “updated-at”: “2017-05-29T20:55:16.000Z” } } }
Parameter set [ ByConfigurationById ] - The Get-ITGlueConfigurationInterface cmdlet invokes the GET method of the /configurations/{configuration_id}/relationships/configuration_interfaces/{id} endpoint (Retrieve a configuration interface)
Returns the details of an existing configuration interface.
Example return value:
{ “data”: { “type”: “configuration-interfaces”, “attributes”: { “primary”: true, “name”: null, “ip-address”: “10.10.2.231”, “mac-address”:”D4:6A:91:13:2D:77”, “notes”: null, “id”: 68, “created-at”: “2017-05-14T18:15:28.000Z”, “updated-at”: “2017-05-29T20:55:16.000Z” } } }
EXAMPLES
EXAMPLE 1
Get-ITGlueConfigurationInterface -ConfigurationId 12345
Returns the result of the /configurations/{configuration_id}/relationships/configuration_interfaces endpoint
EXAMPLE 2
Get-ITGlueConfigurationInterface -ConfigurationId 12345 -PageNumber 2 -PageSize 10
Returns the second page of 10 items from the /configurations/{configuration_id}/relationships/configuration_interfaces endpoint
EXAMPLE 3
Get-ITGlueConfigurationInterface -ConfigurationId 12345 -AllResults
Returns every item from the /configurations/{configuration_id}/relationships/configuration_interfaces endpoint by requesting every page of the results
EXAMPLE 4
Get-ITGlueConfigurationInterface -Id 12345
Returns the result of the /configuration_interfaces/{id} endpoint
EXAMPLE 5
Get-ITGlueConfigurationInterface -ConfigurationId 12345 -Id 12345
Returns the result of the /configurations/{configuration_id}/relationships/configuration_interfaces/{id} endpoint
PARAMETERS
-AllResults
Returns all items from the endpoint by requesting every page of the results
When PageSize is not defined 1000 items are requested with each page
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ConfigurationId
Only required for nested relationships route.
Notes: Must be a valid configuration ID in your account.
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases:
- configuration_id
ParameterSets:
- Name: ByConfigurationById
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
- Name: ByConfiguration
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterId
Filter by id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterIpAddress
Filter by ip address
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Id
Defines the ID of the item
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfigurationById
Position: 1
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: ById
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageNumber
Defines the page number to return
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageSize
Defines the number of items to return with each page
The maximum page size is 1000
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (data, meta, links, & included) instead of only the data
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Sort
Notes: To Invert order use -, eg: -name Comma separated values
Allowed values: ‘created_at’, ‘updated_at’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByConfiguration
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.Int64
OUTPUTS
NOTES
Endpoint : GET /configurations/{configuration_id}/relationships/configuration_interfaces Endpoint : GET /configuration_interfaces/{id} Endpoint : GET /configurations/{configuration_id}/relationships/configuration_interfaces/{id}