Sms Storage Manager Register Provider Task
Register the provider and issue a sync operation on it.
Required privileges: StorageViews.ConfigureService
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 SmsStorageManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"RegisterProviderRequestType Object"
SmsProviderSpec containing parameters needed to register the provider
InvalidArgument: if invalid input is provided.
AlreadyExists: if the provider already exists.
ProviderRegistrationFault: if an error is encountered during the registration operation. For instance, IncorrectUsernamePassword is thrown if the login credentials are incorrect. CertificateNotTrusted is thrown if the provider identifies itself with an untrusted certificate.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/RegisterProvider_Task