Sms Storage Manager Register Provider Task

Sms Storage Manager Register Provider Task

Register the provider and issue a sync operation on it.

Required privileges: StorageViews.ConfigureService

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/RegisterProvider_Task
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 SmsStorageManager/{moId}.

string
release
Required

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


Request Body
RegisterProviderRequestType of type(s) application/json
Required

Show optional properties

{
    "providerSpec": {
        "name": "string"
    }
}
{
    "providerSpec": {
        "_typeName": "string",
        "name": "string",
        "description": "string"
    }
}
providerSpec
Required

Specification for Storage Monitoring Service (SMS) providers.

This structure may be used only with operations rendered under /sms.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}

500

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.

Returns MethodFault of type(s) application/json
This response body class contains all of the following: Any
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}
faultCause
Optional

The base data object type for all the object model faults that an application might handle.

faultMessage
Optional

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.


Storage Monitoring Service Operations
POST
Sms Storage Manager Query Array
POST
Sms Storage Manager Query Array Associated With Lun
POST
Sms Storage Manager Query Associated Backing Storage Pool
POST
Sms Storage Manager Query Datastore Backing Pool Mapping
POST
Sms Storage Manager Query Datastore Capability
POST
Sms Storage Manager Query Drs Migration Capability For Performance
POST
Sms Storage Manager Query Drs Migration Capability For Performance Ex
POST
Sms Storage Manager Query Fault Domain
POST
Sms Storage Manager Query File System Associated With Array
POST
Sms Storage Manager Query Host Associated With Lun
POST
Sms Storage Manager Query Lun Associated With Array
POST
Sms Storage Manager Query Lun Associated With Port
POST
Sms Storage Manager Query Nfs Datastore Associated With File System
POST
Sms Storage Manager Query Port Associated With Array
POST
Sms Storage Manager Query Port Associated With Lun
POST
Sms Storage Manager Query Port Associated With Processor
POST
Sms Storage Manager Query Processor Associated With Array
POST
Sms Storage Manager Query Provider
POST
Sms Storage Manager Query Replication Group Info
POST
Sms Storage Manager Query Storage Container
POST
Sms Storage Manager Query Vmfs Datastore Associated With Lun
POST
Sms Storage Manager Register Provider Task
POST
Sms Storage Manager Sms Refresh CA Certificates And CR Ls Task
POST
Sms Storage Manager Unregister Provider Task