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 |
|---|---|
TlsCsr |
create(java.lang.String csrId,
TlsCsr tlsCsr)
Creates a new certificate signing request (CSR).
|
void |
create(java.lang.String csrId,
TlsCsr tlsCsr,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Creates a new certificate signing request (CSR).
|
void |
create(java.lang.String csrId,
TlsCsr tlsCsr,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).
|
TlsCsr |
create(java.lang.String csrId,
TlsCsr tlsCsr,
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.
|
TlsCsr |
get(java.lang.String csrId)
Returns information about the specified CSR.
|
void |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Returns information about the specified CSR.
|
void |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.
|
TlsCsr |
get(java.lang.String csrId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.
|
TlsCertificate |
importcsr(java.lang.String csrId,
TlsTrustData tlsTrustData)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
void |
importcsr(java.lang.String csrId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
void |
importcsr(java.lang.String csrId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
TlsCertificate |
importcsr(java.lang.String csrId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.
|
TlsCsrListResult |
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<TlsCsrListResult> 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<TlsCsrListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.
|
TlsCsrListResult |
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.
|
TlsCertificate |
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<TlsCertificate> asyncCallback)
Self-signs the previously generated CSR.
|
void |
selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.
|
TlsCertificate |
selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.
|
TlsCertificate |
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
Creates a new self-signed certificate.
|
void |
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Creates a new self-signed certificate.
|
void |
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.
|
TlsCertificate |
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid,
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 TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsSynchronous 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(java.lang.String csrId,
TlsCsr tlsCsr,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCsr
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void create(java.lang.String csrId,
TlsCsr tlsCsr,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCsr
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)
CsrsSynchronous 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)
CsrsSynchronous 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)
CsrsAsynchronous 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)
CsrsAsynchronous 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 TlsCsr get(java.lang.String csrId)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCsr get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsSynchronous 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<TlsCsr> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCsr
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<TlsCsr> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCsr
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsSynchronous 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,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificate
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,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public TlsCsrListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Csrscursor - 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 TlsCsrListResult 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)
CsrsSynchronous 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 Csrscursor - 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<TlsCsrListResult> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCsrListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Csrscursor - 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<TlsCsrListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCsrListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Csrscursor - 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 TlsCertificate selfsign(java.lang.String csrId, long daysValid)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCertificate selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
selfsign in interface CsrscsrId - CSR this certificate is associated with (required)daysValid - Number of days the certificate will be valid, default 825 days (required)invocationConfig - Configuration for the method invocation.public void selfsign(java.lang.String csrId,
long daysValid,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificate
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<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
selfsign in interface CsrscsrId - 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 TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
CsrsSynchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsSynchronous 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(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
CsrsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CsrsAsynchronous 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_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found