Interface VaultCertificatesClient
public interface VaultCertificatesClient
An instance of this class provides access to all the operations defined in VaultCertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String vaultName, String certificateName, CertificateRequest certificateRequest) Uploads a certificate for a resource.com.azure.core.http.rest.Response<VaultCertificateResponseInner>
createWithResponse
(String resourceGroupName, String vaultName, String certificateName, CertificateRequest certificateRequest, com.azure.core.util.Context context) Uploads a certificate for a resource.
-
Method Details
-
create
VaultCertificateResponseInner create(String resourceGroupName, String vaultName, String certificateName, CertificateRequest certificateRequest) Uploads a certificate for a resource.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.certificateName
- Certificate friendly name.certificateRequest
- Input parameters for uploading the vault certificate.- Returns:
- certificate corresponding to a vault that can be used by clients to register themselves with the vault.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createWithResponse
com.azure.core.http.rest.Response<VaultCertificateResponseInner> createWithResponse(String resourceGroupName, String vaultName, String certificateName, CertificateRequest certificateRequest, com.azure.core.util.Context context) Uploads a certificate for a resource.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.certificateName
- Certificate friendly name.certificateRequest
- Input parameters for uploading the vault certificate.context
- The context to associate with this operation.- Returns:
- certificate corresponding to a vault that can be used by clients to register themselves with the vault
along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-