Package com.microsoft.azure.keyvault
Interface KeyVaultClientBase
-
- All Known Subinterfaces:
KeyVaultClientCustom
- All Known Implementing Classes:
KeyVaultClient
,KeyVaultClientBaseImpl
,KeyVaultClientCustomImpl
public interface KeyVaultClientBase
The interface for KeyVaultClientBase class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
acceptLanguage()
Gets Gets or sets the preferred language for the response..String
apiVersion()
Gets Client API version..BackupCertificateResult
backupCertificate(String vaultBaseUrl, String certificateName)
Backs up the specified certificate.rx.Observable<BackupCertificateResult>
backupCertificateAsync(String vaultBaseUrl, String certificateName)
Backs up the specified certificate.com.microsoft.rest.ServiceFuture<BackupCertificateResult>
backupCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<BackupCertificateResult> serviceCallback)
Backs up the specified certificate.rx.Observable<com.microsoft.rest.ServiceResponse<BackupCertificateResult>>
backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Backs up the specified certificate.BackupKeyResult
backupKey(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client.rx.Observable<BackupKeyResult>
backupKeyAsync(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client.com.microsoft.rest.ServiceFuture<BackupKeyResult>
backupKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<BackupKeyResult> serviceCallback)
Requests that a backup of the specified key be downloaded to the client.rx.Observable<com.microsoft.rest.ServiceResponse<BackupKeyResult>>
backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client.BackupSecretResult
backupSecret(String vaultBaseUrl, String secretName)
Backs up the specified secret.rx.Observable<BackupSecretResult>
backupSecretAsync(String vaultBaseUrl, String secretName)
Backs up the specified secret.com.microsoft.rest.ServiceFuture<BackupSecretResult>
backupSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<BackupSecretResult> serviceCallback)
Backs up the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<BackupSecretResult>>
backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Backs up the specified secret.BackupStorageResult
backupStorageAccount(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account.rx.Observable<BackupStorageResult>
backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account.com.microsoft.rest.ServiceFuture<BackupStorageResult>
backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<BackupStorageResult> serviceCallback)
Backs up the specified storage account.rx.Observable<com.microsoft.rest.ServiceResponse<BackupStorageResult>>
backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account.CertificateOperation
createCertificate(String vaultBaseUrl, String certificateName)
Creates a new certificate.CertificateOperation
createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate.rx.Observable<CertificateOperation>
createCertificateAsync(String vaultBaseUrl, String certificateName)
Creates a new certificate.rx.Observable<CertificateOperation>
createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate.com.microsoft.rest.ServiceFuture<CertificateOperation>
createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate.com.microsoft.rest.ServiceFuture<CertificateOperation>
createCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>>
createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Creates a new certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>>
createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate.KeyBundle
createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client.KeyBundle
createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client.KeyOperationResult
decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.rx.Observable<KeyOperationResult>
decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.com.microsoft.rest.ServiceFuture<KeyOperationResult>
decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Decrypts a single block of encrypted data.rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>>
decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.DeletedCertificateBundle
deleteCertificate(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault.rx.Observable<DeletedCertificateBundle>
deleteCertificateAsync(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault.com.microsoft.rest.ServiceFuture<DeletedCertificateBundle>
deleteCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<DeletedCertificateBundle> serviceCallback)
Deletes a certificate from a specified key vault.Contacts
deleteCertificateContacts(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault.rx.Observable<Contacts>
deleteCertificateContactsAsync(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault.com.microsoft.rest.ServiceFuture<Contacts>
deleteCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Deletes the certificate contacts for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>>
deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault.IssuerBundle
deleteCertificateIssuer(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer.rx.Observable<IssuerBundle>
deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Deletes the specified certificate issuer.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer.CertificateOperation
deleteCertificateOperation(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate.rx.Observable<CertificateOperation>
deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate.com.microsoft.rest.ServiceFuture<CertificateOperation>
deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Deletes the creation operation for a specific certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>>
deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedCertificateBundle>>
deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault.DeletedKeyBundle
deleteKey(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault.rx.Observable<DeletedKeyBundle>
deleteKeyAsync(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault.com.microsoft.rest.ServiceFuture<DeletedKeyBundle>
deleteKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<DeletedKeyBundle> serviceCallback)
Deletes a key of any type from storage in Azure Key Vault.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedKeyBundle>>
deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault.DeletedSasDefinitionBundle
deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account.rx.Observable<DeletedSasDefinitionBundle>
deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account.com.microsoft.rest.ServiceFuture<DeletedSasDefinitionBundle>
deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<DeletedSasDefinitionBundle> serviceCallback)
Deletes a SAS definition from a specified storage account.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSasDefinitionBundle>>
deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account.DeletedSecretBundle
deleteSecret(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault.rx.Observable<DeletedSecretBundle>
deleteSecretAsync(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault.com.microsoft.rest.ServiceFuture<DeletedSecretBundle>
deleteSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<DeletedSecretBundle> serviceCallback)
Deletes a secret from a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSecretBundle>>
deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault.DeletedStorageBundle
deleteStorageAccount(String vaultBaseUrl, String storageAccountName)
Deletes a storage account.rx.Observable<DeletedStorageBundle>
deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account.com.microsoft.rest.ServiceFuture<DeletedStorageBundle>
deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<DeletedStorageBundle> serviceCallback)
Deletes a storage account.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedStorageBundle>>
deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account.KeyOperationResult
encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.rx.Observable<KeyOperationResult>
encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.com.microsoft.rest.ServiceFuture<KeyOperationResult>
encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>>
encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.boolean
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request.com.microsoft.azure.AzureClient
getAzureClient()
Gets theAzureClient
used for long running operations.CertificateBundle
getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate.rx.Observable<CertificateBundle>
getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a certificate.Contacts
getCertificateContacts(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault.rx.Observable<Contacts>
getCertificateContactsAsync(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault.com.microsoft.rest.ServiceFuture<Contacts>
getCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Lists the certificate contacts for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>>
getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault.IssuerBundle
getCertificateIssuer(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer.rx.Observable<IssuerBundle>
getCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Lists the specified certificate issuer.com.microsoft.azure.PagedList<CertificateIssuerItem>
getCertificateIssuers(String vaultBaseUrl)
List certificate issuers for a specified key vault.com.microsoft.azure.PagedList<CertificateIssuerItem>
getCertificateIssuers(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>>
getCertificateIssuersAsync(String vaultBaseUrl)
List certificate issuers for a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>>
getCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>>
getCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>>
getCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault.com.microsoft.azure.PagedList<CertificateIssuerItem>
getCertificateIssuersNext(String nextPageLink)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>>
getCertificateIssuersNextAsync(String nextPageLink)
List certificate issuers for a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>>
getCertificateIssuersNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>>
getCertificateIssuersNextWithServiceResponseAsync(String nextPageLink)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>>
getCertificateIssuersWithServiceResponseAsync(String vaultBaseUrl)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>>
getCertificateIssuersWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer.CertificateOperation
getCertificateOperation(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate.rx.Observable<CertificateOperation>
getCertificateOperationAsync(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate.com.microsoft.rest.ServiceFuture<CertificateOperation>
getCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Gets the creation operation of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>>
getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate.CertificatePolicy
getCertificatePolicy(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate.rx.Observable<CertificatePolicy>
getCertificatePolicyAsync(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate.com.microsoft.rest.ServiceFuture<CertificatePolicy>
getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Lists the policy for a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificatePolicy>>
getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate.com.microsoft.azure.PagedList<CertificateItem>
getCertificates(String vaultBaseUrl)
List certificates in a specified key vault.com.microsoft.azure.PagedList<CertificateItem>
getCertificates(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl)
List certificates in a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault.com.microsoft.azure.PagedList<CertificateItem>
getCertificatesNext(String nextPageLink)
List certificates in a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificatesNextAsync(String nextPageLink)
List certificates in a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificatesNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesNextWithServiceResponseAsync(String nextPageLink)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesWithServiceResponseAsync(String vaultBaseUrl)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault.com.microsoft.azure.PagedList<CertificateItem>
getCertificateVersions(String vaultBaseUrl, String certificateName)
List the versions of a certificate.com.microsoft.azure.PagedList<CertificateItem>
getCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificateVersionsAsync(String vaultBaseUrl, String certificateName)
List the versions of a certificate.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.com.microsoft.azure.PagedList<CertificateItem>
getCertificateVersionsNext(String nextPageLink)
List the versions of a certificate.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificateVersionsNextAsync(String nextPageLink)
List the versions of a certificate.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificateVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificateVersionsNextWithServiceResponseAsync(String nextPageLink)
List the versions of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificateVersionsWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
List the versions of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificateVersionsWithServiceResponseAsync(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate.DeletedCertificateBundle
getDeletedCertificate(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate.rx.Observable<DeletedCertificateBundle>
getDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate.com.microsoft.rest.ServiceFuture<DeletedCertificateBundle>
getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<DeletedCertificateBundle> serviceCallback)
Retrieves information about the specified deleted certificate.com.microsoft.azure.PagedList<DeletedCertificateItem>
getDeletedCertificates(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.azure.PagedList<DeletedCertificateItem>
getDeletedCertificates(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.azure.PagedList<DeletedCertificateItem>
getDeletedCertificatesNext(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>>
getDeletedCertificatesNextAsync(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>>
getDeletedCertificatesNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>>
getDeletedCertificatesNextWithServiceResponseAsync(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>>
getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>>
getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedCertificateBundle>>
getDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate.DeletedKeyBundle
getDeletedKey(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key.rx.Observable<DeletedKeyBundle>
getDeletedKeyAsync(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key.com.microsoft.rest.ServiceFuture<DeletedKeyBundle>
getDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<DeletedKeyBundle> serviceCallback)
Gets the public part of a deleted key.com.microsoft.azure.PagedList<DeletedKeyItem>
getDeletedKeys(String vaultBaseUrl)
Lists the deleted keys in the specified vault.com.microsoft.azure.PagedList<DeletedKeyItem>
getDeletedKeys(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>>
getDeletedKeysAsync(String vaultBaseUrl)
Lists the deleted keys in the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>>
getDeletedKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>>
getDeletedKeysAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>>
getDeletedKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault.com.microsoft.azure.PagedList<DeletedKeyItem>
getDeletedKeysNext(String nextPageLink)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>>
getDeletedKeysNextAsync(String nextPageLink)
Lists the deleted keys in the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>>
getDeletedKeysNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>>
getDeletedKeysNextWithServiceResponseAsync(String nextPageLink)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>>
getDeletedKeysWithServiceResponseAsync(String vaultBaseUrl)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>>
getDeletedKeysWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedKeyBundle>>
getDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key.DeletedSasDefinitionBundle
getDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition.rx.Observable<DeletedSasDefinitionBundle>
getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition.com.microsoft.rest.ServiceFuture<DeletedSasDefinitionBundle>
getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<DeletedSasDefinitionBundle> serviceCallback)
Gets the specified deleted sas definition.com.microsoft.azure.PagedList<DeletedSasDefinitionItem>
getDeletedSasDefinitions(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account.com.microsoft.azure.PagedList<DeletedSasDefinitionItem>
getDeletedSasDefinitions(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account.com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account.com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account.com.microsoft.azure.PagedList<DeletedSasDefinitionItem>
getDeletedSasDefinitionsNext(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsNextAsync(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account.com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>>
getDeletedSasDefinitionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>>
getDeletedSasDefinitionsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>>
getDeletedSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>>
getDeletedSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSasDefinitionBundle>>
getDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition.DeletedSecretBundle
getDeletedSecret(String vaultBaseUrl, String secretName)
Gets the specified deleted secret.rx.Observable<DeletedSecretBundle>
getDeletedSecretAsync(String vaultBaseUrl, String secretName)
Gets the specified deleted secret.com.microsoft.rest.ServiceFuture<DeletedSecretBundle>
getDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<DeletedSecretBundle> serviceCallback)
Gets the specified deleted secret.com.microsoft.azure.PagedList<DeletedSecretItem>
getDeletedSecrets(String vaultBaseUrl)
Lists deleted secrets for the specified vault.com.microsoft.azure.PagedList<DeletedSecretItem>
getDeletedSecrets(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>>
getDeletedSecretsAsync(String vaultBaseUrl)
Lists deleted secrets for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>>
getDeletedSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>>
getDeletedSecretsAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>>
getDeletedSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault.com.microsoft.azure.PagedList<DeletedSecretItem>
getDeletedSecretsNext(String nextPageLink)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>>
getDeletedSecretsNextAsync(String nextPageLink)
Lists deleted secrets for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>>
getDeletedSecretsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>>
getDeletedSecretsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>>
getDeletedSecretsWithServiceResponseAsync(String vaultBaseUrl)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>>
getDeletedSecretsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSecretBundle>>
getDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Gets the specified deleted secret.DeletedStorageBundle
getDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account.rx.Observable<DeletedStorageBundle>
getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account.com.microsoft.rest.ServiceFuture<DeletedStorageBundle>
getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<DeletedStorageBundle> serviceCallback)
Gets the specified deleted storage account.com.microsoft.azure.PagedList<DeletedStorageAccountItem>
getDeletedStorageAccounts(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault.com.microsoft.azure.PagedList<DeletedStorageAccountItem>
getDeletedStorageAccounts(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>>
getDeletedStorageAccountsAsync(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>>
getDeletedStorageAccountsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>>
getDeletedStorageAccountsAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>>
getDeletedStorageAccountsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault.com.microsoft.azure.PagedList<DeletedStorageAccountItem>
getDeletedStorageAccountsNext(String nextPageLink)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>>
getDeletedStorageAccountsNextAsync(String nextPageLink)
Lists deleted storage accounts for the specified vault.com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>>
getDeletedStorageAccountsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>>
getDeletedStorageAccountsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>>
getDeletedStorageAccountsWithServiceResponseAsync(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>>
getDeletedStorageAccountsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<DeletedStorageBundle>>
getDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account.KeyBundle
getKey(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key.rx.Observable<KeyBundle>
getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key.com.microsoft.rest.ServiceFuture<KeyBundle>
getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.com.microsoft.azure.PagedList<KeyItem>
getKeys(String vaultBaseUrl)
List keys in the specified vault.com.microsoft.azure.PagedList<KeyItem>
getKeys(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeysAsync(String vaultBaseUrl)
List keys in the specified vault.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeysAsync(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.com.microsoft.azure.PagedList<KeyItem>
getKeysNext(String nextPageLink)
List keys in the specified vault.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeysNextAsync(String nextPageLink)
List keys in the specified vault.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeysNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<KeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeysNextWithServiceResponseAsync(String nextPageLink)
List keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeysWithServiceResponseAsync(String vaultBaseUrl)
List keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeysWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.com.microsoft.azure.PagedList<KeyItem>
getKeyVersions(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name.com.microsoft.azure.PagedList<KeyItem>
getKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeyVersionsAsync(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeyVersionsAsync(String vaultBaseUrl, String keyName, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.com.microsoft.azure.PagedList<KeyItem>
getKeyVersionsNext(String nextPageLink)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.azure.Page<KeyItem>>
getKeyVersionsNextAsync(String nextPageLink)
Retrieves a list of individual key versions with the same key name.com.microsoft.rest.ServiceFuture<List<KeyItem>>
getKeyVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<KeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeyVersionsNextWithServiceResponseAsync(String nextPageLink)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeyVersionsWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeyVersionsWithServiceResponseAsync(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key.SasDefinitionBundle
getSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account.rx.Observable<SasDefinitionBundle>
getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Gets information about a SAS definition for the specified storage account.com.microsoft.azure.PagedList<SasDefinitionItem>
getSasDefinitions(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account.com.microsoft.azure.PagedList<SasDefinitionItem>
getSasDefinitions(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>>
getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account.com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>>
getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>>
getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account.com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>>
getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account.com.microsoft.azure.PagedList<SasDefinitionItem>
getSasDefinitionsNext(String nextPageLink)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>>
getSasDefinitionsNextAsync(String nextPageLink)
List storage SAS definitions for the given storage account.com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>>
getSasDefinitionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>>
getSasDefinitionsNextWithServiceResponseAsync(String nextPageLink)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>>
getSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>>
getSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account.SecretBundle
getSecret(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault.rx.Observable<SecretBundle>
getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.com.microsoft.azure.PagedList<SecretItem>
getSecrets(String vaultBaseUrl)
List secrets in a specified key vault.com.microsoft.azure.PagedList<SecretItem>
getSecrets(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretsAsync(String vaultBaseUrl)
List secrets in a specified key vault.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretsAsync(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault.com.microsoft.azure.PagedList<SecretItem>
getSecretsNext(String nextPageLink)
List secrets in a specified key vault.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretsNextAsync(String nextPageLink)
List secrets in a specified key vault.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretsNextWithServiceResponseAsync(String nextPageLink)
List secrets in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretsWithServiceResponseAsync(String vaultBaseUrl)
List secrets in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault.com.microsoft.azure.PagedList<SecretItem>
getSecretVersions(String vaultBaseUrl, String secretName)
List all versions of the specified secret.com.microsoft.azure.PagedList<SecretItem>
getSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretVersionsAsync(String vaultBaseUrl, String secretName)
List all versions of the specified secret.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret.com.microsoft.azure.PagedList<SecretItem>
getSecretVersionsNext(String nextPageLink)
List all versions of the specified secret.rx.Observable<com.microsoft.azure.Page<SecretItem>>
getSecretVersionsNextAsync(String nextPageLink)
List all versions of the specified secret.com.microsoft.rest.ServiceFuture<List<SecretItem>>
getSecretVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretVersionsNextWithServiceResponseAsync(String nextPageLink)
List all versions of the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretVersionsWithServiceResponseAsync(String vaultBaseUrl, String secretName)
List all versions of the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretVersionsWithServiceResponseAsync(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault.StorageBundle
getStorageAccount(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account.rx.Observable<StorageBundle>
getStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Gets information about a specified storage account.com.microsoft.azure.PagedList<StorageAccountItem>
getStorageAccounts(String vaultBaseUrl)
List storage accounts managed by the specified key vault.com.microsoft.azure.PagedList<StorageAccountItem>
getStorageAccounts(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.azure.Page<StorageAccountItem>>
getStorageAccountsAsync(String vaultBaseUrl)
List storage accounts managed by the specified key vault.com.microsoft.rest.ServiceFuture<List<StorageAccountItem>>
getStorageAccountsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.azure.Page<StorageAccountItem>>
getStorageAccountsAsync(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault.com.microsoft.rest.ServiceFuture<List<StorageAccountItem>>
getStorageAccountsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault.com.microsoft.azure.PagedList<StorageAccountItem>
getStorageAccountsNext(String nextPageLink)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.azure.Page<StorageAccountItem>>
getStorageAccountsNextAsync(String nextPageLink)
List storage accounts managed by the specified key vault.com.microsoft.rest.ServiceFuture<List<StorageAccountItem>>
getStorageAccountsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<StorageAccountItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>>
getStorageAccountsNextWithServiceResponseAsync(String nextPageLink)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>>
getStorageAccountsWithServiceResponseAsync(String vaultBaseUrl)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>>
getStorageAccountsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account.CertificateBundle
importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault.CertificateBundle
importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault.rx.Observable<CertificateBundle>
importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault.com.microsoft.rest.ServiceFuture<CertificateBundle>
importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into a specified key vault.rx.Observable<CertificateBundle>
importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault.com.microsoft.rest.ServiceFuture<CertificateBundle>
importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault.KeyBundle
importKey(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.KeyBundle
importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.rx.Observable<KeyBundle>
importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.rx.Observable<KeyBundle>
importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.int
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations.CertificateBundle
mergeCertificate(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server.CertificateBundle
mergeCertificate(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server.rx.Observable<CertificateBundle>
mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server.rx.Observable<CertificateBundle>
mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server.com.microsoft.rest.ServiceFuture<CertificateBundle>
mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server.com.microsoft.rest.ServiceFuture<CertificateBundle>
mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server.void
purgeDeletedCertificate(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate.rx.Observable<Void>
purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate.com.microsoft.rest.ServiceFuture<Void>
purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified deleted certificate.rx.Observable<com.microsoft.rest.ServiceResponse<Void>>
purgeDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate.void
purgeDeletedKey(String vaultBaseUrl, String keyName)
Permanently deletes the specified key.rx.Observable<Void>
purgeDeletedKeyAsync(String vaultBaseUrl, String keyName)
Permanently deletes the specified key.com.microsoft.rest.ServiceFuture<Void>
purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified key.rx.Observable<com.microsoft.rest.ServiceResponse<Void>>
purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Permanently deletes the specified key.void
purgeDeletedSecret(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret.rx.Observable<Void>
purgeDeletedSecretAsync(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret.com.microsoft.rest.ServiceFuture<Void>
purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<Void>>
purgeDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret.void
purgeDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account.rx.Observable<Void>
purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account.com.microsoft.rest.ServiceFuture<Void>
purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified storage account.rx.Observable<com.microsoft.rest.ServiceResponse<Void>>
purgeDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account.CertificateBundle
recoverDeletedCertificate(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates.rx.Observable<CertificateBundle>
recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates.com.microsoft.rest.ServiceFuture<CertificateBundle>
recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Recovers the deleted certificate back to its current version under /certificates.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates.KeyBundle
recoverDeletedKey(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version.rx.Observable<KeyBundle>
recoverDeletedKeyAsync(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version.com.microsoft.rest.ServiceFuture<KeyBundle>
recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Recovers the deleted key to its latest version.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version.SasDefinitionBundle
recoverDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition.rx.Observable<SasDefinitionBundle>
recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Recovers the deleted SAS definition.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition.SecretBundle
recoverDeletedSecret(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version.rx.Observable<SecretBundle>
recoverDeletedSecretAsync(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version.com.microsoft.rest.ServiceFuture<SecretBundle>
recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Recovers the deleted secret to the latest version.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version.StorageBundle
recoverDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account.rx.Observable<StorageBundle>
recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Recovers the deleted storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
recoverDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account.StorageBundle
regenerateStorageAccountKey(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account.rx.Observable<StorageBundle>
regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Regenerates the specified key value for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account.com.microsoft.rest.RestClient
restClient()
Gets the REST client.CertificateBundle
restoreCertificate(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault.rx.Observable<CertificateBundle>
restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault.com.microsoft.rest.ServiceFuture<CertificateBundle>
restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Restores a backed up certificate to a vault.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault.KeyBundle
restoreKey(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault.rx.Observable<KeyBundle>
restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault.com.microsoft.rest.ServiceFuture<KeyBundle>
restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Restores a backed up key to a vault.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault.SecretBundle
restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault.rx.Observable<SecretBundle>
restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault.com.microsoft.rest.ServiceFuture<SecretBundle>
restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Restores a backed up secret to a vault.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault.StorageBundle
restoreStorageAccount(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault.rx.Observable<StorageBundle>
restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault.com.microsoft.rest.ServiceFuture<StorageBundle>
restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Restores a backed up storage account to a vault.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault.Contacts
setCertificateContacts(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault.rx.Observable<Contacts>
setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault.com.microsoft.rest.ServiceFuture<Contacts>
setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Sets the certificate contacts for the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>>
setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault.IssuerBundle
setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer.IssuerBundle
setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer.rx.Observable<IssuerBundle>
setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer.rx.Observable<IssuerBundle>
setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the specified certificate issuer.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer.SasDefinitionBundle
setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account.SasDefinitionBundle
setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account.rx.Observable<SasDefinitionBundle>
setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account.rx.Observable<SasDefinitionBundle>
setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Creates or updates a new SAS definition for the specified storage account.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Creates or updates a new SAS definition for the specified storage account.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account.SecretBundle
setSecret(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault.SecretBundle
setSecret(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault.rx.Observable<SecretBundle>
setSecretAsync(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
setSecretAsync(String vaultBaseUrl, String secretName, String value, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in a specified key vault.rx.Observable<SecretBundle>
setSecretAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
setSecretAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault.StorageBundle
setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account.StorageBundle
setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account.rx.Observable<StorageBundle>
setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Creates or updates a new storage account.rx.Observable<StorageBundle>
setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Creates or updates a new storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account.KeyOperationResult
sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.rx.Observable<KeyOperationResult>
signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Creates a signature from a digest using the specified key.rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>>
signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.KeyOperationResult
unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key.rx.Observable<KeyOperationResult>
unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key.rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>>
unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key.CertificateBundle
updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate.CertificateBundle
updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate.rx.Observable<CertificateBundle>
updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate.rx.Observable<CertificateBundle>
updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the specified attributes associated with the given certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the specified attributes associated with the given certificate.IssuerBundle
updateCertificateIssuer(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer.IssuerBundle
updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer.rx.Observable<IssuerBundle>
updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.rx.Observable<IssuerBundle>
updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer.rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>>
updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer.CertificateOperation
updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation.rx.Observable<CertificateOperation>
updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation.com.microsoft.rest.ServiceFuture<CertificateOperation>
updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>>
updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation.CertificatePolicy
updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate.rx.Observable<CertificatePolicy>
updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate.com.microsoft.rest.ServiceFuture<CertificatePolicy>
updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificatePolicy>>
updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate.rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>>
updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate.KeyBundle
updateKey(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.KeyBundle
updateKey(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.rx.Observable<KeyBundle>
updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.com.microsoft.rest.ServiceFuture<KeyBundle>
updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.rx.Observable<KeyBundle>
updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.com.microsoft.rest.ServiceFuture<KeyBundle>
updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.SasDefinitionBundle
updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition.SasDefinitionBundle
updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition.rx.Observable<SasDefinitionBundle>
updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Updates the specified attributes associated with the given SAS definition.rx.Observable<SasDefinitionBundle>
updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition.com.microsoft.rest.ServiceFuture<SasDefinitionBundle>
updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Updates the specified attributes associated with the given SAS definition.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition.rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>>
updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition.SecretBundle
updateSecret(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault.SecretBundle
updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault.rx.Observable<SecretBundle>
updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault.rx.Observable<SecretBundle>
updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault.rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>>
updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault.StorageBundle
updateStorageAccount(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account.StorageBundle
updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account.rx.Observable<StorageBundle>
updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Updates the specified attributes associated with the given storage account.rx.Observable<StorageBundle>
updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account.com.microsoft.rest.ServiceFuture<StorageBundle>
updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Updates the specified attributes associated with the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>>
updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account.String
userAgent()
Gets the User-Agent header for the client.KeyVerifyResult
verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key.rx.Observable<KeyVerifyResult>
verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key.com.microsoft.rest.ServiceFuture<KeyVerifyResult>
verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
Verifies a signature using a specified key.rx.Observable<com.microsoft.rest.ServiceResponse<KeyVerifyResult>>
verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key.KeyVaultClientBase
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..KeyVaultClientBase
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request.KeyVaultClientBase
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations.KeyOperationResult
wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key.rx.Observable<KeyOperationResult>
wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Wraps a symmetric key using a specified key.rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>>
wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key.
-
-
-
Method Detail
-
restClient
com.microsoft.rest.RestClient restClient()
Gets the REST client.- Returns:
- the
RestClient
object.
-
getAzureClient
com.microsoft.azure.AzureClient getAzureClient()
Gets theAzureClient
used for long running operations.- Returns:
- the azure client;
-
userAgent
String userAgent()
Gets the User-Agent header for the client.- Returns:
- the user agent string.
-
apiVersion
String apiVersion()
Gets Client API version..- Returns:
- the apiVersion value.
-
acceptLanguage
String acceptLanguage()
Gets Gets or sets the preferred language for the response..- Returns:
- the acceptLanguage value.
-
withAcceptLanguage
KeyVaultClientBase withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..- Parameters:
acceptLanguage
- the acceptLanguage value.- Returns:
- the service client itself
-
longRunningOperationRetryTimeout
int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..- Returns:
- the longRunningOperationRetryTimeout value.
-
withLongRunningOperationRetryTimeout
KeyVaultClientBase withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..- Parameters:
longRunningOperationRetryTimeout
- the longRunningOperationRetryTimeout value.- Returns:
- the service client itself
-
generateClientRequestId
boolean generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..- Returns:
- the generateClientRequestId value.
-
withGenerateClientRequestId
KeyVaultClientBase withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..- Parameters:
generateClientRequestId
- the generateClientRequestId value.- Returns:
- the service client itself
-
createKey
KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyAsync
rx.Observable<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKey
KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bits. For example: 2048, 3072, or 4096 for RSA.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.curve
- Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bits. For example: 2048, 3072, or 4096 for RSA.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.curve
- Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyAsync
rx.Observable<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bits. For example: 2048, 3072, or 4096 for RSA.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.curve
- Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, JsonWebKeyCurveName curve)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bits. For example: 2048, 3072, or 4096 for RSA.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.curve
- Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKey
KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web key- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web keyserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKeyAsync
rx.Observable<KeyBundle> importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web key- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web key- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKey
KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web keyhsm
- Whether to import as a hardware key (HSM) or software key.keyAttributes
- The key management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web keyhsm
- Whether to import as a hardware key (HSM) or software key.keyAttributes
- The key management attributes.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKeyAsync
rx.Observable<KeyBundle> importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web keyhsm
- Whether to import as a hardware key (HSM) or software key.keyAttributes
- The key management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map<String,String> tags)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- Name for the imported key.key
- The Json web keyhsm
- Whether to import as a hardware key (HSM) or software key.keyAttributes
- The key management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteKey
DeletedKeyBundle deleteKey(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault. The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to delete.- Returns:
- the DeletedKeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteKeyAsync
com.microsoft.rest.ServiceFuture<DeletedKeyBundle> deleteKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<DeletedKeyBundle> serviceCallback)
Deletes a key of any type from storage in Azure Key Vault. The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteKeyAsync
rx.Observable<DeletedKeyBundle> deleteKeyAsync(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault. The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to delete.- Returns:
- the observable to the DeletedKeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedKeyBundle>> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Deletes a key of any type from storage in Azure Key Vault. The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to delete.- Returns:
- the observable to the DeletedKeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKey
KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKeyAsync
rx.Observable<KeyBundle> updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKey
KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.keyOps
- Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.keyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.keyOps
- Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.keyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKeyAsync
rx.Observable<KeyBundle> updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.keyOps
- Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.keyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of key to update.keyVersion
- The version of the key to update.keyOps
- Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.keyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKey
KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to get.keyVersion
- Adding the version parameter retrieves a specific version of a key.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to get.keyVersion
- Adding the version parameter retrieves a specific version of a key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyAsync
rx.Observable<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to get.keyVersion
- Adding the version parameter retrieves a specific version of a key.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key to get.keyVersion
- Adding the version parameter retrieves a specific version of a key.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersions
com.microsoft.azure.PagedList<KeyItem> getKeyVersions(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeyVersionsAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeyVersionsAsync(String vaultBaseUrl, String keyName, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeyVersionsAsync(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersions
com.microsoft.azure.PagedList<KeyItem> getKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeyVersionsAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsWithServiceResponseAsync(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeys
com.microsoft.azure.PagedList<KeyItem> getKeys(String vaultBaseUrl)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeysAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeysAsync(String vaultBaseUrl)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysWithServiceResponseAsync(String vaultBaseUrl)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeys
com.microsoft.azure.PagedList<KeyItem> getKeys(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeysAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeysAsync(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupKey
BackupKeyResult backupKey(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client. The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the BackupKeyResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
backupKeyAsync
com.microsoft.rest.ServiceFuture<BackupKeyResult> backupKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<BackupKeyResult> serviceCallback)
Requests that a backup of the specified key be downloaded to the client. The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupKeyAsync
rx.Observable<BackupKeyResult> backupKeyAsync(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client. The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the BackupKeyResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<BackupKeyResult>> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Requests that a backup of the specified key be downloaded to the client. The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the BackupKeyResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreKey
KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault. Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyBundleBackup
- The backup blob associated with a key bundle.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
restoreKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Restores a backed up key to a vault. Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyBundleBackup
- The backup blob associated with a key bundle.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreKeyAsync
rx.Observable<KeyBundle> restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault. Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyBundleBackup
- The backup blob associated with a key bundle.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup)
Restores a backed up key to a vault. Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyBundleBackup
- The backup blob associated with a key bundle.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
encrypt
KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the KeyOperationResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
encryptAsync
com.microsoft.rest.ServiceFuture<KeyOperationResult> encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url valueserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
encryptAsync
rx.Observable<KeyOperationResult> encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
encryptWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
decrypt
KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data. The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the KeyOperationResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
decryptAsync
com.microsoft.rest.ServiceFuture<KeyOperationResult> decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Decrypts a single block of encrypted data. The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url valueserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
decryptAsync
rx.Observable<KeyOperationResult> decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data. The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
decryptWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data. The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
sign
KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key. The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'value
- the Base64Url value- Returns:
- the KeyOperationResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
signAsync
com.microsoft.rest.ServiceFuture<KeyOperationResult> signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Creates a signature from a digest using the specified key. The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'value
- the Base64Url valueserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
signAsync
rx.Observable<KeyOperationResult> signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key. The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
signWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key. The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
verify
KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key. The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'digest
- The digest used for signing.signature
- The signature to be verified.- Returns:
- the KeyVerifyResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
verifyAsync
com.microsoft.rest.ServiceFuture<KeyVerifyResult> verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
Verifies a signature using a specified key. The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'digest
- The digest used for signing.signature
- The signature to be verified.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
verifyAsync
rx.Observable<KeyVerifyResult> verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key. The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'digest
- The digest used for signing.signature
- The signature to be verified.- Returns:
- the observable to the KeyVerifyResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
verifyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyVerifyResult>> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using a specified key. The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K'digest
- The digest used for signing.signature
- The signature to be verified.- Returns:
- the observable to the KeyVerifyResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
wrapKey
KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key. The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the KeyOperationResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
wrapKeyAsync
com.microsoft.rest.ServiceFuture<KeyOperationResult> wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Wraps a symmetric key using a specified key. The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url valueserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
wrapKeyAsync
rx.Observable<KeyOperationResult> wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key. The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
wrapKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using a specified key. The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
unwrapKey
KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key. The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the KeyOperationResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
unwrapKeyAsync
com.microsoft.rest.ServiceFuture<KeyOperationResult> unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key. The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url valueserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
unwrapKeyAsync
rx.Observable<KeyOperationResult> unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key. The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
unwrapKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyOperationResult>> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key that was initially used for wrapping that key. The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.keyVersion
- The version of the key.algorithm
- algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'value
- the Base64Url value- Returns:
- the observable to the KeyOperationResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeys
com.microsoft.azure.PagedList<DeletedKeyItem> getDeletedKeys(String vaultBaseUrl)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<DeletedKeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedKeysAsync
com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>> getDeletedKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysAsync
rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>> getDeletedKeysAsync(String vaultBaseUrl)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysWithServiceResponseAsync(String vaultBaseUrl)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeys
com.microsoft.azure.PagedList<DeletedKeyItem> getDeletedKeys(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedKeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedKeysAsync
com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>> getDeletedKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysAsync
rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>> getDeletedKeysAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKey
DeletedKeyBundle getDeletedKey(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key. The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the DeletedKeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedKeyAsync
com.microsoft.rest.ServiceFuture<DeletedKeyBundle> getDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<DeletedKeyBundle> serviceCallback)
Gets the public part of a deleted key. The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeyAsync
rx.Observable<DeletedKeyBundle> getDeletedKeyAsync(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key. The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the DeletedKeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedKeyBundle>> getDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Gets the public part of a deleted key. The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key.- Returns:
- the observable to the DeletedKeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedKey
void purgeDeletedKey(String vaultBaseUrl, String keyName)
Permanently deletes the specified key. The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
purgeDeletedKeyAsync
com.microsoft.rest.ServiceFuture<Void> purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified key. The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the keyserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedKeyAsync
rx.Observable<Void> purgeDeletedKeyAsync(String vaultBaseUrl, String keyName)
Permanently deletes the specified key. The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Void>> purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Permanently deletes the specified key. The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the key- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedKey
KeyBundle recoverDeletedKey(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version. The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the deleted key.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
recoverDeletedKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Recovers the deleted key to its latest version. The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the deleted key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedKeyAsync
rx.Observable<KeyBundle> recoverDeletedKeyAsync(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version. The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the deleted key.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName)
Recovers the deleted key to its latest version. The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name of the deleted key.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecret
SecretBundle setSecret(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync(String vaultBaseUrl, String secretName, String value, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecretAsync
rx.Observable<SecretBundle> setSecretAsync(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecret
SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.tags
- Application specific metadata in the form of key-value pairs.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.tags
- Application specific metadata in the form of key-value pairs.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecretAsync
rx.Observable<SecretBundle> setSecretAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.tags
- Application specific metadata in the form of key-value pairs.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map<String,String> tags, String contentType, SecretAttributes secretAttributes)
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.value
- The value of the secret.tags
- Application specific metadata in the form of key-value pairs.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSecret
DeletedSecretBundle deleteSecret(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault. The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the DeletedSecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteSecretAsync
com.microsoft.rest.ServiceFuture<DeletedSecretBundle> deleteSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<DeletedSecretBundle> serviceCallback)
Deletes a secret from a specified key vault. The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSecretAsync
rx.Observable<DeletedSecretBundle> deleteSecretAsync(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault. The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the DeletedSecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSecretBundle>> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Deletes a secret from a specified key vault. The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the DeletedSecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecret
SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecretAsync
rx.Observable<SecretBundle> updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecret
SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecretAsync
rx.Observable<SecretBundle> updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map<String,String> tags)
Updates the attributes associated with a specified secret in a given key vault. The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.contentType
- Type of the secret value such as a password.secretAttributes
- The secret management attributes.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecret
SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault. The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault. The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretAsync
rx.Observable<SecretBundle> getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault. The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion)
Get a specified secret from a given key vault. The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.secretVersion
- The version of the secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecrets
com.microsoft.azure.PagedList<SecretItem> getSecrets(String vaultBaseUrl)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretsAsync(String vaultBaseUrl)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsWithServiceResponseAsync(String vaultBaseUrl)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecrets
com.microsoft.azure.PagedList<SecretItem> getSecrets(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretsAsync(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersions
com.microsoft.azure.PagedList<SecretItem> getSecretVersions(String vaultBaseUrl, String secretName)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretVersionsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretVersionsAsync(String vaultBaseUrl, String secretName)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsWithServiceResponseAsync(String vaultBaseUrl, String secretName)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersions
com.microsoft.azure.PagedList<SecretItem> getSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretVersionsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsWithServiceResponseAsync(String vaultBaseUrl, String secretName, Integer maxresults)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.maxresults
- Maximum number of results to return in a page. If not specified, the service will return up to 25 results.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecrets
com.microsoft.azure.PagedList<DeletedSecretItem> getDeletedSecrets(String vaultBaseUrl)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<DeletedSecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSecretsAsync
com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>> getDeletedSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsAsync
rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>> getDeletedSecretsAsync(String vaultBaseUrl)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsWithServiceResponseAsync(String vaultBaseUrl)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecrets
com.microsoft.azure.PagedList<DeletedSecretItem> getDeletedSecrets(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedSecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSecretsAsync
com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>> getDeletedSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsAsync
rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>> getDeletedSecretsAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecret
DeletedSecretBundle getDeletedSecret(String vaultBaseUrl, String secretName)
Gets the specified deleted secret. The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the DeletedSecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSecretAsync
com.microsoft.rest.ServiceFuture<DeletedSecretBundle> getDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<DeletedSecretBundle> serviceCallback)
Gets the specified deleted secret. The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretAsync
rx.Observable<DeletedSecretBundle> getDeletedSecretAsync(String vaultBaseUrl, String secretName)
Gets the specified deleted secret. The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the DeletedSecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSecretBundle>> getDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Gets the specified deleted secret. The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the DeletedSecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedSecret
void purgeDeletedSecret(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret. The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
purgeDeletedSecretAsync
com.microsoft.rest.ServiceFuture<Void> purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified secret. The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedSecretAsync
rx.Observable<Void> purgeDeletedSecretAsync(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret. The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Void>> purgeDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Permanently deletes the specified secret. The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSecret
SecretBundle recoverDeletedSecret(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the deleted secret.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
recoverDeletedSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Recovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the deleted secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSecretAsync
rx.Observable<SecretBundle> recoverDeletedSecretAsync(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the deleted secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Recovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the deleted secret.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupSecret
BackupSecretResult backupSecret(String vaultBaseUrl, String secretName)
Backs up the specified secret. Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the BackupSecretResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
backupSecretAsync
com.microsoft.rest.ServiceFuture<BackupSecretResult> backupSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<BackupSecretResult> serviceCallback)
Backs up the specified secret. Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupSecretAsync
rx.Observable<BackupSecretResult> backupSecretAsync(String vaultBaseUrl, String secretName)
Backs up the specified secret. Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the BackupSecretResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<BackupSecretResult>> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName)
Backs up the specified secret. Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretName
- The name of the secret.- Returns:
- the observable to the BackupSecretResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreSecret
SecretBundle restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault. Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretBundleBackup
- The backup blob associated with a secret bundle.- Returns:
- the SecretBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
restoreSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Restores a backed up secret to a vault. Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretBundleBackup
- The backup blob associated with a secret bundle.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreSecretAsync
rx.Observable<SecretBundle> restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault. Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretBundleBackup
- The backup blob associated with a secret bundle.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreSecretWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SecretBundle>> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup)
Restores a backed up secret to a vault. Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.secretBundleBackup
- The backup blob associated with a secret bundle.- Returns:
- the observable to the SecretBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificates
com.microsoft.azure.PagedList<CertificateItem> getCertificates(String vaultBaseUrl)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificatesAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesAsync(String vaultBaseUrl)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesWithServiceResponseAsync(String vaultBaseUrl)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificates
com.microsoft.azure.PagedList<CertificateItem> getCertificates(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificatesAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificate
DeletedCertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault. Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the DeletedCertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteCertificateAsync
com.microsoft.rest.ServiceFuture<DeletedCertificateBundle> deleteCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<DeletedCertificateBundle> serviceCallback)
Deletes a certificate from a specified key vault. Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateAsync
rx.Observable<DeletedCertificateBundle> deleteCertificateAsync(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault. Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the DeletedCertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedCertificateBundle>> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Deletes a certificate from a specified key vault. Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the DeletedCertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateContacts
Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.contacts
- The contacts for the key vault certificate.- Returns:
- the Contacts object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setCertificateContactsAsync
com.microsoft.rest.ServiceFuture<Contacts> setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.contacts
- The contacts for the key vault certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateContactsAsync
rx.Observable<Contacts> setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.contacts
- The contacts for the key vault certificate.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateContactsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts)
Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.contacts
- The contacts for the key vault certificate.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateContacts
Contacts getCertificateContacts(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the Contacts object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateContactsAsync
com.microsoft.rest.ServiceFuture<Contacts> getCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateContactsAsync
rx.Observable<Contacts> getCertificateContactsAsync(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateContactsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl)
Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateContacts
Contacts deleteCertificateContacts(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the Contacts object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteCertificateContactsAsync
com.microsoft.rest.ServiceFuture<Contacts> deleteCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateContactsAsync
rx.Observable<Contacts> deleteCertificateContactsAsync(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateContactsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Contacts>> deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl)
Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the Contacts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuers
com.microsoft.azure.PagedList<CertificateIssuerItem> getCertificateIssuers(String vaultBaseUrl)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<CertificateIssuerItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateIssuersAsync
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> getCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersAsync
rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>> getCertificateIssuersAsync(String vaultBaseUrl)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersWithServiceResponseAsync(String vaultBaseUrl)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuers
com.microsoft.azure.PagedList<CertificateIssuerItem> getCertificateIssuers(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateIssuerItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateIssuersAsync
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> getCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersAsync
rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>> getCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuer
IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuerAsync
rx.Observable<IssuerBundle> setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuer
IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuerAsync
rx.Observable<IssuerBundle> setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuer
IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuerAsync
rx.Observable<IssuerBundle> updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuer
IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuerAsync
rx.Observable<IssuerBundle> updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes)
Updates the specified certificate issuer. The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.provider
- The issuer provider.credentials
- The credentials to be used for the issuer.organizationDetails
- Details of the organization as provided to the issuer.attributes
- Attributes of the issuer object.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuer
IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer. The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Lists the specified certificate issuer. The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuerAsync
rx.Observable<IssuerBundle> getCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer. The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Lists the specified certificate issuer. The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateIssuer
IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the IssuerBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateIssuerAsync
rx.Observable<IssuerBundle> deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateIssuerWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<IssuerBundle>> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName)
Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.issuerName
- The name of the issuer.- Returns:
- the observable to the IssuerBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificate
CertificateOperation createCertificate(String vaultBaseUrl, String certificateName)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the CertificateOperation object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> createCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificateAsync
rx.Observable<CertificateOperation> createCertificateAsync(String vaultBaseUrl, String certificateName)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificate
CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the CertificateOperation object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificateAsync
rx.Observable<CertificateOperation> createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Creates a new certificate. If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificate
CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificateAsync
rx.Observable<CertificateBundle> importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificate
CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.password
- If the private key in base64EncodedCertificate is encrypted, the password used for encryption.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.password
- If the private key in base64EncodedCertificate is encrypted, the password used for encryption.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificateAsync
rx.Observable<CertificateBundle> importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.password
- If the private key in base64EncodedCertificate is encrypted, the password used for encryption.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.base64EncodedCertificate
- Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.password
- If the private key in base64EncodedCertificate is encrypted, the password used for encryption.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersions
com.microsoft.azure.PagedList<CertificateItem> getCertificateVersions(String vaultBaseUrl, String certificateName)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateVersionsAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificateVersionsAsync(String vaultBaseUrl, String certificateName)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersions
com.microsoft.azure.PagedList<CertificateItem> getCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateVersionsAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsWithServiceResponseAsync(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatePolicy
CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate. The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in a given key vault.- Returns:
- the CertificatePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificatePolicyAsync
com.microsoft.rest.ServiceFuture<CertificatePolicy> getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Lists the policy for a certificate. The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in a given key vault.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatePolicyAsync
rx.Observable<CertificatePolicy> getCertificatePolicyAsync(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate. The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in a given key vault.- Returns:
- the observable to the CertificatePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatePolicyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificatePolicy>> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Lists the policy for a certificate. The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in a given key vault.- Returns:
- the observable to the CertificatePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificatePolicy
CertificatePolicy updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificatePolicy
- The policy for the certificate.- Returns:
- the CertificatePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificatePolicyAsync
com.microsoft.rest.ServiceFuture<CertificatePolicy> updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificatePolicy
- The policy for the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificatePolicyAsync
rx.Observable<CertificatePolicy> updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificatePolicy
- The policy for the certificate.- Returns:
- the observable to the CertificatePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificatePolicyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificatePolicy>> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy)
Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificatePolicy
- The policy for the certificate.- Returns:
- the observable to the CertificatePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificate
CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateAsync
rx.Observable<CertificateBundle> updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificate
CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateAsync
rx.Observable<CertificateBundle> updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given certificate. The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given key vault.certificateVersion
- The version of the certificate.certificatePolicy
- The management policy for the certificate.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificate
CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate. Gets information about a specific certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificateVersion
- The version of the certificate.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a certificate. Gets information about a specific certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificateVersion
- The version of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateAsync
rx.Observable<CertificateBundle> getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate. Gets information about a specific certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificateVersion
- The version of the certificate.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion)
Gets information about a certificate. Gets information about a specific certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.certificateVersion
- The version of the certificate.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateOperation
CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation. Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.cancellationRequested
- Indicates if cancellation was requested on the certificate operation.- Returns:
- the CertificateOperation object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateCertificateOperationAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation. Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.cancellationRequested
- Indicates if cancellation was requested on the certificate operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateOperationAsync
rx.Observable<CertificateOperation> updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation. Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.cancellationRequested
- Indicates if cancellation was requested on the certificate operation.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateCertificateOperationWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested)
Updates a certificate operation. Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.cancellationRequested
- Indicates if cancellation was requested on the certificate operation.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateOperation
CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate. Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the CertificateOperation object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateOperationAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> getCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Gets the creation operation of a certificate. Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateOperationAsync
rx.Observable<CertificateOperation> getCertificateOperationAsync(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate. Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateOperationWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Gets the creation operation of a certificate. Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateOperation
CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate. Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the CertificateOperation object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteCertificateOperationAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Deletes the creation operation for a specific certificate. Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateOperationAsync
rx.Observable<CertificateOperation> deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate. Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificateOperationWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateOperation>> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Deletes the creation operation for a specific certificate. Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the CertificateOperation object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificate
CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
mergeCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificateAsync
rx.Observable<CertificateBundle> mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificate
CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
mergeCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificateAsync
rx.Observable<CertificateBundle> mergeCertificateAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
mergeCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List<byte[]> x509Certificates, CertificateAttributes certificateAttributes, Map<String,String> tags)
Merges a certificate or a certificate chain with a key pair existing on the server. The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.x509Certificates
- The certificate or the certificate chain to merge.certificateAttributes
- The attributes of the certificate (optional).tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupCertificate
BackupCertificateResult backupCertificate(String vaultBaseUrl, String certificateName)
Backs up the specified certificate. Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the BackupCertificateResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
backupCertificateAsync
com.microsoft.rest.ServiceFuture<BackupCertificateResult> backupCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<BackupCertificateResult> serviceCallback)
Backs up the specified certificate. Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupCertificateAsync
rx.Observable<BackupCertificateResult> backupCertificateAsync(String vaultBaseUrl, String certificateName)
Backs up the specified certificate. Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the BackupCertificateResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<BackupCertificateResult>> backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Backs up the specified certificate. Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate.- Returns:
- the observable to the BackupCertificateResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreCertificate
CertificateBundle restoreCertificate(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault. Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateBundleBackup
- The backup blob associated with a certificate bundle.- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
restoreCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Restores a backed up certificate to a vault. Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateBundleBackup
- The backup blob associated with a certificate bundle.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreCertificateAsync
rx.Observable<CertificateBundle> restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault. Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateBundleBackup
- The backup blob associated with a certificate bundle.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup)
Restores a backed up certificate to a vault. Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateBundleBackup
- The backup blob associated with a certificate bundle.- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificates
com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificates(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<DeletedCertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedCertificatesAsync
com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesAsync
rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificates
com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificates(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the PagedList<DeletedCertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedCertificatesAsync
com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesAsync
rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.includePending
- Specifies whether to include certificates which are not completely provisioned.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificate
DeletedCertificateBundle getDeletedCertificate(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate. The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Returns:
- the DeletedCertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedCertificateAsync
com.microsoft.rest.ServiceFuture<DeletedCertificateBundle> getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<DeletedCertificateBundle> serviceCallback)
Retrieves information about the specified deleted certificate. The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificateserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificateAsync
rx.Observable<DeletedCertificateBundle> getDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate. The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Returns:
- the observable to the DeletedCertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedCertificateBundle>> getDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Retrieves information about the specified deleted certificate. The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Returns:
- the observable to the DeletedCertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedCertificate
void purgeDeletedCertificate(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate. The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
purgeDeletedCertificateAsync
com.microsoft.rest.ServiceFuture<Void> purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified deleted certificate. The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificateserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedCertificateAsync
rx.Observable<Void> purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate. The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Void>> purgeDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Permanently deletes the specified deleted certificate. The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the certificate- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedCertificate
CertificateBundle recoverDeletedCertificate(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates. The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the deleted certificate- Returns:
- the CertificateBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
recoverDeletedCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Recovers the deleted certificate back to its current version under /certificates. The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the deleted certificateserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedCertificateAsync
rx.Observable<CertificateBundle> recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates. The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the deleted certificate- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedCertificateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<CertificateBundle>> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName)
Recovers the deleted certificate back to its current version under /certificates. The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.certificateName
- The name of the deleted certificate- Returns:
- the observable to the CertificateBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccounts
com.microsoft.azure.PagedList<StorageAccountItem> getStorageAccounts(String vaultBaseUrl)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<StorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getStorageAccountsAsync
com.microsoft.rest.ServiceFuture<List<StorageAccountItem>> getStorageAccountsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsAsync
rx.Observable<com.microsoft.azure.Page<StorageAccountItem>> getStorageAccountsAsync(String vaultBaseUrl)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsWithServiceResponseAsync(String vaultBaseUrl)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccounts
com.microsoft.azure.PagedList<StorageAccountItem> getStorageAccounts(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<StorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getStorageAccountsAsync
com.microsoft.rest.ServiceFuture<List<StorageAccountItem>> getStorageAccountsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsAsync
rx.Observable<com.microsoft.azure.Page<StorageAccountItem>> getStorageAccountsAsync(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccounts
com.microsoft.azure.PagedList<DeletedStorageAccountItem> getDeletedStorageAccounts(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the PagedList<DeletedStorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedStorageAccountsAsync
com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>> getDeletedStorageAccountsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsAsync
rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>> getDeletedStorageAccountsAsync(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsWithServiceResponseAsync(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccounts
com.microsoft.azure.PagedList<DeletedStorageAccountItem> getDeletedStorageAccounts(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedStorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedStorageAccountsAsync
com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>> getDeletedStorageAccountsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsAsync
rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>> getDeletedStorageAccountsAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccount
DeletedStorageBundle getDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account. The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the DeletedStorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedStorageAccountAsync
com.microsoft.rest.ServiceFuture<DeletedStorageBundle> getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<DeletedStorageBundle> serviceCallback)
Gets the specified deleted storage account. The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountAsync
rx.Observable<DeletedStorageBundle> getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account. The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the DeletedStorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedStorageBundle>> getDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Gets the specified deleted storage account. The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the DeletedStorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedStorageAccount
void purgeDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account. The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
purgeDeletedStorageAccountAsync
com.microsoft.rest.ServiceFuture<Void> purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Permanently deletes the specified storage account. The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedStorageAccountAsync
rx.Observable<Void> purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account. The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
purgeDeletedStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Void>> purgeDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Permanently deletes the specified storage account. The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedStorageAccount
StorageBundle recoverDeletedStorageAccount(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account. Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
recoverDeletedStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Recovers the deleted storage account. Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedStorageAccountAsync
rx.Observable<StorageBundle> recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account. Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> recoverDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Recovers the deleted storage account. Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupStorageAccount
BackupStorageResult backupStorageAccount(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account. Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the BackupStorageResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
backupStorageAccountAsync
com.microsoft.rest.ServiceFuture<BackupStorageResult> backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<BackupStorageResult> serviceCallback)
Backs up the specified storage account. Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupStorageAccountAsync
rx.Observable<BackupStorageResult> backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account. Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the BackupStorageResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<BackupStorageResult>> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Backs up the specified storage account. Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the BackupStorageResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreStorageAccount
StorageBundle restoreStorageAccount(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault. Restores a backed up storage account to a vault. This operation requires the storage/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageBundleBackup
- The backup blob associated with a storage account.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
restoreStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Restores a backed up storage account to a vault. Restores a backed up storage account to a vault. This operation requires the storage/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageBundleBackup
- The backup blob associated with a storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreStorageAccountAsync
rx.Observable<StorageBundle> restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault. Restores a backed up storage account to a vault. This operation requires the storage/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageBundleBackup
- The backup blob associated with a storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
restoreStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup)
Restores a backed up storage account to a vault. Restores a backed up storage account to a vault. This operation requires the storage/restore permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageBundleBackup
- The backup blob associated with a storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteStorageAccount
DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the DeletedStorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteStorageAccountAsync
com.microsoft.rest.ServiceFuture<DeletedStorageBundle> deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<DeletedStorageBundle> serviceCallback)
Deletes a storage account. This operation requires the storage/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteStorageAccountAsync
rx.Observable<DeletedStorageBundle> deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the DeletedStorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedStorageBundle>> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the DeletedStorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccount
StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Gets information about a specified storage account. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountAsync
rx.Observable<StorageBundle> getStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account. This operation requires the storage/get permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccount
StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccountAsync
rx.Observable<StorageBundle> setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccount
StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccountAsync
rx.Observable<StorageBundle> setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Creates or updates a new storage account. This operation requires the storage/set permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.resourceId
- Storage account resource id.activeKeyName
- Current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccount
StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccountAsync
rx.Observable<StorageBundle> updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccount
StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.activeKeyName
- The current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateStorageAccountAsync
com.microsoft.rest.ServiceFuture<StorageBundle> updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.activeKeyName
- The current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccountAsync
rx.Observable<StorageBundle> updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.activeKeyName
- The current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateStorageAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.activeKeyName
- The current active storage account key name.autoRegenerateKey
- whether keyvault should manage the storage account for the user.regenerationPeriod
- The key regeneration time duration specified in ISO-8601 format.storageAccountAttributes
- The attributes of the storage account.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
regenerateStorageAccountKey
StorageBundle regenerateStorageAccountKey(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.keyName
- The storage account key name.- Returns:
- the StorageBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
regenerateStorageAccountKeyAsync
com.microsoft.rest.ServiceFuture<StorageBundle> regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, com.microsoft.rest.ServiceCallback<StorageBundle> serviceCallback)
Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.keyName
- The storage account key name.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
regenerateStorageAccountKeyAsync
rx.Observable<StorageBundle> regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.keyName
- The storage account key name.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
regenerateStorageAccountKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<StorageBundle>> regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName)
Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.keyName
- The storage account key name.- Returns:
- the observable to the StorageBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitions
com.microsoft.azure.PagedList<SasDefinitionItem> getSasDefinitions(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the PagedList<SasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSasDefinitionsAsync
com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>> getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsAsync
rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>> getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitions
com.microsoft.azure.PagedList<SasDefinitionItem> getSasDefinitions(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<SasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSasDefinitionsAsync
com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>> getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsAsync
rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>> getSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitions
com.microsoft.azure.PagedList<DeletedSasDefinitionItem> getDeletedSasDefinitions(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the PagedList<DeletedSasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSasDefinitionsAsync
com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>> getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsAsync
rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>> getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitions
com.microsoft.azure.PagedList<DeletedSasDefinitionItem> getDeletedSasDefinitions(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedSasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSasDefinitionsAsync
com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>> getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsAsync
rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>> getDeletedSasDefinitionsAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinition
DeletedSasDefinitionBundle getDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition. The Get Deleted SAS Definition operation returns the specified deleted SAS definition along with its attributes. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the DeletedSasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSasDefinitionAsync
com.microsoft.rest.ServiceFuture<DeletedSasDefinitionBundle> getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<DeletedSasDefinitionBundle> serviceCallback)
Gets the specified deleted sas definition. The Get Deleted SAS Definition operation returns the specified deleted SAS definition along with its attributes. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionAsync
rx.Observable<DeletedSasDefinitionBundle> getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition. The Get Deleted SAS Definition operation returns the specified deleted SAS definition along with its attributes. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the DeletedSasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSasDefinitionBundle>> getDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets the specified deleted sas definition. The Get Deleted SAS Definition operation returns the specified deleted SAS definition along with its attributes. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the DeletedSasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSasDefinition
SasDefinitionBundle recoverDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition. Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
recoverDeletedSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Recovers the deleted SAS definition. Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSasDefinitionAsync
rx.Observable<SasDefinitionBundle> recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition. Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
recoverDeletedSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Recovers the deleted SAS definition. Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSasDefinition
DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the DeletedSasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteSasDefinitionAsync
com.microsoft.rest.ServiceFuture<DeletedSasDefinitionBundle> deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<DeletedSasDefinitionBundle> serviceCallback)
Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSasDefinitionAsync
rx.Observable<DeletedSasDefinitionBundle> deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the DeletedSasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<DeletedSasDefinitionBundle>> deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the DeletedSasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinition
SasDefinitionBundle getSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionAsync
rx.Observable<SasDefinitionBundle> getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinition
SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinitionAsync
rx.Observable<SasDefinitionBundle> setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinition
SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
setSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinitionAsync
rx.Observable<SasDefinitionBundle> setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinition
SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinitionAsync
rx.Observable<SasDefinitionBundle> updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinition
SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the SasDefinitionBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateSasDefinitionAsync
com.microsoft.rest.ServiceFuture<SasDefinitionBundle> updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<SasDefinitionBundle> serviceCallback)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinitionAsync
rx.Observable<SasDefinitionBundle> updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSasDefinitionWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<SasDefinitionBundle>> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map<String,String> tags)
Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.storageAccountName
- The name of the storage account.sasDefinitionName
- The name of the SAS definition.templateUri
- The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.sasType
- The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'validityPeriod
- The validity period of SAS tokens created according to the SAS definition.sasDefinitionAttributes
- The attributes of the SAS definition.tags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the SasDefinitionBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsNext
com.microsoft.azure.PagedList<KeyItem> getKeyVersionsNext(String nextPageLink)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeyVersionsNextAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeyVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<KeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- 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
-
getKeyVersionsNextAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeyVersionsNextAsync(String nextPageLink)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersionsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsNextWithServiceResponseAsync(String nextPageLink)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysNext
com.microsoft.azure.PagedList<KeyItem> getKeysNext(String nextPageLink)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<KeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getKeysNextAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> getKeysNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<KeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- 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
-
getKeysNextAsync
rx.Observable<com.microsoft.azure.Page<KeyItem>> getKeysNextAsync(String nextPageLink)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysNextWithServiceResponseAsync(String nextPageLink)
List keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<KeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysNext
com.microsoft.azure.PagedList<DeletedKeyItem> getDeletedKeysNext(String nextPageLink)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<DeletedKeyItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedKeysNextAsync
com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>> getDeletedKeysNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedKeyItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedKeyItem> serviceCallback)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- 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
-
getDeletedKeysNextAsync
rx.Observable<com.microsoft.azure.Page<DeletedKeyItem>> getDeletedKeysNextAsync(String nextPageLink)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysNextWithServiceResponseAsync(String nextPageLink)
Lists the deleted keys in the specified vault. Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedKeyItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsNext
com.microsoft.azure.PagedList<SecretItem> getSecretsNext(String nextPageLink)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretsNextAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- 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
-
getSecretsNextAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretsNextAsync(String nextPageLink)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsNextWithServiceResponseAsync(String nextPageLink)
List secrets in a specified key vault. The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsNext
com.microsoft.azure.PagedList<SecretItem> getSecretVersionsNext(String nextPageLink)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<SecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSecretVersionsNextAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> getSecretVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- 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
-
getSecretVersionsNextAsync
rx.Observable<com.microsoft.azure.Page<SecretItem>> getSecretVersionsNextAsync(String nextPageLink)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsNextWithServiceResponseAsync(String nextPageLink)
List all versions of the specified secret. The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsNext
com.microsoft.azure.PagedList<DeletedSecretItem> getDeletedSecretsNext(String nextPageLink)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<DeletedSecretItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSecretsNextAsync
com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>> getDeletedSecretsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedSecretItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedSecretItem> serviceCallback)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- 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
-
getDeletedSecretsNextAsync
rx.Observable<com.microsoft.azure.Page<DeletedSecretItem>> getDeletedSecretsNextAsync(String nextPageLink)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted secrets for the specified vault. The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedSecretItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesNext
com.microsoft.azure.PagedList<CertificateItem> getCertificatesNext(String nextPageLink)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificatesNextAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- 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
-
getCertificatesNextAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesNextAsync(String nextPageLink)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesNextWithServiceResponseAsync(String nextPageLink)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersNext
com.microsoft.azure.PagedList<CertificateIssuerItem> getCertificateIssuersNext(String nextPageLink)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CertificateIssuerItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateIssuersNextAsync
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> getCertificateIssuersNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- 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
-
getCertificateIssuersNextAsync
rx.Observable<com.microsoft.azure.Page<CertificateIssuerItem>> getCertificateIssuersNextAsync(String nextPageLink)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersNextWithServiceResponseAsync(String nextPageLink)
List certificate issuers for a specified key vault. The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateIssuerItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsNext
com.microsoft.azure.PagedList<CertificateItem> getCertificateVersionsNext(String nextPageLink)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificateVersionsNextAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificateVersionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- 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
-
getCertificateVersionsNextAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificateVersionsNextAsync(String nextPageLink)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsNextWithServiceResponseAsync(String nextPageLink)
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesNext
com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificatesNext(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<DeletedCertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedCertificatesNextAsync
com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> getDeletedCertificatesNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- 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
-
getDeletedCertificatesNextAsync
rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesNextAsync(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesNextWithServiceResponseAsync(String nextPageLink)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsNext
com.microsoft.azure.PagedList<StorageAccountItem> getStorageAccountsNext(String nextPageLink)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<StorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getStorageAccountsNextAsync
com.microsoft.rest.ServiceFuture<List<StorageAccountItem>> getStorageAccountsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<StorageAccountItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<StorageAccountItem> serviceCallback)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- 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
-
getStorageAccountsNextAsync
rx.Observable<com.microsoft.azure.Page<StorageAccountItem>> getStorageAccountsNextAsync(String nextPageLink)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsNextWithServiceResponseAsync(String nextPageLink)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<StorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsNext
com.microsoft.azure.PagedList<DeletedStorageAccountItem> getDeletedStorageAccountsNext(String nextPageLink)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<DeletedStorageAccountItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedStorageAccountsNextAsync
com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>> getDeletedStorageAccountsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedStorageAccountItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedStorageAccountItem> serviceCallback)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- 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
-
getDeletedStorageAccountsNextAsync
rx.Observable<com.microsoft.azure.Page<DeletedStorageAccountItem>> getDeletedStorageAccountsNextAsync(String nextPageLink)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted storage accounts for the specified vault. The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedStorageAccountItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsNext
com.microsoft.azure.PagedList<SasDefinitionItem> getSasDefinitionsNext(String nextPageLink)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<SasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSasDefinitionsNextAsync
com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>> getSasDefinitionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<SasDefinitionItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<SasDefinitionItem> serviceCallback)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- 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
-
getSasDefinitionsNextAsync
rx.Observable<com.microsoft.azure.Page<SasDefinitionItem>> getSasDefinitionsNextAsync(String nextPageLink)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsNextWithServiceResponseAsync(String nextPageLink)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<SasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsNext
com.microsoft.azure.PagedList<DeletedSasDefinitionItem> getDeletedSasDefinitionsNext(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<DeletedSasDefinitionItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedSasDefinitionsNextAsync
com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>> getDeletedSasDefinitionsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<DeletedSasDefinitionItem>> serviceFuture, com.microsoft.azure.ListOperationCallback<DeletedSasDefinitionItem> serviceCallback)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- 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
-
getDeletedSasDefinitionsNextAsync
rx.Observable<com.microsoft.azure.Page<DeletedSasDefinitionItem>> getDeletedSasDefinitionsNextAsync(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsNextWithServiceResponseAsync(String nextPageLink)
Lists deleted SAS definitions for the specified vault and storage account. The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<DeletedSasDefinitionItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-