possible to add custom functionality to Cisco UCS
Director.
Cisco UCS Director PowerShell console is a Cisco-
developed application that provides a PowerShell
interface to the Cisco UCS Director REST API. The
console provides a set of PowerShell cmdlets wrapped in
a module to internally invoke the REST APIs over HTTP.
Each cmdlet performs a single operation. Cmdlets can be
chained together to accomplish more advanced
automation and data center management tasks. Figure 9-
12 shows the relationship between the PowerShell
console, Cisco UCS Director, and the infrastructure that
is being managed by it.
Figure 9-12 Cisco UCS Director PowerShell Console
Cisco UCS Director offers a REST API that enables
applications to consume or manipulate the data stored in
Cisco UCS Director. Applications use HTTP or HTTPS
requests from the REST API to perform
Create/Read/Update/Delete (CRUD) operations on
Cisco UCS Director resources. With an API call, a
developer can execute Cisco UCS Director workflows and
change the configuration of switches, adapters, policies,
and any other hardware and software components. The
API accepts and returns HTTP messages that contain
JavaScript Object Notation (JSON) or Extensible
Markup Language (XML) documents.
To access the Cisco UCS Director REST API, a valid user
account and an API access key are needed. Cisco UCS