public class LicensesStub extends com.vmware.vapi.internal.bindings.Stub implements Licenses
Licenses
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
LicensesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
LicensesStub(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 |
---|---|
License |
create(License license)
This will add a license key to the system.
|
void |
create(License license,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
This will add a license key to the system.
|
void |
create(License license,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will add a license key to the system.
|
License |
create(License license,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will add a license key to the system.
|
void |
delete(java.lang.String licenseKey)
Remove a license identified by the license-key.
|
void |
delete(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove a license identified by the license-key.
|
void |
delete(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove a license identified by the license-key.
|
void |
delete(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove a license identified by the license-key.
|
void |
delete0(License license)
This will delete the license key identified in the request body by
\"license_key\" and its properties from the system.
|
void |
delete0(License license,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
This will delete the license key identified in the request body by
\"license_key\" and its properties from the system.
|
void |
delete0(License license,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will delete the license key identified in the request body by
\"license_key\" and its properties from the system.
|
void |
delete0(License license,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will delete the license key identified in the request body by
\"license_key\" and its properties from the system.
|
License |
get()
Return the Enterprise License.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Return the Enterprise License.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the Enterprise License.
|
License |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the Enterprise License.
|
License |
getlicensebykey(java.lang.String licenseKey)
Get license properties for license identified by the license-key.
|
void |
getlicensebykey(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Get license properties for license identified by the license-key.
|
void |
getlicensebykey(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get license properties for license identified by the license-key.
|
License |
getlicensebykey(java.lang.String licenseKey,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get license properties for license identified by the license-key.
|
LicensesListResult |
list()
Returns all licenses.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<LicensesListResult> asyncCallback)
Returns all licenses.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<LicensesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all licenses.
|
LicensesListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all licenses.
|
License |
update(License license)
Assign an Updated Enterprise License Key.
|
void |
update(License license,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Assign an Updated Enterprise License Key.
|
void |
update(License license,
com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Assign an Updated Enterprise License Key.
|
License |
update(License license,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Assign an Updated Enterprise License Key.
|
public LicensesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public LicensesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public License create(License license)
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public License create(License license, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(License license, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Licenses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(License license, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String licenseKey)
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String licenseKey, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String licenseKey, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Licenses
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
public void delete(java.lang.String licenseKey, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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
public void delete0(License license)
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete0(License license, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete0(License license, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Licenses
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
public void delete0(License license, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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
public License get()
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public License get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Licenses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public License getlicensebykey(java.lang.String licenseKey)
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
getlicensebykey
in interface Licenses
licenseKey
- (required)public License getlicensebykey(java.lang.String licenseKey, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
getlicensebykey
in interface Licenses
licenseKey
- (required)invocationConfig
- Configuration for the method invocation.public void getlicensebykey(java.lang.String licenseKey, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Licenses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
getlicensebykey
in interface Licenses
licenseKey
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void getlicensebykey(java.lang.String licenseKey, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
getlicensebykey
in interface Licenses
licenseKey
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public LicensesListResult list()
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public LicensesListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<LicensesListResult> asyncCallback)
Licenses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LicensesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void list(com.vmware.vapi.bindings.client.AsyncCallback<LicensesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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.LicensesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public License update(License license)
Licenses
Synchronous method overload. Result of the invocation will be reported as a method return value.
public License update(License license, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(License license, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback)
Licenses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(License license, com.vmware.vapi.bindings.client.AsyncCallback<License> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Licenses
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.License
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found