CreateManagedServicesSelector Method

Description

Creates a Managed Services Selector in a plan.

HTTP Request

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

URL Parameters

planId

ID of the Managed Services Plan to that will contain the selector.

Type: string

Required: Yes

Body

The body is a JSON structure with the following properties.

credentialIds

Identifiers of the credentials used by the selector when matching resources.

Type: Array of string

Required: Yes

groupIdComparisons

Group identifier comparisons used by the selector when matching resources. Only valid if resourceType is azure-virtual-machine.

Type: Array of ManagedServicesGroupIdComparison objects

Required: No

name

Name of the Managed Services Selector.

Type: string

Required: Yes

regionNames

Regions/locations used by the selector when matching resources.

Type: Array of string

Required: No

resourceIdComparisons

Resource identifier comparisons used by the selector when matching resources.

Type: Array of ManagedServicesResourceIdComparison objects

Required: No

resourceTagComparisons

Resource tag comparisons used by the selector when matching resources.

Type: Array of ManagedServicesResourceTagComparison objects

Required: No

resourceIds

Resource identifiers used by the selector when matching resources.

Type: Array of string

Required: No

resourceType

Type of resources that will be selected by the selector.

Type: string

Valid Values:

  • amazon-ec2-instance

  • amazon-ebs-volume

  • amazon-rds-instance

  • amazon-rds-cluster

  • amazon-documentdb-cluster

  • amazon-lightsail-instance

  • amazon-fsx-filesystem

  • amazon-appstream-fleet

  • amazon-redshift-cluster

  • azure-virtual-machine

  • google-vm-instance

  • google-cloudsql-instance

Required: Yes

selectorCode

Unique code for the Managed Services Selector.

Type: string

Required: No

Default Value: Automatically generated string

Returns

A ManagedServicesSelector object.

Sample Request

Sample Response

Last updated