Class CertificatesImpl
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.implementation.CertificatesImpl
-
- All Implemented Interfaces:
Certificates
public class CertificatesImpl extends Object implements Certificates
An instance of this class provides access to all the operations defined in Certificates.
-
-
Constructor Summary
Constructors Constructor Description CertificatesImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of CertificatesImpl.
-
Method Summary
All Methods Instance Methods Concrete 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>>
listNextSinglePageAsync(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>>
listNextSinglePageAsync(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>>
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>>
listSinglePageAsync()
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>>
listSinglePageAsync(CertificateListOptions certificateListOptions)
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.
-
-
-
Constructor Detail
-
CertificatesImpl
public CertificatesImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of CertificatesImpl.- Parameters:
retrofit
- the Retrofit instance built from a Retrofit Builder.client
- the instance of the service client containing this operation class.
-
-
Method Detail
-
add
public void add(CertificateAddParameter certificate)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
add
in interfaceCertificates
- 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
public com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addAsync
in interfaceCertificates
- 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
public rx.Observable<Void> addAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addAsync
in interfaceCertificates
- Parameters:
certificate
- The Certificate to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addWithServiceResponseAsync
in interfaceCertificates
- Parameters:
certificate
- The Certificate to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
public void add(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
add
in interfaceCertificates
- 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
public com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addAsync
in interfaceCertificates
- 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
public rx.Observable<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addAsync
in interfaceCertificates
- 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
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)
Adds a Certificate to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
addWithServiceResponseAsync
in interfaceCertificates
- 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
public com.microsoft.azure.PagedList<Certificate> list()
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
list
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listAsync
in interfaceCertificates
- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
public rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync()
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listAsync
in interfaceCertificates
- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listWithServiceResponseAsync
in interfaceCertificates
- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listSinglePageAsync()
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Returns:
- the PagedList<Certificate> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public com.microsoft.azure.PagedList<Certificate> list(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
list
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listAsync
in interfaceCertificates
- 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
public rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listAsync
in interfaceCertificates
- Parameters:
certificateListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listWithServiceResponseAsync
in interfaceCertificates
- Parameters:
certificateListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<Certificate> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listSinglePageAsync(CertificateListOptions certificateListOptions)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. ServiceResponseWithHeaders, CertificateListHeaders> * @param certificateListOptions Additional parameters for the operation - Returns:
- the PagedList<Certificate> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
cancelDeletion
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletion
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionWithServiceResponseAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletion
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
cancelDeletionWithServiceResponseAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
delete
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteWithServiceResponseAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
delete
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
deleteWithServiceResponseAsync
in interfaceCertificates
- 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
public Certificate get(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
get
in interfaceCertificates
- 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
public com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getAsync
in interfaceCertificates
- 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
public rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getAsync
in interfaceCertificates
- 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
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getWithServiceResponseAsync
in interfaceCertificates
- 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
public Certificate get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
get
in interfaceCertificates
- 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
public com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions, com.microsoft.rest.ServiceCallback<Certificate> serviceCallback)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getAsync
in interfaceCertificates
- 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
public rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getAsync
in interfaceCertificates
- 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
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)
Gets information about the specified Certificate. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
getWithServiceResponseAsync
in interfaceCertificates
- 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
public com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNext
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextAsync
in interfaceCertificates
- 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
public rx.Observable<com.microsoft.azure.Page<Certificate>> listNextAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextWithServiceResponseAsync
in interfaceCertificates
- 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
-
listNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listNextSinglePageAsync(String nextPageLink)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<Certificate> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
public com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNext
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextAsync
in interfaceCertificates
- 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
public 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. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.- Specified by:
listNextWithServiceResponseAsync
in interfaceCertificates
- 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
-
listNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Certificate>,CertificateListHeaders>> listNextSinglePageAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions)
Lists all of the Certificates that have been added to the specified Account. Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. ServiceResponseWithHeaders, CertificateListHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , CertificateListHeaders> * @param certificateListNextOptions Additional parameters for the operation - Returns:
- the PagedList<Certificate> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-