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)
VendorTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface VendorTemplates
serviceId
- (required)vendorTemplate
- (required)public VendorTemplate create(java.lang.String serviceId, VendorTemplate vendorTemplate, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplates
Synchronous 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 VendorTemplates
serviceId
- (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)
VendorTemplates
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
create
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
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
create
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface VendorTemplates
serviceId
- (required)vendorTemplateId
- (required)public void delete(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplates
Synchronous 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 VendorTemplates
serviceId
- (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)
VendorTemplates
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
delete
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
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
delete
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface VendorTemplates
serviceId
- (required)vendorTemplateId
- (required)public VendorTemplate get(java.lang.String serviceId, java.lang.String vendorTemplateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VendorTemplates
Synchronous 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 VendorTemplates
serviceId
- (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)
VendorTemplates
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
get
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
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
get
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
Synchronous 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 VendorTemplates
serviceId
- (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)
VendorTemplates
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
list
in interface VendorTemplates
serviceId
- (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)
VendorTemplates
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
list
in interface VendorTemplates
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.