Certificates Interface

public interface Certificates

An instance of this class provides access to all the operations defined in Certificates.

Method Summary

Modifier and Type Method and Description
abstract void add(CertificateAddParameter certificate)

Adds a Certificate to the specified Account.

abstract void add(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)

Adds a Certificate to the specified Account.

abstract rx.Observable<Void> addAsync(CertificateAddParameter certificate)

Adds a Certificate to the specified Account.

abstract rx.Observable<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)

Adds a Certificate to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions, ServiceCallback<Void> serviceCallback)

Adds a Certificate to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(CertificateAddParameter certificate, ServiceCallback<Void> serviceCallback)

Adds a Certificate to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate)

Adds a Certificate to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateAddHeaders>> addWithServiceResponseAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions)

Adds a Certificate to the specified Account.

abstract void cancelDeletion(String thumbprintAlgorithm, String thumbprint)

Cancels a failed deletion of a Certificate from the specified Account.

abstract void cancelDeletion(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)

Cancels a failed deletion of a Certificate from the specified Account.

abstract rx.Observable<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint)

Cancels a failed deletion of a Certificate from the specified Account.

abstract rx.Observable<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions)

Cancels a failed deletion of a Certificate from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions, ServiceCallback<Void> serviceCallback)

Cancels a failed deletion of a Certificate from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback<Void> serviceCallback)

Cancels a failed deletion of a Certificate from the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateCancelDeletionHeaders>> cancelDeletionWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)

Cancels a failed deletion of a Certificate from the specified Account.

abstract 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.

abstract void delete(String thumbprintAlgorithm, String thumbprint)

Deletes a Certificate from the specified Account.

abstract void delete(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)

Deletes a Certificate from the specified Account.

abstract rx.Observable<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint)

Deletes a Certificate from the specified Account.

abstract rx.Observable<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)

Deletes a Certificate from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions, ServiceCallback<Void> serviceCallback)

Deletes a Certificate from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback<Void> serviceCallback)

Deletes a Certificate from the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>> deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)

Deletes a Certificate from the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,CertificateDeleteHeaders>> deleteWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions)

Deletes a Certificate from the specified Account.

abstract Certificate get(String thumbprintAlgorithm, String thumbprint)

Gets information about the specified Certificate.

abstract Certificate get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

Gets information about the specified Certificate.

abstract rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint)

Gets information about the specified Certificate.

abstract rx.Observable<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

Gets information about the specified Certificate.

abstract com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions, ServiceCallback<Certificate> serviceCallback)

Gets information about the specified Certificate.

abstract com.microsoft.rest.ServiceFuture<Certificate> getAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback<Certificate> serviceCallback)

Gets information about the specified Certificate.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint)

Gets information about the specified Certificate.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Certificate,CertificateGetHeaders>> getWithServiceResponseAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

Gets information about the specified Certificate.

abstract com.microsoft.azure.PagedList<Certificate> list()

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.azure.PagedList<Certificate> list(CertificateListOptions certificateListOptions)

Lists all of the Certificates that have been added to the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync()

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<Certificate>> listAsync(ListOperationCallback<Certificate> serviceCallback)

Lists all of the Certificates that have been added to the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<Certificate>> listAsync(CertificateListOptions certificateListOptions)

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<Certificate>> listAsync(CertificateListOptions certificateListOptions, ListOperationCallback<Certificate> serviceCallback)

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink)

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.azure.PagedList<Certificate> listNext(String nextPageLink, CertificateListNextOptions certificateListNextOptions)

Lists all of the Certificates that have been added to the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<Certificate>> listNextAsync(String nextPageLink)

Lists all of the Certificates that have been added to the specified Account.

abstract 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.

abstract com.microsoft.rest.ServiceFuture<List<Certificate>> listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions, ServiceFuture<List<Certificate>> serviceFuture, ListOperationCallback<Certificate> serviceCallback)

Lists all of the Certificates that have been added to the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<Certificate>> listNextAsync(String nextPageLink, ServiceFuture<List<Certificate>> serviceFuture, ListOperationCallback<Certificate> serviceCallback)

Lists all of the Certificates that have been added to the specified Account.

abstract 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.

abstract 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.

abstract 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.

abstract 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 Details

add

public abstract 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.

Parameters:

certificate - The Certificate to be added.

add

public abstract 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.

Parameters:

certificate - The Certificate to be added.
certificateAddOptions - Additional parameters for the operation

addAsync

public abstract Observable 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.

Parameters:

certificate - The Certificate to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract Observable 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.

Parameters:

certificate - The Certificate to be added.
certificateAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract ServiceFuture addAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions, ServiceCallback 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.

Parameters:

certificate - The Certificate to be added.
certificateAddOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addAsync

public abstract ServiceFuture addAsync(CertificateAddParameter certificate, ServiceCallback 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.

Parameters:

certificate - The Certificate to be added.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addWithServiceResponseAsync

public abstract Observable<>> 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.

Parameters:

certificate - The Certificate to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addWithServiceResponseAsync

public abstract Observable<>> 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.

Parameters:

certificate - The Certificate to be added.
certificateAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

cancelDeletion

public abstract 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.

Parameters:

thumbprintAlgorithm - The algorithm used to derive the thumbprint parameter. This must be sha1.
thumbprint - The thumbprint of the Certificate being deleted.

cancelDeletion

public abstract 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.

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

cancelDeletionAsync

public abstract Observable 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.

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.

cancelDeletionAsync

public abstract Observable 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.

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.

cancelDeletionAsync

public abstract ServiceFuture cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions, ServiceCallback 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.

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
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

cancelDeletionAsync

public abstract ServiceFuture cancelDeletionAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback 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.

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

cancelDeletionWithServiceResponseAsync

public abstract Observable<>> 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.

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.

cancelDeletionWithServiceResponseAsync

public abstract Observable<>> 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.

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.

delete

public abstract 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.

Parameters:

thumbprintAlgorithm - The algorithm used to derive the thumbprint parameter. This must be sha1.
thumbprint - The thumbprint of the Certificate to be deleted.

delete

public abstract 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.

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

deleteAsync

public abstract Observable 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.

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.

deleteAsync

public abstract Observable 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.

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.

deleteAsync

public abstract ServiceFuture deleteAsync(String thumbprintAlgorithm, String thumbprint, CertificateDeleteOptions certificateDeleteOptions, ServiceCallback 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.

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
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

deleteAsync

public abstract ServiceFuture deleteAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback 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.

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

deleteWithServiceResponseAsync

public abstract Observable<>> 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.

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.

deleteWithServiceResponseAsync

public abstract Observable<>> 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.

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.

get

public abstract 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.

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.

get

public abstract 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.

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.

getAsync

public abstract Observable 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.

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

getAsync

public abstract Observable 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.

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

getAsync

public abstract ServiceFuture getAsync(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions, ServiceCallback 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.

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
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getAsync

public abstract ServiceFuture getAsync(String thumbprintAlgorithm, String thumbprint, ServiceCallback 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.

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

getWithServiceResponseAsync

public abstract Observable<>> 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.

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

getWithServiceResponseAsync

public abstract Observable<>> 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.

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

list

public abstract PagedList 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.

Returns:

the PagedList<Certificate> object if successful.

list

public abstract PagedList 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.

Parameters:

certificateListOptions - Additional parameters for the operation

Returns:

the PagedList<Certificate> object if successful.

listAsync

public abstract Observable<>> 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.

Returns:

the observable to the PagedList<Certificate> object

listAsync

public abstract ServiceFuture<>> listAsync(ListOperationCallback 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.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listAsync

public abstract Observable<>> 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.

Parameters:

certificateListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<Certificate> object

listAsync

public abstract ServiceFuture<>> listAsync(CertificateListOptions certificateListOptions, ListOperationCallback 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.

Parameters:

certificateListOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNext

public abstract PagedList 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.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<Certificate> object if successful.

listNext

public abstract PagedList 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.

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.

listNextAsync

public abstract Observable<>> 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.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<Certificate> object

listNextAsync

public abstract Observable<>> 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.

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

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, CertificateListNextOptions certificateListNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback 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.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
certificateListNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback 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.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextWithServiceResponseAsync

public abstract Observable<><>,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.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<Certificate> object

listNextWithServiceResponseAsync

public abstract Observable<><>,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.

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

listWithServiceResponseAsync

public abstract Observable<><>,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.

Returns:

the observable to the PagedList<Certificate> object

listWithServiceResponseAsync

public abstract Observable<><>,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.

Parameters:

certificateListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<Certificate> object

Applies to