public interface VendorTemplates extends com.vmware.vapi.bindings.Service, VendorTemplatesTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
VendorTemplate |
create(java.lang.String serviceId,
VendorTemplate vendorTemplate)
Adds a new vendor template.
|
void |
create(java.lang.String serviceId,
VendorTemplate vendorTemplate,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
Adds a new vendor template.
|
void |
create(java.lang.String serviceId,
VendorTemplate vendorTemplate,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new vendor template.
|
VendorTemplate |
create(java.lang.String serviceId,
VendorTemplate vendorTemplate,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new vendor template.
|
void |
delete(java.lang.String serviceId,
java.lang.String vendorTemplateId)
Delete vendor template information for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete vendor template information for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete vendor template information for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete vendor template information for a given service.
|
VendorTemplate |
get(java.lang.String serviceId,
java.lang.String vendorTemplateId)
Returns detailed vendor template information for a given service.
|
void |
get(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
Returns detailed vendor template information for a given service.
|
void |
get(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed vendor template information for a given service.
|
VendorTemplate |
get(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed vendor template information for a given service.
|
VendorTemplateListResult |
list(java.lang.String serviceId,
java.lang.String vendorTemplateName)
List all vendor templates of a service.
|
void |
list(java.lang.String serviceId,
java.lang.String vendorTemplateName,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplateListResult> asyncCallback)
List all vendor templates of a service.
|
void |
list(java.lang.String serviceId,
java.lang.String vendorTemplateName,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplateListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all vendor templates of a service.
|
VendorTemplateListResult |
list(java.lang.String serviceId,
java.lang.String vendorTemplateName,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all vendor templates of a service.
|
VendorTemplate create(java.lang.String serviceId, VendorTemplate vendorTemplate)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)vendorTemplate
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundVendorTemplate create(java.lang.String serviceId, VendorTemplate vendorTemplate, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceId
- (required)vendorTemplate
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid create(java.lang.String serviceId, VendorTemplate vendorTemplate, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.VendorTemplate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplate
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String serviceId, VendorTemplate vendorTemplate, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.VendorTemplate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplate
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String serviceId, java.lang.String vendorTemplateId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)vendorTemplateId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceId
- (required)vendorTemplateId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.VendorTemplate get(java.lang.String serviceId, java.lang.String vendorTemplateId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)vendorTemplateId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundVendorTemplate get(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceId
- (required)vendorTemplateId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.VendorTemplate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.VendorTemplate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.VendorTemplateListResult list(java.lang.String serviceId, java.lang.String vendorTemplateName)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)vendorTemplateName
- Name of vendor template (optional)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundVendorTemplateListResult list(java.lang.String serviceId, java.lang.String vendorTemplateName, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceId
- (required)vendorTemplateName
- Name of vendor template (optional)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(java.lang.String serviceId, java.lang.String vendorTemplateName, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplateListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.VendorTemplateListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateName
- Name of vendor template (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String serviceId, java.lang.String vendorTemplateName, com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplateListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.VendorTemplateListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)vendorTemplateName
- Name of vendor template (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.