GetManagedServicesSelector Method

Description

Retrieves information for a Managed Services Selector.

HTTP Request

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

URL Parameters

planId

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

Type: string

Required: Yes

selectorId

ID of the Managed Services Selector to retrieve.

Type: string

Required: Yes

Query Parameters

isIncludeDeleted

Indicates whether deleted selectors can be returned.

Type: boolean

Required: No

Default: false

Returns

A ManagedServicesSelector object.

Sample Request

GET /api/ManagedServices/Plans/plan-00000001/Selectors/selector-00000001 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