Service - SecondaryCredentials

Class
VMware.Hv.SecondaryCredentials
See also
MapEntry, SecondaryCredentialsDeleteSpec, SecondaryCredentialsId, SecondaryCredentialsInfo, SecondaryCredentialsSpec, UserOrGroupId
Since
Horizon 7.7


Service Description

Service Interface for SecondaryCredentials Setting.

Methods

Methods defined in this Service
SecondaryCredentials_Create, SecondaryCredentials_Delete, SecondaryCredentials_Get, SecondaryCredentials_List, SecondaryCredentials_Update

SecondaryCredentials_Create

Create a new Secondary Credentials Setting.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management privilege is required to create Secondary Credentials.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SecondaryCredentials used to make the method call.
specSecondaryCredentialsSpec

The Secondary Credentials Spec

Return Value

Type Description
SecondaryCredentialsIdid

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Events

Event Description
VLSI_SECONDARY_CREDENTIALS_CREATED if Secondary Credentials creation succeeds.
VLSI_SECONDARY_CREDENTIALS_CREATE_FAILED if Secondary Credentials creation fails.

Show WSDL type definition



SecondaryCredentials_Delete

Delete a given SecondaryCredentials Setting. Either of id or spec needs to be provided. If id and spec both are provided then delete happens as per id.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management privilege is required to delete Secondary Credentials.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SecondaryCredentials used to make the method call.
idSecondaryCredentialsId

The entityId of the SecondaryCredentials to be deleted.
  • Optional parameter. If not specifing any value, this should be set to null.
specSecondaryCredentialsDeleteSpec

The specification for deleting the SecondaryCredentials.
  • Optional parameter. If not specifing any value, this should be set to null.

Return Value

Type Description
None

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Events

Event Description
VLSI_SECONDARY_CREDENTIALS_DELETED if the SecondaryCredentials is successfully deleted.
VLSI_SECONDARY_CREDENTIALS_DELETE_FAILED if the SecondaryCredentials deletion failed.

Show WSDL type definition



SecondaryCredentials_Get

Get a SecondaryCredentials Setting by Id.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration view privilege is required to get Secondary Credentials.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SecondaryCredentials used to make the method call.
idSecondaryCredentialsId

The entityId of the Secondary Credentials to get.

Return Value

Type Description
SecondaryCredentialsInforequested SecondaryCredentialsInfo entity

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition



SecondaryCredentials_List

List the configured Secondary Credentials for given user.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration view privilege is required to list Secondary Credentials.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SecondaryCredentials used to make the method call.
ownerIdUserOrGroupId

The UserOrGroupId of the owner.

Return Value

Type Description
SecondaryCredentialsInfo[]requested array of SecondaryCredentialsInfo entity.

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition



SecondaryCredentials_Update

Update the SecondaryCredentials with the set of attributes in the map.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management privilege is required to update Secondary Credentials.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SecondaryCredentials used to make the method call.
idSecondaryCredentialsId

The entityId of the SecondaryCredentials to be updated.
updatesMapEntry[]

The key-value pairs describing attributes to be updated.

Return Value

Type Description
None

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Events

Event Description
VLSI_SECONDARY_CREDENTIALS_UPDATED for each SecondaryCredentials attribute that was updated.
VLSI_SECONDARY_CREDENTIALS_UPDATE_FAILED if SecondaryCredentials update failed.

Show WSDL type definition