Host System Acquire Cim Services Ticket

Host System Acquire Cim Services Ticket

Creates and returns a credential used to establish a remote connection to a Web Based Management (CIM) interface.

Valid only when ESXi wbem authentication mode is set to password. The ticket provides the port for the service and sslThumbprint should be used by client to validate ssl connection. This ticket is valid for 2 minutes then will expire and is non-renewable.

Required privileges: Host.Cim.CimInteraction

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostSystem/{moId}/AcquireCimServicesTicket
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HostServiceTicket of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "host": "string",
    "port": 0,
    "sslThumbprint": "string",
    "service": "string",
    "serviceVersion": "string",
    "sessionId": "string"
}
string
host
Optional

The name of the host providing the service for which the ticket applies.

If omitted, then the client uses the host name for the server that issued the ticket.

integer As int32 As int32
port
Optional

Access to some services is made possible by connecting to a port on a server.

If the service for which a ticket is issued is available on a particular port, that port number is specified with this property. If omitted, except in the case of connecting to CIM interfaces, the port number for the service that issued the ticket is used. In the case of connecting to a CIM interface the standard well known port for the particular service will be used for the connection.

string
sslThumbprint
Optional

The expected thumbprint of the SSL cert of the host to which we are connecting.

string
service
Required

The name of the service to which to connect.

string
serviceVersion
Required

A dot-separated string identifying the service protocol version.

For example, 1.0 is used for NFC hosted by vpxa on ESX 2.5, and 1.1 is used for NFC hosted by hostd on ESX 3.0.

string As password As password
sessionId
Required

An identifying string for the session created for the ticketed connection.

This is used by the host service to identify the operations permitted within the session.


Virtual Infrastructure Operations
POST
Host System Acquire Cim Services Ticket
POST
Host System Configure Crypto Key
POST
Host System Destroy Task
POST
Host System Disconnect Host Task
POST
Host System Enable Crypto
POST
Host System Enter Lockdown Mode
POST
Host System Enter Maintenance Mode Task
POST
Host System Exit Lockdown Mode
POST
Host System Exit Maintenance Mode Task
GET
Host System Get Alarm Actions Enabled
GET
Host System Get Answer File Validation Result
GET
Host System Get Answer File Validation State
GET
Host System Get Available Field
GET
Host System Get Capability
GET
Host System Get Compliance Check Result
GET
Host System Get Compliance Check State
GET
Host System Get Config
GET
Host System Get Config Issue
GET
Host System Get Config Manager
GET
Host System Get Config Status
GET
Host System Get Custom Value
GET
Host System Get Datastore
GET
Host System Get Datastore Browser
GET
Host System Get Declared Alarm State
GET
Host System Get Disabled Method
GET
Host System Get Effective Role
GET
Host System Get Hardware
GET
Host System Get Licensable Resource
GET
Host System Get Name
GET
Host System Get Network
GET
Host System Get Overall Status
GET
Host System Get Parent
GET
Host System Get Permission
GET
Host System Get Precheck Remediation Result
GET
Host System Get Recent Task
GET
Host System Get Remediation Result
GET
Host System Get Remediation State
GET
Host System Get Runtime
GET
Host System Get Summary
GET
Host System Get System Resources
GET
Host System Get Tag
GET
Host System Get Triggered Alarm State
GET
Host System Get Value
GET
Host System Get Vm
POST
Host System Power Down Host To Stand By Task
POST
Host System Power Up Host From Stand By Task
POST
Host System Prepare Crypto
POST
Host System Query Host Connection Info
POST
Host System Query Memory Overhead
POST
Host System Query Memory Overhead Ex
POST
Host System Query Product Locker Location
POST
Host System Query Tpm Attestation Report
POST
Host System Reboot Host Task
POST
Host System Reconfigure Host For DAS Task
POST
Host System Reconnect Host Task
POST
Host System Reload
POST
Host System Rename Task
POST
Host System Retrieve Free Epc Memory
POST
Host System Retrieve Hardware Uptime
POST
Host System Set Custom Value
POST
Host System Shutdown Host Task
POST
Host System Update Flags
POST
Host System Update Ipmi
POST
Host System Update Product Locker Location Task
POST
Host System Update System Resources
POST
Host System Update System Swap Configuration