Interface Certificates
-
- All Known Implementing Classes:
CertificatesImpl
public interface CertificatesAn instance of this class provides access to all the operations defined in Certificates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectdownloadByQueueidentifier(String queueIdentifier)Gets a byte array that contains data from an X.509 certificate for a given queue.rx.Observable<Object>downloadByQueueidentifierAsync(String queueIdentifier)Gets a byte array that contains data from an X.509 certificate for a given queue.com.microsoft.rest.ServiceFuture<Object>downloadByQueueidentifierAsync(String queueIdentifier, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Gets a byte array that contains data from an X.509 certificate for a given queue.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>downloadByQueueidentifierWithServiceResponseAsync(String queueIdentifier)Gets a byte array that contains data from an X.509 certificate for a given queue.Objectupload(byte[] body)Uploads a public certificate to Connect Service Bus.rx.Observable<Object>uploadAsync(byte[] body)Uploads a public certificate to Connect Service Bus.com.microsoft.rest.ServiceFuture<Object>uploadAsync(byte[] body, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Uploads a public certificate to Connect Service Bus.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>uploadWithServiceResponseAsync(byte[] body)Uploads a public certificate to Connect Service Bus.
-
-
-
Method Detail
-
upload
Object upload(byte[] body)
Uploads a public certificate to Connect Service Bus.- Parameters:
body- A byte array that contains data for an X.509 certificate.- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
uploadAsync
com.microsoft.rest.ServiceFuture<Object> uploadAsync(byte[] body, com.microsoft.rest.ServiceCallback<Object> serviceCallback)
Uploads a public certificate to Connect Service Bus.- Parameters:
body- A byte array that contains data for an X.509 certificate.serviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
uploadAsync
rx.Observable<Object> uploadAsync(byte[] body)
Uploads a public certificate to Connect Service Bus.- Parameters:
body- A byte array that contains data for an X.509 certificate.- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
uploadWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Object>> uploadWithServiceResponseAsync(byte[] body)
Uploads a public certificate to Connect Service Bus.- Parameters:
body- A byte array that contains data for an X.509 certificate.- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
downloadByQueueidentifier
Object downloadByQueueidentifier(String queueIdentifier)
Gets a byte array that contains data from an X.509 certificate for a given queue.- Parameters:
queueIdentifier- FIFA Unique Identifier with possible system name suffix- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
downloadByQueueidentifierAsync
com.microsoft.rest.ServiceFuture<Object> downloadByQueueidentifierAsync(String queueIdentifier, com.microsoft.rest.ServiceCallback<Object> serviceCallback)
Gets a byte array that contains data from an X.509 certificate for a given queue.- Parameters:
queueIdentifier- FIFA Unique Identifier with possible system name suffixserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
downloadByQueueidentifierAsync
rx.Observable<Object> downloadByQueueidentifierAsync(String queueIdentifier)
Gets a byte array that contains data from an X.509 certificate for a given queue.- Parameters:
queueIdentifier- FIFA Unique Identifier with possible system name suffix- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
downloadByQueueidentifierWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Object>> downloadByQueueidentifierWithServiceResponseAsync(String queueIdentifier)
Gets a byte array that contains data from an X.509 certificate for a given queue.- Parameters:
queueIdentifier- FIFA Unique Identifier with possible system name suffix- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
-