Interface Certificates
-
- All Known Implementing Classes:
CertificatesImpl
public interface Certificates
An 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 void
add(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.void
add(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.rx.Observable<Void>
addAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.rx.Observable<Void>
addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(CertificateAddParameter certificate, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>>
addWithServiceResponseAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>>
addWithServiceResponseAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.void
cancelDeletion(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account.void
cancelDeletion(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account.rx.Observable<Void>
cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account.rx.Observable<Void>
cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account.com.microsoft.rest.ServiceFuture<Void>
cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Cancels a failed deletion of a Certificate from the specified Account.com.microsoft.rest.ServiceFuture<Void>
cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Cancels a failed deletion of a Certificate from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateCancelDeletionHeaders>>
cancelDeletionWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateCancelDeletionHeaders>>
cancelDeletionWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account.void
delete(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account.void
delete(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account.rx.Observable<Void>
deleteAsync(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account.rx.Observable<Void>
deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Certificate from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Certificate from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>>
deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>>
deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account.Certificate
get(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.Certificate
get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.rx.Observable<Certificate>
getAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.rx.Observable<Certificate>
getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.com.microsoft.rest.ServiceFuture<Certificate>
getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate.com.microsoft.rest.ServiceFuture<Certificate>
getAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>>
getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>>
getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.com.microsoft.azure.PagedList<Certificate>
list()
Lists all of the Certificates that have been added to the specified Account.com.microsoft.azure.PagedList<Certificate>
list(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.azure.Page<Certificate>>
listAsync()
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.azure.Page<Certificate>>
listAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.rest.ServiceFuture<List<Certificate>>
listAsync(CertificateListOptions certificateListOptions, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.rest.ServiceFuture<List<Certificate>>
listAsync(com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.azure.PagedList<Certificate>
listNext(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.azure.PagedList<Certificate>
listNext(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.azure.Page<Certificate>>
listNextAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.azure.Page<Certificate>>
listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.rest.ServiceFuture<List<Certificate>>
listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions, com.microsoft.rest.ServiceFuture<List<Certificate>> serviceFuture, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.com.microsoft.rest.ServiceFuture<List<Certificate>>
listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<Certificate>> serviceFuture, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>>
listWithServiceResponseAsync()
Lists all of the Certificates that have been added to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>>
listWithServiceResponseAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.
-
-
-
Method Detail
-
add
void add(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
rx.Observable<Void> addAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
void add(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.certificateAddOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.certificateAddOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
rx.Observable<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.certificateAddOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account.- Parameters:
certificate
- The Certificate to be added.certificateAddOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<Certificate> list()
Lists all of the Certificates that have been added to the specified Account.- Returns:
- the PagedList<Certificate> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
com.microsoft.rest.ServiceFuture<List<Certificate>> listAsync(com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync()
Lists all of the Certificates that have been added to the specified Account.- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listWithServiceResponseAsync()
Lists all of the Certificates that have been added to the specified Account.- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<Certificate> list(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
certificateListOptions
- Additional parameters for the operation- Returns:
- the PagedList<Certificate> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
com.microsoft.rest.ServiceFuture<List<Certificate>> listAsync(CertificateListOptions certificateListOptions, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
certificateListOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
certificateListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listWithServiceResponseAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
certificateListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletion
void cancelDeletion(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
cancelDeletionAsync
com.microsoft.rest.ServiceFuture<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletionAsync
rx.Observable<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateCancelDeletionHeaders>> cancelDeletionWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletion
void cancelDeletion(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.certificateCancelDeletionOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
cancelDeletionAsync
com.microsoft.rest.ServiceFuture<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.certificateCancelDeletionOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletionAsync
rx.Observable<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.certificateCancelDeletionOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateCancelDeletionHeaders>> cancelDeletionWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)
Cancels a failed deletion of a Certificate from the specified Account. If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate being deleted.certificateCancelDeletionOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
void delete(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
rx.Observable<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>> deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
void delete(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.certificateDeleteOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.certificateDeleteOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
rx.Observable<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.certificateDeleteOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>> deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)
Deletes a Certificate from the specified Account. You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to be deleted.certificateDeleteOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
Certificate get(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.- Returns:
- the Certificate object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.- Returns:
- the observable to the Certificate object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.- Returns:
- the observable to the Certificate object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
Certificate get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.certificateGetOptions
- Additional parameters for the operation- Returns:
- the Certificate object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.certificateGetOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.certificateGetOptions
- Additional parameters for the operation- Returns:
- the observable to the Certificate object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate.- Parameters:
thumbprintAlgorithm
- The algorithm used to derive the thumbprint parameter. This must be sha1.thumbprint
- The thumbprint of the Certificate to get.certificateGetOptions
- Additional parameters for the operation- Returns:
- the observable to the Certificate object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<Certificate> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
com.microsoft.rest.ServiceFuture<List<Certificate>> listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<Certificate>> serviceFuture, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
rx.Observable<com.microsoft.azure.Page<Certificate>> listNextAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.certificateListNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<Certificate> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
com.microsoft.rest.ServiceFuture<List<Certificate>> listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions, com.microsoft.rest.ServiceFuture<List<Certificate>> serviceFuture, com.microsoft.azure.ListOperationCallback<Certificate> serviceCallback)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.certificateListNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
rx.Observable<com.microsoft.azure.Page<Certificate>> listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.certificateListNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.certificateListNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-