apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
CsrsStub(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 |
---|---|
Csr |
create(Csr csr)
Creates a new certificate signing request (CSR).
|
void |
create(Csr csr,
com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback)
Creates a new certificate signing request (CSR).
|
void |
create(Csr csr,
com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).
|
Csr |
create(Csr csr,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).
|
void |
delete(java.lang.String csrId)
Removes a specified CSR.
|
void |
delete(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes a specified CSR.
|
void |
delete(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.
|
void |
delete(java.lang.String csrId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.
|
Csr |
get(java.lang.String csrId)
Returns information about the specified CSR.
|
void |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback)
Returns information about the specified CSR.
|
void |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.
|
Csr |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.
|
CertificateList |
importcsr(java.lang.String csrId,
TrustObjectData trustObjectData)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
void |
importcsr(java.lang.String csrId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
void |
importcsr(java.lang.String csrId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
CertificateList |
importcsr(java.lang.String csrId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
CsrList |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about all of the CSRs that have been created.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<CsrList> asyncCallback)
Returns information about all of the CSRs that have been created.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<CsrList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.
|
CsrList |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.
|
Certificate |
selfsign(java.lang.String csrId,
long daysValid)
Self-signs the previously generated CSR.
|
void |
selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Self-signs the previously generated CSR.
|
void |
selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.
|
Certificate |
selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.
|
Certificate |
selfsign0(CsrWithDaysValid csrWithDaysValid)
Creates a new self-signed certificate.
|
void |
selfsign0(CsrWithDaysValid csrWithDaysValid,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Creates a new self-signed certificate.
|
void |
selfsign0(CsrWithDaysValid csrWithDaysValid,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.
|
Certificate |
selfsign0(CsrWithDaysValid csrWithDaysValid,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.
|
public CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public Csr create(Csr csr)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Csr create(Csr csr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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(Csr csr, com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Csr
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(Csr csr, com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.Csr
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 csrId)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Csrs
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 csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 Csr get(java.lang.String csrId)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Csr get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Csr
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<Csr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.Csr
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public CertificateList importcsr(java.lang.String csrId, TrustObjectData trustObjectData)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CertificateList importcsr(java.lang.String csrId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 importcsr(java.lang.String csrId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void importcsr(java.lang.String csrId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public CsrList list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Csrs
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public CsrList list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 Csrs
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<CsrList> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CsrList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Csrs
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<CsrList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.CsrList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Csrs
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public Certificate selfsign(java.lang.String csrId, long daysValid)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Certificate selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
selfsign
in interface Csrs
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public Certificate selfsign0(CsrWithDaysValid csrWithDaysValid)
Csrs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Certificate selfsign0(CsrWithDaysValid csrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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 selfsign0(CsrWithDaysValid csrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Csrs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void selfsign0(CsrWithDaysValid csrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Csrs
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.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found