Get-ITGlueExpiration
SYNOPSIS
List all expirations in your account / List all expirations for a particular organization / Retrieve an expiration / Retrieve an expiration for a particular organization
SYNTAX
List (Default)
Get-ITGlueExpiration [-FilterDescription <string>] [-FilterExpirationDate <string>]
[-FilterId <long>] [-FilterOrganizationId <long>] [-FilterRangeExpirationDate <string>]
[-FilterResourceId <long>] [-FilterResourceName <string>] [-FilterResourceTypeName <string>]
[-PageNumber <long>] [-PageSize <long>] [-Sort <string>] [-AllResults] [-Raw]
ByOrganizationById
Get-ITGlueExpiration [-OrganizationId] <long> [-Id] <long> [-Raw]
ByOrganization
Get-ITGlueExpiration [-OrganizationId] <long> [-FilterDescription <string>]
[-FilterExpirationDate <string>] [-FilterId <long>] [-FilterOrganizationId <long>]
[-FilterRangeExpirationDate <string>] [-FilterResourceId <long>] [-FilterResourceName <string>]
[-FilterResourceTypeName <string>] [-PageNumber <long>] [-PageSize <long>] [-Sort <string>]
[-AllResults] [-Raw]
ById
Get-ITGlueExpiration [-Id] <long> [-Raw]
ALIASES
This cmdlet has the following aliases,
- None
DESCRIPTION
Parameter set [ List ] - The Get-ITGlueExpiration cmdlet invokes the GET method of the /expirations endpoint (List all expirations in your account)
Returns a list of expirations for all organizations or for a specified organization.
Example return value:
{ “data”: [ { “id”: “1”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:27.000Z”, “updated-at”: “2019-01-10T12:24:27.000Z”, “resource-id”: 1, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} }, { “id”: “2”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:43.000Z”, “updated-at”: “2019-01-10T12:24:43.000Z”, “resource-id”: 2, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} } ] }
Parameter set [ ByOrganization ] - The Get-ITGlueExpiration cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/expirations endpoint (List all expirations for a particular organization)
Returns a list of expirations for all organizations or for a specified organization.
Example return value:
{ “data”: [ { “id”: “1”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:27.000Z”, “updated-at”: “2019-01-10T12:24:27.000Z”, “resource-id”: 1, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} }, { “id”: “2”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:43.000Z”, “updated-at”: “2019-01-10T12:24:43.000Z”, “resource-id”: 2, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} } ] }
Parameter set [ ById ] - The Get-ITGlueExpiration cmdlet invokes the GET method of the /expirations/{id} endpoint (Retrieve an expiration)
Returns a single expiration with the given ID or a single expiration for a specified organization.
Example return value:
{ “data”: { “id”: “1”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:27.000Z”, “updated-at”: “2019-01-10T12:24:27.000Z”, “resource-id”: 1, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} } }
Parameter set [ ByOrganizationById ] - The Get-ITGlueExpiration cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/expirations/{id} endpoint (Retrieve an expiration for a particular organization)
Returns a single expiration with the given ID or a single expiration for a specified organization.
Example return value:
{ “data”: { “id”: “1”, “type”: “expirations”, “attributes”: { “organization-id”: 1, “organization-name”: “Happy Frog”, “resource-url”: “https://example.com/1/expirations/1”, “description”: “Domain expiration”, “expiration-date”: “2019-02-07T00:00:00.000Z”, “created-at”: “2019-01-10T12:24:27.000Z”, “updated-at”: “2019-01-10T12:24:27.000Z”, “resource-id”: 1, “resource-type”: “Domain”, “resource-type-name”: “Domain”, “resource-name”: “example.com” }, “relationships”: {} } }
EXAMPLES
EXAMPLE 1
Get-ITGlueExpiration
Returns the result of the /expirations endpoint
EXAMPLE 2
Get-ITGlueExpiration -PageNumber 2 -PageSize 10
Returns the second page of 10 items from the /expirations endpoint
EXAMPLE 3
Get-ITGlueExpiration -AllResults
Returns every item from the /expirations endpoint by requesting every page of the results
EXAMPLE 4
Get-ITGlueExpiration -OrganizationId 12345
Returns the result of the /organizations/{organization_id}/relationships/expirations endpoint
EXAMPLE 5
Get-ITGlueExpiration -OrganizationId 12345 -PageNumber 2 -PageSize 10
Returns the second page of 10 items from the /organizations/{organization_id}/relationships/expirations endpoint
EXAMPLE 6
Get-ITGlueExpiration -OrganizationId 12345 -AllResults
Returns every item from the /organizations/{organization_id}/relationships/expirations endpoint by requesting every page of the results
EXAMPLE 7
Get-ITGlueExpiration -Id 12345
Returns the result of the /expirations/{id} endpoint
EXAMPLE 8
Get-ITGlueExpiration -OrganizationId 12345 -Id 12345
Returns the result of the /organizations/{organization_id}/relationships/expirations/{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: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterDescription
Filter by description
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterExpirationDate
Filter by expiration date
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterId
Filter by id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterOrganizationId
Filter by organization id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterRangeExpirationDate
Filter by range expiration date
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterResourceId
Filter by resource id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterResourceName
Filter by resource name
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterResourceTypeName
Filter by resource type name
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
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: ByOrganizationById
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: ''
-OrganizationId
Only required for nested relationships route.
Notes: Must be a valid organization ID in your account.
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases:
- organization_id
ParameterSets:
- Name: ByOrganizationById
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
- Name: ByOrganization
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageNumber
Defines the page number to return
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
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: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
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: ‘id’, ‘organization_id’, ‘expiration_date’, ‘created_at’, ‘updated_at’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
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 /expirations Endpoint : GET /organizations/{organization_id}/relationships/expirations Endpoint : GET /expirations/{id} Endpoint : GET /organizations/{organization_id}/relationships/expirations/{id}