Class KeyVaultClientBaseImpl
- java.lang.Object
-
- com.microsoft.rest.ServiceClient
-
- com.microsoft.azure.AzureServiceClient
-
- com.microsoft.azure.keyvault.implementation.KeyVaultClientBaseImpl
-
- All Implemented Interfaces:
KeyVaultClientBase
- Direct Known Subclasses:
KeyVaultClientCustomImpl
public class KeyVaultClientBaseImpl extends com.microsoft.azure.AzureServiceClient implements KeyVaultClientBase
Initializes a new instance of the KeyVaultClientBaseImpl class.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultClientBaseImpl(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
Initializes an instance of KeyVaultClientBase client.KeyVaultClientBaseImpl(com.microsoft.rest.RestClient restClient)
Initializes an instance of KeyVaultClientBase client.
-
Method Summary
All Methods Instance Methods Concrete 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>>>
getCertificateIssuersNextSinglePageAsync(String nextPageLink)
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>>>
getCertificateIssuersSinglePageAsync(String vaultBaseUrl)
List certificate issuers for a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>>
getCertificateIssuersSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getCertificatesNextSinglePageAsync(String nextPageLink)
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>>>
getCertificatesSinglePageAsync(String vaultBaseUrl)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesSinglePageAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
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>>>
getCertificateVersionsNextSinglePageAsync(String nextPageLink)
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>>>
getCertificateVersionsSinglePageAsync(String vaultBaseUrl, String certificateName)
List the versions of a certificate.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificateVersionsSinglePageAsync(String vaultBaseUrl, String certificateName, Integer maxresults)
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>>>
getDeletedCertificatesNextSinglePageAsync(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>>>
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>>>
getDeletedCertificatesSinglePageAsync(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>>>
getDeletedCertificatesSinglePageAsync(String vaultBaseUrl, Integer maxresults, Boolean includePending)
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>>>
getDeletedKeysNextSinglePageAsync(String nextPageLink)
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>>>
getDeletedKeysSinglePageAsync(String vaultBaseUrl)
Lists the deleted keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>>
getDeletedKeysSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getDeletedSasDefinitionsNextSinglePageAsync(String nextPageLink)
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>>>
getDeletedSasDefinitionsSinglePageAsync(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>>>
getDeletedSasDefinitionsSinglePageAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
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>>>
getDeletedSecretsNextSinglePageAsync(String nextPageLink)
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>>>
getDeletedSecretsSinglePageAsync(String vaultBaseUrl)
Lists deleted secrets for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>>
getDeletedSecretsSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getDeletedStorageAccountsNextSinglePageAsync(String nextPageLink)
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>>>
getDeletedStorageAccountsSinglePageAsync(String vaultBaseUrl)
Lists deleted storage accounts for the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>>
getDeletedStorageAccountsSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getKeysNextSinglePageAsync(String nextPageLink)
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>>>
getKeysSinglePageAsync(String vaultBaseUrl)
List keys in the specified vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>>
getKeysSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getKeyVersionsNextSinglePageAsync(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>>>
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>>>
getKeyVersionsSinglePageAsync(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>>>
getKeyVersionsSinglePageAsync(String vaultBaseUrl, String keyName, Integer maxresults)
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>>>
getSasDefinitionsNextSinglePageAsync(String nextPageLink)
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>>>
getSasDefinitionsSinglePageAsync(String vaultBaseUrl, String storageAccountName)
List storage SAS definitions for the given storage account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>>
getSasDefinitionsSinglePageAsync(String vaultBaseUrl, String storageAccountName, Integer maxresults)
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>>>
getSecretsNextSinglePageAsync(String nextPageLink)
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>>>
getSecretsSinglePageAsync(String vaultBaseUrl)
List secrets in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretsSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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>>>
getSecretVersionsNextSinglePageAsync(String nextPageLink)
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>>>
getSecretVersionsSinglePageAsync(String vaultBaseUrl, String secretName)
List all versions of the specified secret.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>>
getSecretVersionsSinglePageAsync(String vaultBaseUrl, String secretName, Integer maxresults)
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>>>
getStorageAccountsNextSinglePageAsync(String nextPageLink)
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>>>
getStorageAccountsSinglePageAsync(String vaultBaseUrl)
List storage accounts managed by the specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>>
getStorageAccountsSinglePageAsync(String vaultBaseUrl, Integer maxresults)
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.protected void
initialize()
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.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.KeyVaultClientBaseImpl
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.KeyVaultClientBaseImpl
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request.KeyVaultClientBaseImpl
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.-
Methods inherited from class com.microsoft.rest.ServiceClient
httpClient, restClient, retrofit, serializerAdapter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.keyvault.KeyVaultClientBase
restClient
-
-
-
-
Constructor Detail
-
KeyVaultClientBaseImpl
public KeyVaultClientBaseImpl(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
Initializes an instance of KeyVaultClientBase client.- Parameters:
credentials
- the management credentials for Azure
-
KeyVaultClientBaseImpl
public KeyVaultClientBaseImpl(com.microsoft.rest.RestClient restClient)
Initializes an instance of KeyVaultClientBase client.- Parameters:
restClient
- the REST client to connect to Azure.
-
-
Method Detail
-
getAzureClient
public com.microsoft.azure.AzureClient getAzureClient()
Gets theAzureClient
used for long running operations.- Specified by:
getAzureClient
in interfaceKeyVaultClientBase
- Returns:
- the azure client;
-
apiVersion
public String apiVersion()
Gets Client API version.- Specified by:
apiVersion
in interfaceKeyVaultClientBase
- Returns:
- the apiVersion value.
-
acceptLanguage
public String acceptLanguage()
Gets Gets or sets the preferred language for the response.- Specified by:
acceptLanguage
in interfaceKeyVaultClientBase
- Returns:
- the acceptLanguage value.
-
withAcceptLanguage
public KeyVaultClientBaseImpl withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.- Specified by:
withAcceptLanguage
in interfaceKeyVaultClientBase
- Parameters:
acceptLanguage
- the acceptLanguage value.- Returns:
- the service client itself
-
longRunningOperationRetryTimeout
public int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.- Specified by:
longRunningOperationRetryTimeout
in interfaceKeyVaultClientBase
- Returns:
- the longRunningOperationRetryTimeout value.
-
withLongRunningOperationRetryTimeout
public KeyVaultClientBaseImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.- Specified by:
withLongRunningOperationRetryTimeout
in interfaceKeyVaultClientBase
- Parameters:
longRunningOperationRetryTimeout
- the longRunningOperationRetryTimeout value.- Returns:
- the service client itself
-
generateClientRequestId
public 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.- Specified by:
generateClientRequestId
in interfaceKeyVaultClientBase
- Returns:
- the generateClientRequestId value.
-
withGenerateClientRequestId
public KeyVaultClientBaseImpl 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.- Specified by:
withGenerateClientRequestId
in interfaceKeyVaultClientBase
- Parameters:
generateClientRequestId
- the generateClientRequestId value.- Returns:
- the service client itself
-
initialize
protected void initialize()
-
userAgent
public String userAgent()
Gets the User-Agent header for the client.- Specified by:
userAgent
in interfaceKeyVaultClientBase
- Overrides:
userAgent
in classcom.microsoft.azure.AzureServiceClient
- Returns:
- the user agent string.
-
createKey
public 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.- Specified by:
createKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeyVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeyVersions
public 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.- Specified by:
getKeyVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeyVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeys
public 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.- Specified by:
getKeys
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeysSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeys
public 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.- Specified by:
getKeys
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeysSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
backupKey
public 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.- Specified by:
backupKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
encrypt
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
encryptAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
encryptAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
encryptWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
decrypt
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
decryptAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
decryptAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
decryptWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
sign
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
signAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
signAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
signWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
verify
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
verifyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
verifyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
verifyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
wrapKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
wrapKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
wrapKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
wrapKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
unwrapKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
unwrapKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
unwrapKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
unwrapKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeys
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedKeysSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeys
public 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.- Specified by:
getDeletedKeys
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedKeysSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKey
public 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.- Specified by:
getDeletedKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecrets
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecrets
public 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.- Specified by:
getSecrets
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersions
public 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.- Specified by:
getSecretVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersions
public 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.- Specified by:
getSecretVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecrets
public 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.- Specified by:
getDeletedSecrets
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSecretsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecrets
public 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.- Specified by:
getDeletedSecrets
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSecretsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecret
public 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.- Specified by:
getDeletedSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreSecret
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreSecretAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreSecretWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificates
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificatesSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificates
public 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.- Specified by:
getCertificates
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificatesSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteCertificate
public 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.- Specified by:
deleteCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateContacts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateContactsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateContacts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateContactsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateContacts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateContactsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateContactsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuers
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateIssuersSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuers
public 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.- Specified by:
getCertificateIssuers
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateIssuersSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
setCertificateIssuer
public 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.- Specified by:
setCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateIssuer
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateIssuerAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateIssuerWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
createCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
importCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersions
public 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.- Specified by:
getCertificateVersions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateVersionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatePolicy
public 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.- Specified by:
getCertificatePolicy
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatePolicyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatePolicyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatePolicyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificatePolicy
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificatePolicyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificatePolicyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificatePolicyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateOperation
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateCertificateOperationWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateOperation
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateOperationWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateOperation
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateOperationAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteCertificateOperationWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
mergeCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificates
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedCertificatesSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificates
public 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.- Specified by:
getDeletedCertificates
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedCertificatesSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificate
public 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.- Specified by:
getDeletedCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedCertificate
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedCertificateAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedCertificateWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public com.microsoft.azure.PagedList<StorageAccountItem> getStorageAccounts(String vaultBaseUrl)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Specified by:
getStorageAccounts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getStorageAccountsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccounts
public 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.- Specified by:
getStorageAccounts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getStorageAccountsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccounts
public 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.- Specified by:
getDeletedStorageAccounts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedStorageAccountsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccounts
public 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.- Specified by:
getDeletedStorageAccounts
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedStorageAccountsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccount
public 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.- Specified by:
getDeletedStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
purgeDeletedStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
backupStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
restoreStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Specified by:
deleteStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public rx.Observable<DeletedStorageBundle> deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Specified by:
deleteStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public rx.Observable<com.microsoft.rest.ServiceResponse<DeletedStorageBundle>> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName)
Deletes a storage account. This operation requires the storage/delete permission.- Specified by:
deleteStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account. This operation requires the storage/get permission.- Specified by:
getStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public rx.Observable<StorageBundle> getStorageAccountAsync(String vaultBaseUrl, String storageAccountName)
Gets information about a specified storage account. This operation requires the storage/get permission.- Specified by:
getStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName)
Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.- Specified by:
updateStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccount
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateStorageAccountWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
regenerateStorageAccountKey
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
regenerateStorageAccountKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
regenerateStorageAccountKeyAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
regenerateStorageAccountKeyWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSasDefinitionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitions
public 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.- Specified by:
getSasDefinitions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSasDefinitionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitions
public 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.- Specified by:
getDeletedSasDefinitions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSasDefinitionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitions
public 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.- Specified by:
getDeletedSasDefinitions
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSasDefinitionsSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinition
public 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.- Specified by:
getDeletedSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
recoverDeletedSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName)
Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.- Specified by:
deleteSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
deleteSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
setSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinition
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
updateSasDefinitionWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeyVersionsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeyVersionsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeyVersionsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getKeysNext
public 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.- Specified by:
getKeysNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getKeysNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getKeysNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<KeyItem>>> getKeysNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedKeysNext
public 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.- Specified by:
getDeletedKeysNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedKeysNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedKeysNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedKeyItem>>> getDeletedKeysNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretsNext
public 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.- Specified by:
getSecretsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSecretVersionsNext
public 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.- Specified by:
getSecretVersionsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSecretVersionsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSecretVersionsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SecretItem>>> getSecretVersionsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSecretsNext
public 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.- Specified by:
getDeletedSecretsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSecretsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSecretsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSecretItem>>> getDeletedSecretsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesNext
public 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.- Specified by:
getCertificatesNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificatesNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificatesNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateIssuersNext
public 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.- Specified by:
getCertificateIssuersNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateIssuersNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateIssuersNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateIssuerItem>>> getCertificateIssuersNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificateVersionsNext
public 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.- Specified by:
getCertificateVersionsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getCertificateVersionsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getCertificateVersionsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificateVersionsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesNext
public 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.- Specified by:
getDeletedCertificatesNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedCertificatesNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedCertificatesNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getStorageAccountsNext
public com.microsoft.azure.PagedList<StorageAccountItem> getStorageAccountsNext(String nextPageLink)
List storage accounts managed by the specified key vault. This operation requires the storage/list permission.- Specified by:
getStorageAccountsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getStorageAccountsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getStorageAccountsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<StorageAccountItem>>> getStorageAccountsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedStorageAccountsNext
public 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.- Specified by:
getDeletedStorageAccountsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedStorageAccountsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedStorageAccountsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedStorageAccountItem>>> getDeletedStorageAccountsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSasDefinitionsNext
public com.microsoft.azure.PagedList<SasDefinitionItem> getSasDefinitionsNext(String nextPageLink)
List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.- Specified by:
getSasDefinitionsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getSasDefinitionsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getSasDefinitionsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<SasDefinitionItem>>> getSasDefinitionsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedSasDefinitionsNext
public 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.- Specified by:
getDeletedSasDefinitionsNext
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsNextAsync
in interfaceKeyVaultClientBase
- 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
public 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.- Specified by:
getDeletedSasDefinitionsNextWithServiceResponseAsync
in interfaceKeyVaultClientBase
- 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
-
getDeletedSasDefinitionsNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedSasDefinitionItem>>> getDeletedSasDefinitionsNextSinglePageAsync(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 wrapped in
ServiceResponse
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-