Unsupported content This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Script class


Represents a script capable of being executed on a target (server)

Script class APIs

The following tables list the basic APIs, operation APIs, and relationship APIs for the Script class.

Basic APIs

Name

HTTP
method

URI

Description

create

POST

Creates a Script object.

delete

DELETE

Deletes a Script object.

modify

PUT

Modifies a Script object.

search

POST

Searches for Script objects.

Operation APIs

Name

HTTP
method

URI

Description

execute

POST

Executes a script on the specified target

Relationship APIs

The Script class has no relationship APIs.

Script class relationships and attributes

The following tables list the relationships and attributes of the Script class.

Relationships

Name

Type

Multi-
plicity

Description

params

0..*

 

scriptDocument

1

 

tickets

0..*

 

cloudClass

1

Fully-qualified name of the class to which the object belongs

provider

1

Provider that created the object

tags

0..*

Tags associated with the object

Attributes

Name

Type

Multi-
plicity

Description

type
String

1

 

externalID
String

0..1

Identifier used for the object by an external provider

owner
String

0..1

Name of the owner of the object

reconciliationID
String

0..1

Reconciliation identity value for the object from the BMC Atrium CMDB

tokenID
String

0..1

Token identifier

description
String

0..1

Text that describes the object

guid
String

1

Globally unique identifier for the object

labels
String

0..*

 

modifiedDate

0..1

Date the Cloudobject was modified

name
String

1

Human-readable name of the object

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*