ListManagedServicesSelectors Method

Description

Retrieves a list of Managed Services Selectors from a plan.

HTTP Request

GET https://api.skeddly.com/api/ManagedServices/Plans/<planId>/Selectors

URL Parameters

planId

ID of the Managed Services Plan to that contains the selectors to retrieve.

Type: string

Required: Yes

Query Parameters

filter.isIncludeDeleted

Indicates whether deleted plans can be returned.

Type: boolean

Required: No

Default: false

Returns

Array of ManagedServicesSelector object.

Sample Request

GET /api/ManagedServices/Plans/plan-00000001/Selectors HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>

Sample Response

[
    {
        "planId": "plan-00000001",
        "selectorId": "selector-00000001",
        "name": "Development EC2 Instances",
        
        "state": "active",
        "syncState": "ready",
        
        "createdDate": "2023-02-13T00:00:00Z",
        "lastModifiedDate": "2023-02-14T00:00:00Z",
        "lastModifiedBy": "u-00000001",
        
        "selectorCode": "0000000000000000",
        
        "credentialIds": [
            "cred-00000001",
            "cred-00000002"
        ],
        "regionNames": null,
        
        "resourceType": "amazon-ec2-instance",
        
        "resourceTagComparisons": [
            {
                "tagName": "start-schedule",
                "compareType": "equals",
                "tagValue": "daily-0800"
            }
        ]
    }
]

Last updated