Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. 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

csm/Script

Creates a Script object.

delete

DELETE

csm/Script/guid

Deletes a Script object.

modify

PUT

csm/Script/guid

Modifies a Script object.

search

POST

csm/Script/search

Searches for Script objects.

Operation APIs

Name

HTTP
method

URI

Description

execute

POST

csm/Script/guid/execute

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

NameValuePair

0..*

scriptDocument

ScriptDocument

1

cloudClass

CloudClass

1

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

provider

Provider

1

Provider that created the object

tags

Tag

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

name

String

1

Human-readable name of the object

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments