public class VendorTemplatesStub extends com.vmware.vapi.internal.bindings.Stub implements VendorTemplates
VendorTemplates
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
VendorTemplatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VendorTemplatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| 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.
|
public VendorTemplatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public VendorTemplatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public VendorTemplate create(java.lang.String serviceId, VendorTemplate vendorTemplate)
VendorTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface VendorTemplatesserviceId - (required)vendorTemplate - (required)public VendorTemplate create(java.lang.String serviceId, VendorTemplate vendorTemplate, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface VendorTemplatesserviceId - (required)vendorTemplate - (required)invocationConfig - Configuration for the method invocation.public void create(java.lang.String serviceId,
VendorTemplate vendorTemplate,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
VendorTemplatesAsynchronous 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
create in interface VendorTemplatesserviceId - (required)vendorTemplate - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String serviceId,
VendorTemplate vendorTemplate,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplatesAsynchronous 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
create in interface VendorTemplatesserviceId - (required)vendorTemplate - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String serviceId,
java.lang.String vendorTemplateId)
VendorTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)public void delete(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VendorTemplatesAsynchronous 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
delete in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
VendorTemplatesAsynchronous 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
delete in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public VendorTemplate get(java.lang.String serviceId, java.lang.String vendorTemplateId)
VendorTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)public VendorTemplate get(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String serviceId,
java.lang.String vendorTemplateId,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplate> asyncCallback)
VendorTemplatesAsynchronous 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
get in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
VendorTemplatesAsynchronous 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
get in interface VendorTemplatesserviceId - (required)vendorTemplateId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public VendorTemplateListResult list(java.lang.String serviceId, java.lang.String vendorTemplateName)
VendorTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface VendorTemplatesserviceId - (required)vendorTemplateName - Name of vendor template (optional)public VendorTemplateListResult list(java.lang.String serviceId, java.lang.String vendorTemplateName, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface VendorTemplatesserviceId - (required)vendorTemplateName - Name of vendor template (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String serviceId,
java.lang.String vendorTemplateName,
com.vmware.vapi.bindings.client.AsyncCallback<VendorTemplateListResult> asyncCallback)
VendorTemplatesAsynchronous 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
list in interface VendorTemplatesserviceId - (required)vendorTemplateName - Name of vendor template (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
VendorTemplatesAsynchronous 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
list in interface VendorTemplatesserviceId - (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.